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

:root {
    --primary: #0f4c81;
    --primary-dark: #0a3559;
    --secondary: #12344d;
    --accent: #d9b36a;
    --bg-soft: #f4f7fa;
    --white: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --border: rgba(255,255,255,0.12);
    --danger: #b42318;
    --danger-bg: #fef3f2;
    --shadow: 0 20px 60px rgba(0,0,0,0.18);
    --input-border: #d0d5dd;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(217,179,106,0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(15,76,129,0.22), transparent 28%),
        linear-gradient(135deg, #0b2135 0%, #12344d 45%, #0f4c81 100%);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.page {
    width: 100%;
    max-width: 1320px;
    min-height: 760px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero {
    position: relative;
    padding: 58px 56px;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        linear-gradient(135deg, #0c2740 0%, #0f4c81 60%, #174f76 100%);
}

.hero::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    right: -140px;
    top: -100px;
    background: radial-gradient(circle, rgba(217,179,106,0.28), transparent 65%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    left: -120px;
    bottom: -140px;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
}

.brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.brand-logo-box {
    width: 190px;
    
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    backdrop-filter: blur(8px);
}

.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text h1 {
    font-size: 31px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: .2px;
}

.brand-text p {
    margin-top: 6px;
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    letter-spacing: .35px;
}

.hero-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    margin-bottom: 24px;
}

.hero h2 {
    position: relative;
    z-index: 2;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    max-width: 620px;
    margin-bottom: 18px;
}

.hero p.desc {
    position: relative;
    z-index: 2;
    max-width: 620px;
    color: rgba(255,255,255,0.86);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 34px;
}

.info-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
    max-width: 700px;
}

.info-card {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
}

.info-card strong {
    display: block;
    font-size: 15px;
    margin-bottom: 8px;
    color: #fff;
}

.info-card span {
    color: rgba(255,255,255,0.80);
    font-size: 14px;
    line-height: 1.6;
}

.login-wrap {
    background: rgba(255,255,255,0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px;
}

.login-card {
    width: 100%;
    max-width: 470px;
}

.login-top {
    margin-bottom: 28px;
    text-align: center;
}

.login-logo-area {
    margin-bottom: 18px;
}

.login-logo {
 
    height: 96px;
    object-fit: contain;
    display: inline-block;
}

.login-top .mini {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(15,76,129,0.08);
    padding: 9px 13px;
    border-radius: 999px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.login-top h3 {
    font-size: 34px;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.login-top p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.alert {
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.alert-error {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: #fecdca;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 9px;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}

.input-wrap {
    position: relative;
}

.form-control {
    width: 100%;
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--input-border);
    padding: 0 18px;
    font-size: 15px;
    color: #101828;
    outline: none;
    background: #fff;
    transition: .25s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15,76,129,0.10);
}

.password-input {
    padding-right: 56px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #667085;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.human-check-box {
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
}

.human-check-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.human-check-desc {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.btn-login {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    box-shadow: 0 16px 30px rgba(15,76,129,0.22);
}

.btn-login:hover {
    transform: translateY(-1px);
}

.secure-note {
    margin-top: 18px;
    text-align: center;
    color: #667085;
    font-size: 13px;
    line-height: 1.7;
}

.copyright {
    margin-top: 22px;
    text-align: center;
    color: #98a2b3;
    font-size: 12px;
}

@media (max-width: 1080px) {
    .page {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero {
        padding: 42px 28px;
    }

    .hero h2 {
        font-size: 34px;
    }

    .login-wrap {
        padding: 30px 20px 36px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 14px;
    }

    .hero {
        padding: 28px 22px;
    }

    .login-top h3 {
        font-size: 28px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .brand {
        margin-bottom: 28px;
        align-items: flex-start;
    }

    .brand-logo-box {
        width: 72px;
        height: 72px;
    }

    .login-logo {
        width: 84px;
        height: 84px;
    }
}