html, body {
    height: 100%;
    margin: 0;
}

body.login-page {
    background: linear-gradient(135deg, #0a1e4d 0%, #14275c 50%, #0d1f4a 100%) !important;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

body.login-page::before,
body.login-page::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: 50%;
}
body.login-page::before {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -150px;
}
body.login-page::after {
    width: 650px;
    height: 650px;
    bottom: -200px;
    right: -200px;
}

.login-box {
    width: 380px !important;
    margin: 0 !important;
    z-index: 2;
}

.login-box-body {
    background: rgba(255, 255, 255, 0.98) !important;
    border-radius: 14px !important;
    padding: 40px 35px 25px 35px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.login-box-msg {
    text-align: center;
    margin-bottom: 0 !important;
}

.login-box-msg img {
    max-width: 210px;
    height: auto;
}

.login-title {
    text-align: center;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 20px;
    color: #0d1f4a;
    margin: 15px 0 5px 0;
}

.login-subtitle {
    text-align: center;
    font-size: 12.5px;
    color: #8a94a6;
    margin-bottom: 20px;
}

.login-box-body hr {
    border-top: 1px solid #e8ebf1;
}

.login-box-body .form-control {
    border-radius: 8px !important;
    border: 1px solid #e0e4ec !important;
    height: 44px !important;
    font-size: 14px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-box-body .form-control:focus {
    border-color: #14275c !important;
    box-shadow: 0 0 0 3px rgba(20, 39, 92, 0.12) !important;
}

.login-box-body .form-control-feedback {
    color: #14275c !important;
    top: 2px;
}

.checkbox.icheck label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}

.login-box-body .btn-primary.btn-flat {
    background: #14275c !important;
    border-color: #14275c !important;
    border-radius: 8px !important;
    height: 44px !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: background 0.2s ease;
}

.login-box-body .btn-primary.btn-flat:hover,
.login-box-body .btn-primary.btn-flat:focus {
    background: #0d1f4a !important;
    border-color: #0d1f4a !important;
}

.login-box-body p:last-child {
    font-size: 11px;
    color: #a3aab8;
    margin-top: 10px;
}

.flash-msg {
    text-align: center;
    color: #d9534f;
    font-size: 13px;
    font-weight: 500;
}

.btn-back-page {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.2s ease;
}

.btn-back-page:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff !important;
}

.btn-back-page i {
    margin-right: 6px;
}