/**
 * AerialMedia Authentication Components
 * Nordic Blue Theme - Flat Design
 * NO GRADIENTS - Strictly prohibited
 *
 * This file provides auth-specific aliases for the generic page-card-components.css
 * This allows existing auth pages (login, signup) to continue working unchanged
 * while using the shared component system under the hood.
 */

@import url('./page-card-components.css');

/* =============================================================================
   AUTH-PREFIXED ALIASES - Backward compatibility for existing auth pages
   ============================================================================= */

/* Container alias - uses standard padding for auth pages */
.auth-container {
    background: #0F172A;
    min-height: 100vh;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .auth-container {
        padding-top: 2rem;
    }
}

/* Form card alias */
.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;
    animation: pageCardFadeIn 0.5s ease-out;
}

@media (max-width: 768px) {
    .auth-form-card {
        border-radius: 0.75rem;
    }
}

/* Input aliases */
.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);
}

.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;
}

/* Button aliases */
.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;
}

.auth-btn-primary:active {
    background: #1E3A8A;
}

.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 button aliases */
.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;
    text-decoration: none;
}

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

/* Typography aliases - Fluid typography with clamp() for consistency */
.auth-page-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: clamp(1.75rem, 5vw, 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;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .auth-page-title {
        margin-bottom: 1rem;
    }
}

.auth-card-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1F2937;
    font-weight: 700;
    line-height: 1.2;
}

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

.auth-card-subtitle {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: #6B7280;
    font-weight: 300;
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* Icon badge aliases */
.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 {
    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 box aliases */
.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-item:last-child {
    margin-bottom: 0;
}

.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;
}

/* Tour showcase aliases */
.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;
    text-decoration: none;
    display: block;
}

.auth-tour-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.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 list aliases */
.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 aliases */
.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;
}

/* Testimonial aliases */
.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);
}

/* Alert aliases */
.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;
}

/* Link alias */
.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 aliases */
.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 aliases */
.auth-text-center {
    text-align: center;
}

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

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

/* Animation aliases */
@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);
    }
}

/* =============================================================================
   RESPONSIVE DESIGN - Auth-specific mobile adjustments
   ============================================================================= */

@media (max-width: 768px) {
    .auth-tour-showcase {
        grid-template-columns: 1fr;
    }
}

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

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