/* Auth Pages Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0c0e14;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 30%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, rgba(124, 58, 237, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    animation: pulse-orb 6s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse-orb {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

.auth-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 44px 40px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-top: 8px;
}

.pilot-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form */
.form-group {
    margin-top: 24px;
}

.form-field {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.code-input {
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.35), 0 0 60px rgba(124, 58, 237, 0.15);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #00d4ff;
    background: transparent;
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
}

.btn-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-link:hover {
    color: #7c3aed;
}

/* Messages */
.message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Alt Action */
.alt-action {
    text-align: center;
}

.alt-action p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* Footer */
.footer {
    margin-top: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 480px) {
    body::before {
        width: 300px;
        height: 300px;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 12px;
        font-size: 0.95rem;
    }
}