:root {
    --primary: #e11d48;
    --primary-dark: #be123c;
    --primary-light: #fda4af;
    --accent: #0ea5e9;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius: 20px;
}

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

body.login-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #fef2f2 0%, #f0f9ff 50%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

.bg-shapes {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 12s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #fecdd3;
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #bae6fd;
    bottom: -50px;
    right: -50px;
    animation-delay: -4s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #fde68a;
    top: 40%;
    right: 20%;
    animation-delay: -8s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: #bbf7d0;
    bottom: 20%;
    left: 15%;
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.login-wrapper {
    display: flex;
    max-width: 960px;
    width: 100%;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.login-card {
    flex: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.35);
}

.logo-icon i {
    font-size: 32px;
    color: #fff;
}

.login-header h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.tagline {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.instansi {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.login-form .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    height: 56px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fff;
}

.login-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
}

.login-form .form-floating > label {
    color: var(--text-muted);
    padding-left: 16px;
}

.captcha-box {
    height: 56px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f8fafc;
}

.captcha-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-login {
    height: 54px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), #9f1239);
    color: #fff;
}

.login-footer {
    text-align: center;
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 13px;
}

.login-footer small {
    font-size: 11px;
    opacity: 0.8;
}

.login-side {
    width: 380px;
    background: linear-gradient(160deg, #e11d48 0%, #be123c 50%, #9f1239 100%);
    color: #fff;
    padding: 48px 36px;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-side::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.side-content {
    position: relative;
    z-index: 1;
}

.side-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.side-content p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 28px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 500;
}

.feature-list i {
    color: #fef08a;
    font-size: 16px;
}

.alert {
    border-radius: 12px;
    border: none;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .login-card {
        padding: 36px 28px;
    }
}

@media (max-width: 575px) {
    .login-card {
        padding: 28px 20px;
    }
    .login-header h1 {
        font-size: 24px;
    }
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    .logo-icon i {
        font-size: 26px;
    }
}
