html, body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
}

.main-content {
    height: 100vh;
}

.row.h-100 {
    height: 100%;
}

.left-bg {
    position: relative;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bg-layer.active {
    opacity: 1;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.4) 55%,
        rgba(255,255,255,0.85) 75%,
        rgba(255,255,255,1) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.login-side {
    background: white;
    z-index: 5;
}

.login-box {
    width: 100%;
    max-width: 360px;
}

.login-logo img {
    height: 52px;
}

.form-label {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
}

.form-control {
    border-radius: 12px;
    background: #f3f4f6;
    border: 1px solid #e0e0e0;
    font-size: 13px;
    padding: 10px 12px;
}

.form-control:focus {
    border-color: #2d2f7f;
    box-shadow: 0 0 0 2px rgba(45,47,127,0.15);
}

.btn-primary {
    background: #292C6D;
    border: none;
    border-radius: 14px;
    padding: 10px;
    font-size: 13px;
}

.btn-primary:hover {
    background: #141856;
}

#splash {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

#splash.hide {
    opacity: 0;
}

#splash img {
    height: 80px;
    animation: logoIn 1.2s ease forwards;
}

@keyframes logoIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
