:root {
    --theme-primary: #111827;
    --page-bg: #f0f2f5;
    --card-bg: #ffffff;
    --border-color: #dee2e6;
}

.login-container {
    min-height: 100vh;
}

.login-card {
    border-radius: 0;
    /* Removed border-radius for fullscreen */
    overflow: hidden;
    border: none;
}

/* Your original form-header style now applies to the left column */
.form-header {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
    padding: 2.5rem;
    text-align: center;
    min-height: 100vh;
    /* Ensure column takes full height */
}

.logo {
    max-width: 150px;
    /* You can adjust this value as needed */
    height: auto;
    margin-bottom: 1rem;
    /* Removed background, padding, and border-radius */
}

.form-header h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Your original form-body style now applies to the right column */
.form-body {
    padding: 2rem 3rem;
    background-color: var(--card-bg);
    min-height: 100vh;
    /* Ensure column takes full height */
}

@media (max-width: 991px) {
    /* Adjusted breakpoint to lg */
    .form-body {
        padding: 2rem 1.5rem;
    }
}

.form-control-lg {
    border-radius: 0.5rem;
    background-color: #f8f9fa;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--theme-primary);
    background-color: var(--card-bg);
}

.btn-primary {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

.btn-primary:hover {
    opacity: 0.9;
    background-color: var(--theme-primary);
    /* Keep color on hover */
    border-color: var(--theme-primary);
}

/* --- Show Password Toggle Styles --- */
.password-wrapper {
    position: relative;
}

.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    /* Muted color */
    font-size: 1.25rem;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(2px);
    display: grid;
    place-items: center;
    z-index: 2000;
}

.loading-overlay[hidden] {
    display: none !important;
}

.loading-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.success-check {
    font-size: 56px;
    color: #16a34a;
    line-height: 1;
}
