/* ==========================================================================
   iRYNT ERP — Authentication Pages (Enterprise Theme)
   ========================================================================== */

.auth-page {
    min-height: 100vh;
    background: radial-gradient(circle at 15% 20%, rgba(0, 166, 166, 0.08), transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(18, 59, 93, 0.10), transparent 45%),
                linear-gradient(135deg, #071A2F 0%, #0F1F33 50%, #0A1624 100%);
    display: grid;
    place-items: center;
    padding: 2rem 1.5rem;
    font-family: 'Inter', sans-serif;
}

.auth-shell {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: rgba(14, 27, 46, 0.75);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.auth-hero {
    color: #F8FAFC;
    padding: 3.5rem;
    background: radial-gradient(circle at 20% 20%, rgba(0, 166, 166, 0.12), transparent 24rem);
    border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.auth-brand {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 2rem;
}

.auth-brand span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: linear-gradient(135deg, #071A2F 0%, #123B5D 55%, #0D9488 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 166, 166, 0.25);
    border: 1px solid rgba(0, 166, 166, 0.3);
}

.auth-brand strong {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    color: #F8FAFC;
    font-weight: 700;
}

.auth-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #F8FAFC;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.auth-hero p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.auth-hero .status-badge {
    background: rgba(0, 166, 166, 0.12);
    color: #00A6A6;
    border: 1px solid rgba(0, 166, 166, 0.28);
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.auth-card {
    background: rgba(11, 23, 40, 0.94);
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card h2 {
    color: #F8FAFC;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-card .text-muted {
    color: #94A3B8 !important;
}

.auth-card .content-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #071A2F 0%, #123B5D 55%, #0D9488 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 166, 166, 0.25);
    border: 1px solid rgba(0, 166, 166, 0.3);
}

.auth-card .form-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.auth-card .form-control {
    background: #0E1A2D;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 4px;
    color: #F8FAFC;
    padding: 0.55rem 0.85rem;
    min-height: 40px;
    font-family: 'Inter', sans-serif;
}

.auth-card .form-control:focus {
    border-color: #00A6A6;
    box-shadow: 0 0 0 2px rgba(0, 166, 166, 0.25);
    background: #112038;
    color: #F8FAFC;
}

.auth-card .input-group .btn-outline-secondary {
    background: #0E1A2D;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-left: none;
    color: #94A3B8;
    border-radius: 0 4px 4px 0;
}

.auth-card .input-group .btn-outline-secondary:hover {
    color: #00A6A6;
}

.auth-card .btn-primary {
    background: #00A6A6;
    color: #FFFFFF;
    font-weight: 600;
    border: 1px solid #00A6A6;
    min-height: 42px;
    border-radius: 4px;
    font-size: 0.92rem;
    box-shadow: 0 2px 8px rgba(0, 166, 166, 0.25);
    transition: all var(--erp-transition, 0.15s ease);
    font-family: 'Inter', sans-serif;
}

.auth-card .btn-primary:hover {
    background: #008E8E;
    border-color: #008E8E;
    box-shadow: 0 4px 14px rgba(0, 166, 166, 0.35);
    transform: translateY(-1px);
    color: #FFFFFF;
}

.auth-card a {
    color: #00A6A6;
    text-decoration: none;
}

.auth-card a:hover {
    color: #20D5B0;
    text-decoration: underline;
}

.form-note {
    color: #64748B;
    font-size: 0.78rem;
}

/* Summary Cards inside Hero */
#summaryCardsContainer .col-md-4 > div,
.auth-hero .card {
    background: rgba(18, 32, 54, 0.7) !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-radius: 6px !important;
    color: #F8FAFC !important;
    backdrop-filter: blur(8px);
}

#summaryCardsContainer strong,
.auth-hero .card strong {
    color: #F8FAFC !important;
}

#summaryCardsContainer small,
.auth-hero .card small {
    color: #94A3B8 !important;
}
