/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    min-height: 100vh;
    background: #fff;
    display: flex;
    align-items: stretch;
}

/* ─── WRAPPER ─── */
.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* ══════════════════════════
   LEFT PANEL
══════════════════════════ */

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

html,
body{
    width:100%;
    height:100%;
    overflow:hidden;
    font-family:'Segoe UI', sans-serif !important;
    background:#ffffff !important;
}

.wrapper,
.content-wrapper,
.right-side,
.main-footer,
.content,
.container,
.container-fluid{
    margin:0 !important;
    padding:0 !important;
    background:#ffffff !important;
}

.login-page{
    background:#ffffff !important;
}

.login-container{
    position:fixed;
    inset:0;
    display:flex;
    width:100%;
    height:100vh;
    background:#ffffff;
}

/* LEFT SIDE - BLUE THEME */
.left-panel{
    width:50%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:80px;
}

.left-panel::before{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    top:-200px;
    left:-200px;
}

.left-panel::after{
    content:'';
    position:absolute;
    width:450px;
    height:450px;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    bottom:-180px;
    right:-180px;
}

.left-content{
    position:relative;
    z-index:2;
    max-width:500px;
    color:white;
}

.left-content h1{
    font-size:70px;
    font-weight:700;
    margin-bottom:25px;
}

.left-content p{
    font-size:20px;
    line-height:1.8;
    font-weight:500;
}

@keyframes shimmer {
    0%   { transform: translate(-20%,-20%) rotate(0deg); }
    100% { transform: translate(-20%,-20%) rotate(360deg); }
}

.left-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

/* stat cards - BLUE THEME */
.stat-row {
    display: flex; gap: 12px;
    justify-content: center; flex-wrap: wrap;
}
.stat-card {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 14px;
    padding: 14px 20px; min-width: 100px;
    text-align: center;
}
.stat-card strong { display: block; font-size: 1.3rem; font-weight: 700; }
.stat-card span   { font-size: 11px; opacity: .75; }

/* demo panel - BLUE THEME */
.demo-badge {
    display: inline-block;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    font-size: 11px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: #fff; padding: 4px 14px; margin-bottom: 14px;
}
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px,1fr));
    gap: 8px; margin-top: 4px;
}
.demo-btn {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 12px;
    padding: 10px 6px;
    color: #fff !important; text-decoration: none;
    font-size: 11px; font-weight: 500;
    transition: background .2s, transform .2s;
    cursor: pointer;
}
.demo-btn:hover {
    background: rgba(255,255,255,.28);
    transform: translateY(-2px);
    color: #fff !important;
    text-decoration: none;
}
.demo-btn i { font-size: 18px; }
.demo-divider {
    border: none; border-top: 1px solid rgba(255,255,255,.2);
    margin: 14px 0;
}
.demo-section-label {
    display: block; font-size: 10px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    opacity: .7; margin-bottom: 8px;
}

/* ══════════════════════════
   RIGHT PANEL
══════════════════════════ */
.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px;
    background: #fff;
    overflow-y: auto;
}

/* eyebrow - BLUE THEME */
.eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    color: #2a5298;
    background: rgba(42, 82, 152, 0.10);
    border: 1px solid rgba(42, 82, 152, 0.18);
    border-radius: 50px;
    padding: 4px 12px; margin-bottom: 14px;
}

.right-panel h2 {
    font-size: 1.95rem; font-weight: 700;
    color: #1e1e1e; line-height: 1.2; margin-bottom: 8px;
}
.right-panel h2 span { color: #2a5298; }

.subtitle {
    color: #6b7280; font-size: .95rem;
    line-height: 1.6; margin-bottom: 30px;
}

/* fields */
.field-group { margin-bottom: 18px; }

.field-label {
    display: flex; justify-content: space-between; align-items: center;
    font-size: .82rem; font-weight: 600;
    color: #1e1e1e; margin-bottom: 7px;
}
.field-label a {
    font-size: .78rem; font-weight: 500;
    color: #2a5298; text-decoration: none;
}
.field-label a:hover { text-decoration: underline; }

.input-wrap { position: relative; }

.input-icon {
    position: absolute; left: 13px; top: 50%;
    transform: translateY(-50%);
    color: #b0b0c8; pointer-events: none;
    display: flex; transition: color .2s;
}
.input-wrap:focus-within .input-icon { color: #2a5298; }

.form-control {
    width: 100%;
    border: 1.5px solid #e8e8f0;
    border-radius: 10px;
    height: 52px;
    padding: 0 44px 0 42px;
    font-size: .95rem; font-weight: 500;
    color: #1e1e1e; background: #fafafa;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control::placeholder { color: #b0b0c8; font-weight: 400; }
.form-control:focus {
    border-color: #2a5298;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(42, 82, 152, 0.10);
}
.form-control.is-error { border-color: #fca5a5; }

.pwd-toggle {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: #b0b0c8; display: flex; padding: 0;
    transition: color .2s;
}
.pwd-toggle:hover { color: #2a5298; }

.field-error { font-size: .78rem; color: #c0392b; margin-top: 5px; }

/* alert */
.alert-danger {
    background: #fff1f0; border: 1px solid #ffd6d0;
    color: #c0392b; border-radius: 10px;
    padding: 10px 14px; font-size: .83rem;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 16px;
}

/* remember */
.remember-row {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 22px;
}
.form-check { display: flex; align-items: center; gap: 8px; margin: 0; }
.form-check-input {
    width: 18px; height: 18px;
    border: 1.5px solid #e8e8f0; border-radius: 5px;
    cursor: pointer; accent-color: #2a5298;
}
.form-check-input:checked {
    background-color: #2a5298;
    border-color: #2a5298;
}
.form-check-label { font-size: .87rem; color: #6b7280; cursor: pointer; }

/* Button Group - BLUE THEME */
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-submit {
    flex: 2;
    height: 52px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}

.btn-register {
    flex: 1;
    height: 52px;
    background: transparent;
    border: 2px solid #2a5298;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #2a5298;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-register:hover {
    background: #2a5298;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(42, 82, 152, 0.20);
    text-decoration: none;
}

.btn-submit::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
    opacity: 0; transition: opacity .2s;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(42, 82, 152, 0.30);
}
.btn-submit:hover::before { opacity: 1; }
.btn-submit:active { transform: translateY(0); box-shadow: none; }

/* divider */
.divider {
    display: flex; align-items: center; gap: 10px;
    margin: 22px 0 16px;
}
.divider::before, .divider::after {
    content: ''; flex: 1; height: 1px; background: #e8e8f0;
}
.divider span { font-size: .75rem; color: #6b7280; }

/* trust - BLUE THEME */
.trust-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 5px; font-size: .76rem; color: #6b7280; }
.trust-item i { color: #2a5298; }

/* responsive */
@media (max-width: 768px) {
    .login-container { flex-direction: column; }
    .left-panel { min-height: 240px; padding: 32px 20px; }
    .left-content > p { display: none; }
    .right-panel { padding: 32px 24px; }
    .button-group { flex-direction: column; }
    .btn-submit, .btn-register { width: 100%; }
}