.admin-login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    font-family: "Times New Roman", Times, serif;
    background:
        linear-gradient(135deg, rgba(18, 36, 70, .92), rgba(18, 88, 122, .78)),
        url("../images/auth-bg.jpg") center center / cover no-repeat;
    color: #172033;
}

.admin-login-frame {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 430px;
    min-height: 620px;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(7, 18, 38, .32);
}

.admin-login-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px;
    background:
        linear-gradient(150deg, rgba(20, 44, 92, .95), rgba(17, 117, 150, .84)),
        url("../images/auth-bg.jpg") center center / cover no-repeat;
    color: #fff;
}

.admin-login-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .28;
    pointer-events: none;
}

.admin-login-brand__content,
.admin-login-brand__footer {
    position: relative;
    z-index: 1;
}

.admin-login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}

.admin-login-logo img {
    max-width: 58px;
    max-height: 58px;
}

.admin-login-brand h1 {
    max-width: 520px;
    margin: 0 0 16px;
    color: #fff;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}

.admin-login-brand p {
    max-width: 480px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.7;
}

.admin-login-brand__footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.admin-login-panel {
    display: flex;
    align-items: center;
    padding: 42px 40px;
    background: #fff;
}

.admin-login-panel__inner {
    width: 100%;
}

.admin-login-kicker {
    margin-bottom: 8px;
    color: #0f7d99;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-login-title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.admin-login-subtitle {
    margin: 0 0 28px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.55;
}

.admin-login-alert {
    margin-bottom: 20px;
    padding: 13px 14px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13px;
    line-height: 1.55;
}

.admin-login-alert .close {
    color: #7f1d1d;
    opacity: .72;
}

.admin-login-field {
    margin-bottom: 16px;
}

.admin-login-field label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 15px;
    font-weight: 700;
}

.admin-login-input {
    position: relative;
}

.admin-login-input .fa {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a94a6;
    font-size: 15px;
}

.admin-login-input input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 43px;
    border: 1px solid #d7dde7;
    border-radius: 8px;
    background: #fbfcfe;
    color: #111827;
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    outline: 0;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.admin-login-input input:focus {
    border-color: #0f7d99;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 125, 153, .14);
}

.admin-login-field.has-error .admin-login-input input {
    border-color: #ef4444;
}

.admin-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 22px;
    font-size: 13px;
}

.admin-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #4b5563;
    font-weight: 600;
}

.admin-login-remember input {
    margin: 0;
}

.admin-login-link {
    color: #0f7d99;
    font-weight: 700;
    text-decoration: none;
}

.admin-login-link:hover,
.admin-login-link:focus {
    color: #0b6076;
    text-decoration: none;
}

.admin-login-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: #172a65;
    color: #fff;
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 12px 26px rgba(23, 42, 101, .24);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.admin-login-submit:hover,
.admin-login-submit:focus {
    background: #0f7d99;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(15, 125, 153, .28);
}

.admin-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-login-divider::before,
.admin-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.admin-login-socials {
    display: grid;
    gap: 9px;
}

.admin-login-social {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 8px;
    font-weight: 700;
    text-align: left;
}

.admin-login-register {
    margin-top: 16px;
}

.admin-login-register .btn {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    font-weight: 700;
    text-align: left;
}

.admin-login-mobile-brand {
    display: none;
    margin-bottom: 24px;
    text-align: center;
}

.admin-login-mobile-brand img {
    max-width: 72px;
    max-height: 72px;
    margin-bottom: 12px;
}

.admin-login-mobile-brand strong {
    display: block;
    color: #111827;
    font-size: 18px;
}

@media (max-width: 900px) {
    .admin-login-frame {
        grid-template-columns: 1fr;
        max-width: 460px;
        min-height: 0;
    }

    .admin-login-brand {
        display: none;
    }

    .admin-login-panel {
        padding: 32px 24px;
    }

    .admin-login-mobile-brand {
        display: block;
    }
}

@media (max-width: 420px) {
    .admin-login-shell {
        padding: 16px;
    }

    .admin-login-panel {
        padding: 26px 18px;
    }

    .admin-login-title {
        font-size: 24px;
    }

    .admin-login-options {
        align-items: flex-start;
        flex-direction: column;
    }
}
