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

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Animated Background Orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    pointer-events: none;
    animation: floatOrb 14s ease-in-out infinite;
}

.orb-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #3b82f6, #1e40af);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #6366f1, #4338ca);
    bottom: -80px;
    right: -60px;
    animation-delay: -5s;
}

.orb-3 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #0ea5e9, #0369a1);
    bottom: 35%;
    left: 35%;
    animation-delay: -9s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -20px) scale(1.03); }
    66%       { transform: translate(-14px, 14px) scale(0.98); }
}

/* Main Layout */
.login-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(96vw, 1060px);
    min-height: 580px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06);
}

/* Left Panel */
.left-panel {
    background: linear-gradient(150deg, #0d1b3e 0%, #132454 50%, #1a1645 100%);
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -80px;
    right: -80px;
}

.left-panel::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -60px;
    left: -40px;
}

.left-content {
    position: relative;
    z-index: 2;
}

.logo-mark {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #60a5fa, #818cf8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.35);
}

.left-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.left-content h1 span {
    color: #60a5fa;
}

.left-content > p {
    color: #a5b4fc;
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 320px;
    margin-bottom: 40px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #e0e7ff;
    font-size: 0.92rem;
    font-weight: 500;
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #60a5fa;
    flex-shrink: 0;
}

/* Right Panel */
.right-panel {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 44px;
    border-left: 1px solid rgba(255,255,255,0.06);
}

.form-card {
    width: 100%;
    max-width: 380px;
}

.form-header {
    margin-bottom: 36px;
}

.form-header h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.form-header p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap > i:first-child {
    position: absolute;
    left: 16px;
    color: #475569;
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.2s;
}

.input-wrap input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 0.97rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    outline: none;
}

.input-wrap input::placeholder {
    color: #334155;
}

.input-wrap input:focus {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.06);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.input-wrap input:focus + .toggle-password i,
.input-wrap input:focus ~ i:first-child {
    color: #3b82f6;
}

.input-wrap:focus-within > i:first-child {
    color: #3b82f6;
}

.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #475569;
    font-size: 0.9rem;
    padding: 4px;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #94a3b8;
}

/* Login Button */
.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
    margin-top: 4px;
    letter-spacing: 0.2px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    box-shadow: 0 6px 28px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
}

.footer-note {
    margin-top: 24px;
    text-align: center;
    color: #334155;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-note i {
    color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        min-height: unset;
        border-radius: 20px;
    }

    .left-panel {
        padding: 36px 28px;
    }

    .left-content h1 {
        font-size: 1.9rem;
    }

    .feature-list {
        display: none;
    }

    .right-panel {
        padding: 32px 24px;
    }
}
