/* User-Container und Titel dunkel */
.user-list-container {
    margin: 16px 0;
    background: #23272a;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
.user-list-title {
    margin-top: 0;
    font-weight: 600;
    color: #f0f0f0;
    font-size: 1.1rem;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
}
/* User-Bereich dunkel */
.user-entry {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: #23272a;
    box-shadow: 0 1px 4px rgba(0,0,0,0.13);
    cursor: pointer;
    transition: background 0.2s;
    gap: 12px;
    border: 1px solid #23272a;
    margin-bottom: 8px;
}
.user-entry:hover {
    background: #2c2f34;
}
.user-entry-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007aff;
    background: #181c1f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.user-entry-email {
    font-weight: 500;
    color: #f0f0f0;
}
.user-entry-status {
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
}
.chat-group-select {
    background: #222;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    margin-left: 16px;
    padding: 8px 12px;
    outline: none;
    transition: border-color 0.2s;
}
.chat-group-select:focus {
    border-color: #007aff;
}
.file-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #aaa;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}
.file-btn:hover {
    background: #2c2c2c;
    color: #007aff;
}
.chat-file-input {
    display: none;
}
.chat-message-file {
    display: block;
    margin-top: 6px;
    font-size: 0.95rem;
    color: #4cd964;
    word-break: break-all;
}
.apple-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #232323;
    border-radius: 16px 16px 0 0;
    padding: 16px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 0;
}
.chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007aff;
    background: #333;
}
.chat-username {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin-left: 16px;
    flex: 1;
}
.chat-logout {
    background: none;
    border: none;
    color: #ff3b30;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}
.chat-logout:hover {
    background: #2c2c2c;
}
.apple-chat-main {
    background: #232323;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 24px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 16px;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 16px;
    max-height: 260px;
}
.chat-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}
.chat-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    background: #333;
}
.chat-message-content {
    background: #282828;
    color: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 1rem;
    max-width: 70%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
}
.emoji-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffd700;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}
.emoji-btn:hover {
    background: #2c2c2c;
}
#chatInput {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}
#chatInput:focus {
    border-color: #007aff;
}
.send-btn {
    background: linear-gradient(90deg, #007aff 0%, #00c6ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,122,255,0.12);
    transition: background 0.2s;
}
.send-btn:hover {
    background: linear-gradient(90deg, #0051a8 0%, #007aff 100%);
}
.emoji-picker {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #232323;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 10;
    max-width: 320px;
}
.emoji-picker span {
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
}
.emoji-picker span:hover {
    background: #2c2c2c;
}
/* Style.css - Stile für die Webseite */
body {
    background: #181818;
    color: #f0f0f0;
    font-family: 'SF Pro Display', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.apple-chat-auth-container {
    max-width: 400px;
    margin: 60px auto 0 auto;
    background: rgba(34,34,34,0.95);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apple-chat-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}
.apple-chat-logo h2 {
    font-weight: 600;
    font-size: 2rem;
    margin: 8px 0 0 0;
    color: #fff;
    letter-spacing: 1px;
}

.auth-tabs {
    display: flex;
    width: 100%;
    margin-bottom: 24px;
}
.auth-tabs button {
    flex: 1;
    padding: 12px 0;
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
}
.auth-tabs button.active {
    color: #fff;
    border-bottom: 2px solid #007aff;
}

.auth-form {
    width: 100%;
}
.auth-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.auth-form label {
    font-size: 1rem;
    color: #bbb;
    margin-bottom: 4px;
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="file"] {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-size: 1rem;
    outline: none;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.auth-form input:focus {
    border-color: #007aff;
}
.auth-form button[type="submit"] {
    background: linear-gradient(90deg, #007aff 0%, #00c6ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,122,255,0.12);
    margin-top: 8px;
    transition: background 0.2s;
}
.auth-form button[type="submit"]:hover {
    background: linear-gradient(90deg, #0051a8 0%, #007aff 100%);
}
.auth-message {
    min-height: 24px;
    font-size: 0.95rem;
    color: #ff3b30;
    margin-top: 4px;
    text-align: center;
}