/* Email Sign-In Modal */
.email-auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.email-auth-modal.active {
    display: flex;
}

.email-auth-container {
    background: var(--card-bg, #1a1a1a);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.email-auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.email-auth-header h2 {
    color: var(--text, #fff);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.email-auth-header p {
    color: var(--text-secondary, #999);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

.email-input-group label {
    color: var(--text, #fff);
    font-size: 0.9rem;
    font-weight: 500;
}

.email-input-group input {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text, #fff);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input-group input:focus {
    outline: none;
    border-color: var(--accent, #48d1cc);
    background: rgba(255, 255, 255, 0.08);
}

.email-auth-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.email-auth-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-auth-btn.primary {
    background: var(--accent, #48d1cc);
    color: #000;
}

.email-auth-btn.primary:hover {
    background: var(--accent-hover, #3bc4bf);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 209, 204, 0.3);
}

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

.email-auth-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.email-auth-note {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary, #999);
    font-size: 0.85rem;
    line-height: 1.5;
}

.email-auth-note a {
    color: var(--accent, #48d1cc);
    text-decoration: none;
}

.email-auth-note a:hover {
    text-decoration: underline;
}
