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

body {
    font-family: 'Onest', 'Inter', sans-serif;
    background-color: #f5ffff;
}

.login-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #f5ffff 0%, #ffffff 40%, #e8f7f7 100%);
    padding: 20px;
}

.bg-overlay {
    display: none;
}

.login-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e3e8ef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.login-logo {
    margin-bottom: 24px;
}

.login-logo img {
    height: 30px;
    width: auto;
}

.login-title {
    color: #20225b;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.login-subtitle {
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 32px 0;
}

.login-form {
    text-align: left;
}

.form-group-login {
    margin-bottom: 20px;
}

.form-group-login label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i.icon-left {
    position: absolute;
    left: 14px;
    color: #64748b;
    font-size: 0.95rem;
}

.input-icon-wrapper i.icon-right {
    position: absolute;
    right: 14px;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 0.9rem;
}

.input-icon-wrapper input {
    width: 100%;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 14px 14px 14px 40px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #334155;
    transition: all 0.2s;
}

.input-icon-wrapper input:focus {
    outline: none;
    border-color: #5c8bd6;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(92, 139, 214, 0.15);
}

.input-icon-wrapper input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.btn-login-submit {
    width: 100%;
    background-color: #00b172;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-login-submit:hover {
    background-color: #009a61;
}

.login-remember {
    margin-top: 24px;
    text-align: center;
}

.remember-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #0f172a;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.remember-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark-square {
    width: 16px;
    height: 16px;
    background-color: #0f172a;
    /* Exact match visual checked state */
    border: 1px solid #0f172a;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s;
}

/* Make it checked by default matching the visual */
.checkmark-square:after {
    content: "";
    position: absolute;
    display: block;
    /* forced block because visual has it checked */
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Optional dynamic toggle */
.remember-label input:not(:checked)~.checkmark-square {
    background-color: #ffffff;
    border-color: #cbd5e1;
}

.remember-label input:not(:checked)~.checkmark-square:after {
    display: none;
}

.forgot-password {
    display: block;
    text-align: center;
    color: #6a95dc;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 24px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 0.8rem;
    color: #64748b;
}

.login-footer a {
    color: #6a95dc;
    font-weight: 700;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}