:root {
    --primary: #2e37a4;
    --primary-dark: #1e2575;
    --accent: #aa0620;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #f6f1eb 0%, #fefdfb 45%, #eef2ff 100%);
}

.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1f256b 0%, #2e37a4 55%, #3f48c7 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

.login-left::before,
.login-left::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.35;
    filter: blur(0);
}

.login-left::before {
    width: 280px;
    height: 280px;
    top: -60px;
    right: -40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
}

.login-left::after {
    width: 360px;
    height: 360px;
    bottom: -140px;
    left: -120px;
    background: radial-gradient(circle, rgba(170, 6, 32, 0.5) 0%, rgba(170, 6, 32, 0) 70%);
}

.login-left-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 520px;
    animation: riseIn 0.7s ease both;
}

.logo-badge {
    width: 88px;
    height: 88px;
    margin: 0 auto 2rem;
    background: white;
    border-radius: 18px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.logo-badge img {
    display: block;
}

.login-left-content h1 {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.login-left-content p {
    font-size: 1.1rem;
    opacity: 0.92;
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

.features-list {
    text-align: left;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: fadeUp 0.6s ease both;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.18s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.26s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.34s;
}

.feature-item:nth-child(5) {
    animation-delay: 0.42s;
}

.feature-item i {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.75rem;
}

.login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3.5rem 2.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.login-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(46, 55, 164, 0.08), transparent 55%);
    pointer-events: none;
}

.login-form-container {
    width: 100%;
    max-width: 440px;
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    animation: riseIn 0.65s ease both;
}

.login-header {
    margin-bottom: 1.5rem;
}

.login-header h2 {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.65rem;
    transition: all 0.2s ease;
    background: var(--gray-50);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 55, 164, 0.1);
}

.form-control::placeholder {
    color: var(--gray-500);
}

.input-group {
    position: relative;
}

.input-group .form-control {
    padding-left: 3rem;
    border-radius: 0.65rem !important;
}

.input-group-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    z-index: 1;
}

.input-group .toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
}

.input-group .toggle-password:hover {
    color: var(--primary);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: 0.25rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, #3f48c7 100%);
    border: none;
    border-radius: 0.65rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2f36a0 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(46, 55, 164, 0.28);
}

.btn-login:active {
    transform: translateY(0);
}

.signup-link {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.signup-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 0.875rem 1rem;
    border-radius: 0.65rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@keyframes riseIn {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

@media (max-width: 991.98px) {
    .login-left {
        display: none;
    }

    .login-right {
        padding: 2rem;
    }

    /* .login-form-container {
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    } */
}

@media (max-width: 575.98px) {
    .login-right {
        padding: 1.5rem;
    }

    .login-form-container {
        padding: 0px;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }
}
