.login-page {
    background:
        linear-gradient(135deg, rgba(25, 135, 84, 0.12), rgba(255, 255, 255, 0)),
        #f8f9fa;
}

.login-logo {
    width: 74px;
    height: 74px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(25, 135, 84, 0.15);
}

.login-page .card {
    border-radius: 16px;
}

.login-page .form-control {
    min-height: 48px;
}

/*
|--------------------------------------------------------------------------
| Login page
|--------------------------------------------------------------------------
*/

.login-page {
    min-height: 100vh;
    color: #1d2b23;
    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(25, 135, 84, 0.17),
            transparent 32%
        ),
        radial-gradient(
            circle at 92% 88%,
            rgba(255, 193, 7, 0.12),
            transparent 28%
        ),
        linear-gradient(135deg, #eff9f3 0%, #f8fbf9 48%, #edf5f1 100%);
}

.login-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.login-shell::before,
.login-shell::after {
    position: fixed;
    z-index: 0;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    content: "";
    filter: blur(3px);
    pointer-events: none;
}

.login-shell::before {
    top: -150px;
    left: -110px;
    background: rgba(25, 135, 84, 0.11);
}

.login-shell::after {
    right: -170px;
    bottom: -170px;
    background: rgba(13, 110, 253, 0.07);
}

.login-shell .container {
    position: relative;
    z-index: 1;
}

.login-brand-mark {
    position: relative;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(25, 135, 84, 0.16);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(17, 99, 61, 0.14);
}

.login-logo {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.login-logo-fallback {
    position: absolute;
    z-index: 1;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #ffffff;
    border-radius: 16px;
    background: #198754;
    font-size: 28px;
    font-weight: 800;
}

.login-title {
    color: #123524;
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.login-subtitle {
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
    color: #607067;
    font-size: 0.98rem;
    line-height: 1.55;
}

.login-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 55px rgba(17, 72, 46, 0.14);
}

.login-input {
    min-height: 54px;
    border-color: #d5e3da;
    border-radius: 10px;
    box-shadow: none;
}

.login-input:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.22rem rgba(25, 135, 84, 0.14);
}

.input-group .login-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .btn {
    border-color: #d5e3da;
    font-size: 0.9rem;
    font-weight: 600;
}

.login-submit {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(25, 135, 84, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.login-submit:hover {
    box-shadow: 0 12px 23px rgba(25, 135, 84, 0.28);
    transform: translateY(-1px);
}

.login-feature-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    color: #5d6c63;
    font-size: 0.8rem;
}

.login-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.login-feature-item span {
    display: inline-grid;
    width: 17px;
    height: 17px;
    place-items: center;
    color: #198754;
    border-radius: 50%;
    background: #dff3e7;
    font-size: 0.68rem;
    font-weight: 800;
}

.login-footer {
    color: #718078;
    font-size: 0.8rem;
}

@media (max-width: 575.98px) {
    .login-card {
        border-radius: 16px;
    }

    .login-brand-mark {
        width: 68px;
        height: 68px;
        border-radius: 19px;
    }

    .login-logo {
        width: 52px;
        height: 52px;
    }

    .login-feature-row {
        gap: 8px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-submit {
        transition: none;
    }

    .login-submit:hover {
        transform: none;
    }
}