:root {
    --primary: #0d6efd;
    --primary-dark: #084298;
    --primary-soft: #eaf3ff;
    --text-dark: #172033;
    --text-muted: #6c757d;
    --border-color: #e7edf5;
    --card-bg: rgba(255, 255, 255, 0.94);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.15), transparent 32%),
        radial-gradient(circle at bottom right, rgba(0, 188, 212, 0.12), transparent 35%),
        linear-gradient(135deg, #f7fbff 0%, #eef6ff 45%, #ffffff 100%);
    color: var(--text-dark);
}

.loginPage {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 14px;
}

.loginDecor {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.9;
    pointer-events: none;
}

.loginDecorOne {
    width: 280px;
    height: 280px;
    background: rgba(13, 110, 253, 0.12);
    top: -90px;
    left: -80px;
}

.loginDecorTwo {
    width: 340px;
    height: 340px;
    background: rgba(0, 188, 212, 0.11);
    right: -120px;
    bottom: -130px;
}

.loginWrapper {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
}

.loginCard {
    background: var(--card-bg);
    border: 1px solid rgba(231, 237, 245, 0.9);
    border-radius: 28px;
    padding: 34px 32px 26px;
    box-shadow:
        0 30px 80px rgba(13, 110, 253, 0.13),
        0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

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

.loginLogo {
    width: 170px;
    max-width: 80%;
    height: auto;
    margin-bottom: 22px;
}

.loginBrand h1 {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.loginBrand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.loginInputGroup {
    margin-bottom: 14px;
}

.loginInputGroup .form-control {
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    font-size: 14px;
    color: var(--text-dark);
    box-shadow: none;
}

.loginInputGroup .form-control:focus {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.09);
}

.loginInputGroup label {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.loginInputGroup label svg {
    width: 15px;
    height: 15px;
}

.loginOption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 22px;
}

.loginOption .form-check-label {
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

.loginOption .form-check-input {
    border-color: #cbd5e1;
    cursor: pointer;
}

.loginOption .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btnLogin {
    height: 52px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #0aa2c0);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 14px 30px rgba(13, 110, 253, 0.22);
    transition: 0.2s ease;
}

.btnLogin:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(13, 110, 253, 0.28);
}

.btnLogin:active {
    transform: translateY(0);
}

.btnLogin svg {
    width: 18px;
    height: 18px;
}

.loginFooter {
    text-align: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.loginFooter span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.loginFooter small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

/* MOBILE */
@media (max-width: 575.98px) {
    .loginPage {
        align-items: center;
        padding: 18px 12px;
    }

    .loginCard {
        border-radius: 18px;
        padding: 28px 20px 22px;
    }

    .loginLogo {
        width: 145px;
        margin-bottom: 18px;
    }

    .loginBrand {
        margin-bottom: 22px;
    }

    .loginBrand h1 {
        font-size: 23px;
    }

    .loginBrand p {
        font-size: 13px;
        line-height: 1.55;
    }

    .loginInputGroup .form-control {
        height: 54px;
        border-radius: 13px;
        font-size: 13px;
    }

    .btnLogin {
        height: 50px;
        border-radius: 13px;
        font-size: 14px;
    }

    .loginFooter {
        margin-top: 20px;
    }
}