/* ==========================================================================
   Jatayu Technologies - Official Brand Authentication System
   Theme Colors: Electric Cyan, Tech Azure, Deep Royal Blue, Obsidian Slate
   ========================================================================== */

:root {
    --jatayu-cyan: #00a2ea;
    --jatayu-cyan-bright: #38bdf8;
    --jatayu-blue-mid: #0284c7;
    --jatayu-blue-deep: #0369a1;
    --jatayu-blue-navy: #004b87;
    --jatayu-glow: rgba(0, 162, 234, 0.22);
    --jatayu-glow-strong: rgba(0, 162, 234, 0.4);
    --jatayu-ice-bg: #f8fafc;
    --jatayu-ice-card: #f0f9ff;
    --jatayu-obsidian: #0f172a;
    --jatayu-obsidian-dark: #070d18;
    --jatayu-charcoal: #1e293b;
    --jatayu-slate-text: #475569;
    --jatayu-muted-text: #94a3b8;
    --jatayu-border: #e2e8f0;
}

/* Page Base */
.auth-page-wrap {
    min-height: 100vh;
    background: #f8fafc;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   LEFT FORM PANEL
   -------------------------------------------------------------------------- */
.auth-form-side {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 2rem;
    box-shadow: 12px 0 45px rgba(2, 132, 199, 0.04);
    position: relative;
    z-index: 10;
}

@media (min-width: 992px) {
    .auth-form-side {
        flex: 0 0 480px;
        max-width: 480px;
        padding: 3.5rem 3rem;
    }
}

@media (min-width: 1200px) {
    .auth-form-side {
        flex: 0 0 540px;
        max-width: 540px;
        padding: 4rem 3.75rem;
    }
}

/* Brand Header */
.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.auth-brand-logo {
    max-width: 220px;
    height: auto;
    display: block;
    transition: transform 0.25s ease;
}

.auth-brand-logo:hover {
    transform: scale(1.02);
}

.auth-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.725rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

/* Main Form Center */
.auth-card-body {
    margin: auto 0;
    width: 100%;
    max-width: 420px;
    align-self: center;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--jatayu-charcoal);
    letter-spacing: -0.035em;
    margin-bottom: 0.35rem;
}

.auth-title span {
    color: var(--jatayu-cyan);
}

.auth-subtitle {
    color: var(--jatayu-slate-text);
    font-size: 0.925rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

/* Input Fields & Groups */
.auth-field-wrap {
    margin-bottom: 1.35rem;
}

.auth-input-group {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-input-group .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--jatayu-muted-text);
    font-size: 1.15rem;
    pointer-events: none;
    z-index: 4;
    transition: color 0.2s ease, transform 0.2s ease;
}

.auth-input-group .form-control {
    height: 50px;
    border-radius: 12px !important;
    padding-left: 44px;
    padding-right: 15px;
    border: 1.5px solid var(--jatayu-border);
    font-size: 0.95rem;
    color: var(--jatayu-charcoal);
    background-color: #fbfcfe;
    transition: all 0.2s ease;
}

.auth-input-group.has-toggle .form-control {
    padding-right: 48px;
}

.auth-input-group .form-control:focus {
    background-color: #ffffff;
    border-color: var(--jatayu-cyan);
    box-shadow: 0 0 0 4px var(--jatayu-glow);
    outline: none;
}

.auth-input-group:focus-within .input-icon {
    color: var(--jatayu-cyan);
    transform: translateY(-50%) scale(1.08);
}

.auth-pass-toggle {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--jatayu-muted-text);
    padding: 6px 9px;
    cursor: pointer;
    z-index: 4;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.auth-pass-toggle:hover {
    color: var(--jatayu-charcoal);
    background-color: #f1f5f9;
}

.auth-form-side .form-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--jatayu-charcoal);
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Caps lock detector badge */
.caps-lock-badge {
    display: none;
    align-items: center;
    gap: 4px;
    font-size: 0.725rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 2px 7px;
    border-radius: 4px;
}

/* Custom Checkbox */
.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.auth-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--jatayu-cyan);
    border-radius: 5px;
    cursor: pointer;
    margin: 0;
}

.auth-checkbox span {
    font-size: 0.875rem;
    color: var(--jatayu-slate-text);
    font-weight: 500;
}

/* Primary Button with Jatayu Gradient */
.btn-auth-submit {
    height: 50px;
    background: linear-gradient(135deg, #00a2ea 0%, #0072c6 60%, #005494 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 162, 234, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    width: 100%;
}

.btn-auth-submit:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 60%, #004b87 100%);
    box-shadow: 0 8px 25px rgba(0, 162, 234, 0.45);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-auth-submit:active {
    transform: translateY(1px);
}

.btn-auth-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

/* Error / Alerts */
.auth-alert {
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    margin-bottom: 1.35rem;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    background: #fef2f2;
    color: #991b1b;
}

.auth-alert i {
    font-size: 1.15rem;
    color: #dc2626;
    margin-top: 1px;
}

/* Footer & Trust */
.auth-footer {
    padding-top: 1.75rem;
    font-size: 0.825rem;
    color: var(--jatayu-muted-text);
    text-align: center;
}

.auth-security-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 0.65rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   RIGHT HERO SHOWCASE (JATAYU BRAND TECH BACKDROP)
   -------------------------------------------------------------------------- */
.auth-hero-side {
    flex: 1;
    background: radial-gradient(circle at 20% 20%, rgba(0, 162, 234, 0.35), transparent 45%),
                radial-gradient(circle at 80% 80%, rgba(2, 132, 199, 0.28), transparent 45%),
                linear-gradient(145deg, #070d18 0%, #0d1728 50%, #050a14 100%);
    position: relative;
    overflow: hidden;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
}

@media (min-width: 992px) {
    .auth-hero-side {
        display: flex;
    }
}

/* Futuristic Tech Grid / Network Overlay */
.hero-network-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(0, 162, 234, 0.12) 1px, transparent 1px),
        radial-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
    opacity: 0.6;
    pointer-events: none;
}

.hero-glass-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 162, 234, 0.25);
    border-radius: 28px;
    padding: 3rem 2.75rem;
    max-width: 600px;
    width: 100%;
    color: #ffffff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 162, 234, 0.12);
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 162, 234, 0.15);
    border: 1px solid rgba(0, 162, 234, 0.38);
    border-radius: 999px;
    color: #38bdf8;
    font-size: 0.775rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-title span {
    background: linear-gradient(135deg, #38bdf8 0%, #00a2ea 50%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* Feature grid */
.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 1.75rem;
}

.hero-feature-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-feature-item:hover {
    transform: translateY(-2px);
    background: rgba(0, 162, 234, 0.1);
    border-color: rgba(0, 162, 234, 0.4);
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(0, 162, 234, 0.3) 0%, rgba(2, 132, 199, 0.15) 100%);
    border: 1px solid rgba(0, 162, 234, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-feature-text h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #f8fafc;
}

.hero-feature-text p {
    margin: 0;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.58);
}

/* Mini Live Stats Bar */
.hero-stats-bar {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 162, 234, 0.18);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1.2;
}

.hero-stat-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Floating Ambient Orbs (Electric Blue & Azure) */
.hero-glow-1 {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 162, 234, 0.32) 0%, rgba(0, 162, 234, 0) 70%);
    top: -120px;
    right: -120px;
    pointer-events: none;
    animation: floatGlow 10s ease-in-out infinite alternate;
}

.hero-glow-2 {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, rgba(2, 132, 199, 0) 70%);
    bottom: -80px;
    left: 10%;
    pointer-events: none;
    animation: floatGlow 8s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(20px) scale(1.06); }
}
