:root {
    --navy-900: #0a1a3c;
    --navy-800: #0f2454;
    --navy-700: #16336f;
    --orange-500: #ff7a1a;
    --orange-600: #f0650a;
    --orange-300: #ffb877;
}

html,
body {
    height: 100%;
}

body.bg-white {
    background: var(--navy-900) !important;
}

.login-bg-wrap {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 122, 26, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(255, 122, 26, 0.14) 0%, transparent 50%),
        linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
    padding: 24px;
}

/* Decorative shapes */
.login-bg-wrap::before,
.login-bg-wrap::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.login-bg-wrap::before {
    width: 480px;
    height: 480px;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.25), transparent 70%);
    top: -180px;
    left: -160px;
    filter: blur(10px);
}

.login-bg-wrap::after {
    width: 360px;
    height: 360px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 70%);
    bottom: -140px;
    right: -120px;
}

.login-deco-shape {
    position: absolute;
    border: 2px solid rgba(255, 122, 26, 0.25);
    border-radius: 24px;
    transform: rotate(18deg);
}

.login-deco-shape.shape-1 {
    width: 140px;
    height: 140px;
    top: 8%;
    right: 10%;
}

.login-deco-shape.shape-2 {
    width: 90px;
    height: 90px;
    bottom: 12%;
    left: 8%;
    border-radius: 18px;
    border-color: rgba(255, 255, 255, 0.12);
    transform: rotate(-12deg);
}

.login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(10, 26, 60, 0.45);
    overflow: hidden;
}

.login-card-body {
    padding: 44px 40px 36px;
}

.login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo img {
    max-height: 56px;
}

.login-heading h2 {
    color: var(--navy-900);
    font-weight: 700;
}

.login-heading p {
    color: #6b7280;
}

.form-label {
    color: var(--navy-900);
    font-weight: 600;
    font-size: 13px;
}

.login-card .form-control {
    border-radius: 10px;
    border: 1.5px solid #e3e7ef;
    padding: 11px 14px;
    background: #f8f9fc;
}

.login-card .form-control:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
    background: #fff;
}

.login-card .input-group-text {
    background: #f8f9fc;
    border: 1.5px solid #e3e7ef;
    border-left: none;
    color: var(--navy-700);
}

.login-card .pass-group {
    position: relative;
}

.login-card .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--navy-700);
    cursor: pointer;
}

.link-orange {
    color: var(--orange-600);
    font-weight: 600;
    text-decoration: none;
}

.link-orange:hover {
    color: var(--orange-500);
    text-decoration: underline;
}

.btn-login {
    background: linear-gradient(90deg, var(--navy-800), var(--navy-700));
    border: 1px solid var(--navy-800) !important;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    position: relative;
}

.btn-login:hover {
    background: linear-gradient(90deg, var(--orange-600), var(--orange-500));
    transform: translateY(-1px);
    border: 1px solid var(--orange-800) !important;
}

.btn-login:disabled {
    opacity: 0.75;
}

.form-check-input:checked {
    background-color: var(--orange-500);
    border-color: var(--orange-500);
}

.login-footer {
    text-align: center;
    padding: 16px 0 4px;
    color: #9aa3b2;
    font-size: 13px;
}

.is-invalid {
    border-color: #e53e3e !important;
}

@media (max-width: 480px) {
    .login-card-body {
        padding: 32px 24px 28px;
    }
}