body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
  }
  
  .login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .error {
    color: red;
    margin-bottom: 15px;
  }
  
  input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
  }
  
  button:hover {
    background-color: #45a049;
  }
  
  .dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .logout-btn {
    background-color: #f44336;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
  }
  
  .logout-btn:hover {
    background-color: #d32f2f;
  }
  
  .license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .license-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
  }
  
  .download-btn {
    display: inline-block;
    margin-top: 10px;
    background-color: #2196F3;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
  }
  
  .download-btn:hover {
    background-color: #0b7dda;
  }

  /* Füge diese Styles zum bestehenden CSS hinzu */

.back-btn {
    background-color: #2196F3;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
  }
  
  .back-btn:hover {
    background-color: #0b7dda;
  }
  
  .setup-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .steps {
    counter-reset: step-counter;
    padding-left: 0;
  }
  
  .steps > li {
    position: relative;
    list-style: none;
    padding-left: 50px;
    margin-bottom: 30px;
    counter-increment: step-counter;
  }
  
  .steps > li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #4CAF50;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }
  
  .note {
    background-color: #fffde7;
    border-left: 4px solid #ffd600;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 4px 4px 0;
  }
  
  .note h4 {
    margin-top: 0;
  }
  
  .credentials {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
  }
  
  .credentials th, .credentials td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }
  
  .credentials th {
    background-color: #f2f2f2;
  }
  
  .support {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
  }
  .setup-btn {
    background-color: #FF9800;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 10px;
  }
  
  .setup-btn:hover {
    background-color: #F57C00;
  }
  /* Füge diese Styles hinzu */

.api-data {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .data-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .data-card h3 {
    margin-top: 0;
    color: #555;
  }
  
  .status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
  }
  
  .status-badge.active {
    background-color: #4CAF50;
    color: white;
  }
  
  .status-badge.inactive {
    background-color: #f44336;
    color: white;
  }
  
  .connection-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
  }
  
  .connection-info table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .connection-info th, 
  .connection-info td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
  }
  
  .connection-info th {
    width: 30%;
  }
  
  .quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .link-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
  }
  
  .link-card:hover {
    transform: translateY(-5px);
  }
  
  .link-card h3 {
    margin-top: 0;
  }
  .domain-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }
  
  .domain-form input[type="text"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
  }
  
  .domain-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .domain-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .vote-form {
    display: flex;
    gap: 0.5rem;
  }
  
  .vote-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
  }
  
  .vote-btn.up {
    background-color: #4caf50;
    color: white;
  }
  
  .vote-btn.down {
    background-color: #f44336;
    color: white;
  }
  
  .error-msg {
    color: red;
    margin-top: -1rem;
    margin-bottom: 1rem;
  }
  .referral {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
  }
  
  .referral input {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .referral-btn {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .referral-btn:hover {
    background-color: #218838;
  }

  /* Chat Button */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.chat-button:hover {
    background-color: #0056b3;
}

/* Chat Modal */
.chat-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    max-height: 400px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
}

.chat-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-modal .messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.chat-modal .message-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.chat-modal .message-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}

.chat-modal button {
    padding: 8px 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.chat-modal button:hover {
    background-color: #0056b3;
}

/* Bild-Upload Button im Chat Modal */
.chat-modal #image-button {
    background-color: #28a745;
    padding: 8px;
    margin-right: 10px;
    border-radius: 50%;
    font-size: 14px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-modal #image-button:hover {
    background-color: #218838;
}

#message-form {
    display: flex;
    align-items: center;
    padding: 10px;
}