@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

body.cerp-login {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #1e293b;
    background: #0b1f3a;
    text-align: left;
    line-height: 1.5;
}

body.cerp-login .cerp-login-wrap {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
}

body.cerp-login .cerp-login-panel {
    width: 42%;
    min-height: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    position: relative;
}

body.cerp-login .cerp-login-hero {
    width: 58%;
    min-height: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 48px;
}

body.cerp-login .cerp-login-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 58, 0.25) 0%, rgba(11, 31, 58, 0.82) 100%);
}

body.cerp-login .cerp-login-hero-inner {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 560px;
}

body.cerp-login .cerp-login-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 10px;
}

body.cerp-login .cerp-login-hero h2 {
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

body.cerp-login .cerp-login-hero p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.86);
}

body.cerp-login .cerp-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    padding: 36px 32px 28px;
    position: relative;
}

body.cerp-login .cerp-login-logo {
    text-align: center;
    margin-bottom: 18px;
}

body.cerp-login .cerp-login-logo img {
    max-height: 72px;
    width: auto;
    max-width: 220px;
}

body.cerp-login .cerp-login-card h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #0b1f3a;
    text-align: center;
    line-height: 1.3;
}

body.cerp-login .cerp-login-sub {
    text-align: center;
    color: #64748b;
    margin: 0 0 22px;
    font-size: 14px;
}

body.cerp-login .cerp-switch {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
}

body.cerp-login .cerp-switch a {
    flex: 1;
    text-align: center;
    padding: 9px 8px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    color: #334155 !important;
    text-decoration: none;
}

body.cerp-login .cerp-switch a:hover,
body.cerp-login .cerp-switch a:focus,
body.cerp-login .cerp-switch a:visited {
    color: #0f172a !important;
    text-decoration: none;
}

body.cerp-login .cerp-switch a.active,
body.cerp-login .cerp-switch a.active:hover,
body.cerp-login .cerp-switch a.active:focus,
body.cerp-login .cerp-switch a.active:visited {
    background: #0b1f3a;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(11, 31, 58, 0.22);
}

body.cerp-login .form-group {
    margin-bottom: 16px;
    text-align: left;
}

body.cerp-login .form-group > label:not(.sr-only) {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

body.cerp-login .cerp-field {
    position: relative;
}

body.cerp-login .cerp-login-card .form-control {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    box-shadow: none;
    padding: 10px 44px 10px 14px;
    font-size: 14px;
    color: #0f172a;
}

body.cerp-login .cerp-login-card .form-control:focus {
    border-color: #2563eb;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.cerp-login .form-control-feedback,
body.cerp-login .toggle-password {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #94a3b8;
    background: transparent;
    border: 0;
    padding: 0;
}

body.cerp-login .toggle-password {
    cursor: pointer;
    z-index: 3;
}

body.cerp-login .cerp-login-card .btn {
    display: block;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.28);
    margin-top: 6px;
}

body.cerp-login .cerp-login-card .btn:hover,
body.cerp-login .cerp-login-card .btn:focus {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
}

body.cerp-login .forgot {
    display: inline-block;
    margin-top: 16px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
}

body.cerp-login .forgot:hover {
    color: #1e40af;
}

body.cerp-login .cerp-login-foot {
    text-align: center;
    margin-top: 8px;
}

body.cerp-login .alert {
    border-radius: 10px;
    font-size: 13px;
    padding: 10px 14px;
}

body.cerp-login .cerp-theme-toggle-login {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    line-height: 36px;
    z-index: 5;
}

body.cerp-login .cerp-notices {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 18px 18px 8px;
    backdrop-filter: blur(8px);
    max-height: 280px;
    overflow: auto;
}

body.cerp-login .cerp-notices h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
}

body.cerp-login .cerp-notices h4 {
    color: #fde68a;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}

body.cerp-login .cerp-notices p,
body.cerp-login .cerp-notices a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

body.cerp-login .logdivider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin: 12px 0;
}

html.cerp-dark body.cerp-login .cerp-login-panel {
    background: #0b1220;
}

html.cerp-dark body.cerp-login .cerp-login-card {
    background: #111827;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

html.cerp-dark body.cerp-login .cerp-login-card h3 {
    color: #f8fafc;
}

html.cerp-dark body.cerp-login .cerp-login-sub {
    color: #94a3b8;
}

html.cerp-dark body.cerp-login .cerp-switch {
    background: #1f2937;
}

html.cerp-dark body.cerp-login .cerp-switch a,
html.cerp-dark body.cerp-login .cerp-switch a:hover,
html.cerp-dark body.cerp-login .cerp-switch a:focus,
html.cerp-dark body.cerp-login .cerp-switch a:visited {
    color: #e2e8f0 !important;
}

html.cerp-dark body.cerp-login .cerp-switch a.active,
html.cerp-dark body.cerp-login .cerp-switch a.active:hover,
html.cerp-dark body.cerp-login .cerp-switch a.active:focus,
html.cerp-dark body.cerp-login .cerp-switch a.active:visited {
    background: #2563eb;
    color: #ffffff !important;
}

html.cerp-dark body.cerp-login .cerp-login-card .form-control {
    background: #0b1220 !important;
    border-color: #334155 !important;
    color: #e5e7eb !important;
}

html.cerp-dark body.cerp-login .cerp-theme-toggle-login {
    background: #1f2937;
    border-color: #334155;
    color: #e5e7eb;
}

body.cerp-login .cerp-login-footer {
    flex-shrink: 0;
    background: #071525;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    padding: 14px 20px;
    font-size: 12px;
    line-height: 1.5;
}

body.cerp-login .cerp-login-footer p {
    margin: 0;
}

body.cerp-login .cerp-login-footer a {
    color: #fbbf24;
    font-weight: 600;
    text-decoration: none;
}

body.cerp-login .cerp-login-footer a:hover {
    color: #fde68a;
}

html.cerp-dark body.cerp-login .cerp-login-footer {
    background: #050b14;
    color: #94a3b8;
}

@media (max-width: 991px) {
    body.cerp-login .cerp-login-panel,
    body.cerp-login .cerp-login-hero {
        width: 100%;
        min-height: auto;
    }
    body.cerp-login .cerp-login-hero {
        min-height: 280px;
        order: -1;
        padding: 32px 24px;
        align-items: flex-end;
    }
    body.cerp-login .cerp-login-hero h2 {
        font-size: 26px;
    }
    body.cerp-login .cerp-login-panel {
        padding: 24px 16px 40px;
    }
}
