/**
 * login.php — page-specific layout only.
 *
 * The universal reset, shared .form-group/input styling, and the shared
 * .alert component now live in style.css so every page gets them
 * consistently. This file only holds what's actually unique to the login
 * page's split-screen "brand narrative + sign-in card" layout.
 */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
    min-height: 100vh;
    display: flex;
    background: #f0f2f5;
}
.split {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* LEFT PANEL — brand narrative */
.left {
    flex: 1.1;
    background: linear-gradient(145deg, var(--zcas-navy) 0%, var(--zcas-navy-dark) 55%, var(--zcas-gold) 130%);
    color: white;
    padding: 60px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.left::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(228, 160, 36, .08);
    top: -140px;
    right: -140px;
}
.left::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    bottom: -100px;
    left: -80px;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-bottom: 45px;
    position: relative;
    z-index: 1;
}
.brand img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .35));
}
.brand h2 {
    font-size: 22px;
    line-height: 1.2;
}
.brand span {
    color: var(--zcas-gold);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.left h1 {
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.left h1 em {
    color: var(--zcas-gold);
    font-style: normal;
}

.definition {
    background: rgba(255, 255, 255, .09);
    border-left: 4px solid var(--zcas-gold);
    padding: 20px 22px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}
.definition p {
    font-size: 15px;
    line-height: 1.75;
    opacity: .95;
    font-style: italic;
}
.definition small {
    display: block;
    margin-top: 10px;
    color: var(--zcas-gold);
    font-style: normal;
    font-weight: 600;
}

.features {
    list-style: none;
    position: relative;
    z-index: 1;
}
.features li {
    padding: 9px 0;
    font-size: 14.5px;
    opacity: .92;
    display: flex;
    gap: 12px;
    align-items: center;
}
.features .dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--zcas-gold);
    color: var(--zcas-navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}

/* RIGHT PANEL — sign-in card */
.right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.card {
    width: 100%;
    max-width: 430px;
}
.card h2 {
    color: var(--zcas-navy);
    font-size: 26px;
    margin-bottom: 6px;
}
.card .sub {
    color: #777;
    margin-bottom: 26px;
    font-size: 14.5px;
}

.type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 22px;
}
.type-btn {
    padding: 11px 6px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    color: #555;
    transition: .25s;
}
.type-btn.active {
    border-color: var(--zcas-navy);
    background: var(--zcas-navy);
    color: white;
    box-shadow: 0 6px 14px rgba(46, 22, 78, .25);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--zcas-navy), var(--zcas-gold));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
    margin-top: 6px;
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(46, 22, 78, .35);
}

@media (max-width: 900px) {
    .split { flex-direction: column; }
    .left { padding: 40px 30px; min-height: auto; }
    .left h1 { font-size: 26px; }
    .features { display: none; }
}
