/* Auth Modal Styles */
#auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 400px;
    max-width: 90vw;
    background: rgba(40, 40, 60, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    padding: 2rem;
    color: white;
    animation: none;
    /* Disable inherited animation */
}

#auth-modal.hidden {
    display: none;
}

#auth-title {
    margin: 0 0 1.5rem 0;
    text-align: center;
    font-size: 1.8rem;
    color: white;
}

.auth-modal-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    min-width: 300px;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.auth-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--text-main);
    border-bottom: 2px solid var(--primary-color);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.input-group input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.3);
}

.auth-btn {
    margin-top: 1rem;
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.1s;
}

.auth-btn.primary {
    background: var(--primary-color);
    color: white;
}

.auth-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.auth-btn:active {
    transform: scale(0.98);
}

.auth-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.2em;
}

.auth-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.auth-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
}