/**
 * AerialMedia Authentication Components
 * Nordic Blue Theme - Flat Design
 * NO GRADIENTS - Strictly prohibited
 */

/* =============================================================================
   AUTH CONTAINER - Full-height auth pages
   ============================================================================= */

.auth-container {
    background: #0F172A;
    min-height: 100vh;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

/* =============================================================================
   FORM CARDS - White content cards
   ============================================================================= */

.auth-form-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08),
                0 8px 10px -6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* =============================================================================
   INPUT GROUPS & FORM INPUTS
   ============================================================================= */

.auth-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.auth-form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9fafb;
}

.auth-form-input:focus {
    outline: none;
    border-color: #2563EB;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1),
                0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: scale(1.02);
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 20px;
    height: 20px;
}

.auth-form-input:focus + .auth-input-icon {
    color: #2563EB;
}

/* =============================================================================
   BUTTONS - Primary auth buttons
   ============================================================================= */

.auth-btn-primary {
    background: #2563EB;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-family: 'Space Grotesk', 'DM Sans', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.auth-btn-primary:hover {
    background: #1E40AF;
    transform: translateY(-2px);
}

.auth-btn-primary:active {
    transform: translateY(0);
}

.auth-btn-secondary {
    background: transparent;
    color: #2563EB;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-family: 'Space Grotesk', 'DM Sans', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid #2563EB;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.auth-btn-secondary:hover {
    background: #E0F2FE;
    border-color: #1E40AF;
    color: #1E40AF;
}

/* =============================================================================
   SOCIAL BUTTONS
   ============================================================================= */

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.auth-divider span {
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-family: 'Inter', -apple-system, sans-serif;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    color: #374151;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-social-btn:hover {
    border-color: #2563EB;
    background: #F9FAFB;
    transform: translateY(-2px);
}

/* =============================================================================
   TYPOGRAPHY - Auth page headings
   ============================================================================= */

.auth-page-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 3.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

@media (min-width: 768px) {
    .auth-page-title {
        font-size: 4rem;
    }
}

.auth-card-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 2rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1F2937;
    font-weight: 700;
}

.auth-page-subtitle {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 300;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.auth-card-subtitle {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #6B7280;
    font-weight: 300;
    margin-top: 0.5rem;
}

/* =============================================================================
   ICON BADGES - Decorative icons in cards
   ============================================================================= */

.auth-icon-badge {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-icon-badge:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(37, 99, 235, 0.2);
}

.auth-icon-badge-success {
    width: 100px;
    height: 100px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

/* =============================================================================
   INFO BOXES - Tips, warnings, messages
   ============================================================================= */

.auth-tips-box {
    background: rgba(37, 99, 235, 0.05);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.auth-security-tips {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.875rem;
}

.auth-tip-icon {
    width: 20px;
    height: 20px;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =============================================================================
   SHOWCASE CARDS - Tour cards for login/signup pages
   ============================================================================= */

.auth-tour-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.auth-tour-card-mini {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.auth-tour-card-mini:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.auth-tour-card-mini img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.auth-tour-card-mini .content {
    padding: 0.75rem;
    color: white;
}

.auth-tour-card-mini .title {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.auth-tour-card-mini .location {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 300;
}

/* =============================================================================
   FEATURE LISTS - Benefits and features
   ============================================================================= */

.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.auth-feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 300;
}

.auth-check-icon {
    width: 24px;
    height: 24px;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =============================================================================
   BENEFITS SECTION - Checkmark lists
   ============================================================================= */

.auth-benefits {
    margin-top: 2rem;
}

.auth-benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.auth-benefit-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #93C5FD;
    flex-shrink: 0;
}

.auth-benefit-item span {
    font-family: 'Inter', -apple-system, sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* =============================================================================
   TESTIMONIALS
   ============================================================================= */

.auth-testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =============================================================================
   ALERTS & MESSAGES
   ============================================================================= */

.auth-alert-error {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-family: 'Inter', -apple-system, sans-serif;
}

.auth-alert-success {
    background: #D1FAE5;
    border: 1px solid #6EE7B7;
    color: #065F46;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-family: 'Inter', -apple-system, sans-serif;
}

.auth-alert-info {
    background: #E0F2FE;
    border: 1px solid #93C5FD;
    color: #1E40AF;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* =============================================================================
   LINKS & INTERACTIVE ELEMENTS
   ============================================================================= */

.auth-link {
    color: #2563EB;
    font-family: 'Space Grotesk', 'DM Sans', -apple-system, sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.auth-link:hover {
    color: #1E40AF;
    text-decoration: underline;
}

/* =============================================================================
   EMAIL ANIMATION - For success pages
   ============================================================================= */

.auth-email-animation {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-email-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.auth-email-icon {
    width: 80px;
    height: 80px;
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

.auth-text-center {
    text-align: center;
}

.auth-mb-6 {
    margin-bottom: 1.5rem;
}

.auth-mt-6 {
    margin-top: 1.5rem;
}

/* =============================================================================
   ANIMATIONS - Subtle, professional animations
   ============================================================================= */

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

@keyframes authFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Apply fade-in animation to auth cards */
.auth-form-card {
    animation: authFadeIn 0.5s ease-out;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 768px) {
    .auth-page-title {
        font-size: 2.5rem;
    }

    .auth-card-title {
        font-size: 1.5rem;
    }

    .auth-tour-showcase {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   NORDIC BLUE COLOR PALETTE REFERENCE
   ============================================================================= */

/*
Primary: #2563EB
Secondary: #93C5FD
Dark: #1E40AF
Sky: #E0F2FE
Background: #0F172A
*/
