/* Design tokens live in assets/css/main.css */

body {
     font-family: var(--font-family);
     background-color: var(--bg-color);
     margin: 0;
     padding: 0;
     min-height: 100vh;
     display: flex;
     align-items: center;
}

@media (min-width: 992px) {
     body {
          overflow: hidden;
          height: 100vh;
     }
}

.login-wrapper {
     width: 100%;
     min-height: 100vh;
     display: flex;
}

/* Left Visual Column - Kept dark to match the premium dark menu/sidebar */
.visual-col {
     flex: 1.2;
     background: linear-gradient(135deg, rgba(9, 13, 22, 0.93) 0%, rgba(17, 24, 39, 0.96) 100%),
          url('assets/images/login_side_banner.png') no-repeat center center;
     background-size: cover;
     position: relative;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     padding: 4rem;
}

.visual-col::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: linear-gradient(180deg, rgba(9, 13, 22, 0.3) 0%, rgba(9, 13, 22, 0.7) 100%);
     z-index: 1;
}

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

.brand-logo {
     display: flex;
     align-items: center;
     gap: 0.75rem;
     font-weight: 700;
     font-size: 1.5rem;
     color: #fff;
     text-transform: uppercase;
     letter-spacing: 1px;
}

.brand-logo i {
     font-size: 1.75rem;
     color: #818cf8;
}

.visual-footer {
     position: relative;
     z-index: 2;
     color: rgba(255, 255, 255, 0.6);
     font-size: 0.875rem;
}

/* Right Form Column - Made light theme to match the main dashboard layout */
.form-col {
     flex: 1;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 3rem;
     background-color: var(--bg-color);
     position: relative;
}

/* Glassmorphic card design for light mode */
.form-container {
     width: 100%;
     max-width: 420px;
     background: var(--card-bg);
     border: 1px solid var(--border-color);
     border-radius: 24px;
     padding: 3rem 2.5rem;
     box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
     animation: slideIn 0.5s ease-out;
     position: relative;
     z-index: 1;
}

.form-header h2 {
     font-weight: 700;
     font-size: 1.75rem;
     color: var(--text-color);
     margin-bottom: 0.5rem;
}

.form-header p {
     color: var(--text-muted);
     font-size: 0.875rem;
     margin-bottom: 2rem;
}

.form-control {
     background-color: #ffffff;
     border: 1px solid #cbd5e1;
     color: var(--text-color);
     border-radius: 12px;
     padding: 0.875rem 1rem;
     transition: all 0.2s ease;
}

.form-control:focus {
     background-color: #ffffff;
     border-color: #6366f1;
     box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
     color: var(--text-color);
}

.btn-login {
     background: var(--primary-gradient);
     border: none;
     padding: 0.875rem;
     font-weight: 600;
     border-radius: 12px;
     color: #fff;
     transition: all 0.2s ease;
     box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.btn-login:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

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

.input-group-text {
     background-color: #f1f5f9;
     border: 1px solid #cbd5e1;
     border-right: none;
     color: var(--text-muted);
     border-top-left-radius: 12px;
     border-bottom-left-radius: 12px;
}

.input-group .form-control {
     border-top-left-radius: 0;
     border-bottom-left-radius: 0;
}

.form-check-input {
     background-color: #ffffff;
     border: 1px solid #cbd5e1;
}

.form-check-input:checked {
     background-color: #6366f1;
     border-color: #6366f1;
}

/* Decorative background glow */
.glow-shape {
     position: absolute;
     width: 300px;
     height: 300px;
     background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
     border-radius: 50%;
     z-index: 0;
}

.glow-1 {
     top: -10%;
     right: -10%;
}

.glow-2 {
     bottom: -10%;
     left: -10%;
}