/* =========================================
   Login Page Redesign Styles
   ========================================= */

:root {
    --login-primary: #0F172A;
    /* Deep Navy - Professional & Trustworthy */
    --login-accent: #F26522;
    /* Original Brand Orange - Used sparingly for action */
    --login-bg-overlay: rgba(15, 23, 42, 0.85);
    --login-text-muted: #64748B;
    --login-input-bg: #F8FAFC;
    --login-input-border: #E2E8F0;
    --login-input-focus: #0F172A;
}

.login-wrapper {
    background-color: #fff;
    overflow-x: hidden;
}

/* Left Side Background */
.login-bg {
    background-image: url('../img/bg/abstract_legal_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--login-bg-overlay);
    /* Subtle gradient overlay */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.login-content {
    z-index: 2;
    max-width: 700px;
    color: #ffffff !important;
    /* Ensure text is white */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Add shadow for readability */
}

.login-content h1 {
    font-size: 3.5rem;
    /* Larger heading */
    font-weight: 800;
    color: #ffffff;
}

.login-content p {
    font-size: 1.25rem;
    /* Larger body text */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Right Side Form */
.login-form-container {
    max-width: 480px;
    width: 100%;
}

.login-logo {
    max-width: 200px;
    height: auto;
}

/* Form Elements */
.form-floating>.form-control {
    border: 1px solid var(--login-input-border);
    background-color: var(--login-input-bg);
    border-radius: 0.5rem;
    height: 3.5rem;
    line-height: 1.25;
}

.form-floating>.form-control:focus {
    border-color: var(--login-input-focus);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
}

.form-floating>label {
    color: var(--login-text-muted);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--login-text-muted);
    z-index: 5;
    font-size: 1.25rem;
}

.password-toggle:hover {
    color: var(--login-primary);
}

.btn-login {
    background-color: #0F172A !important;
    border-color: #0F172A !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #1E293B !important;
    border-color: #1E293B !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2) !important;
}

.btn-login:active {
    transform: translateY(0);
}

/* Typography overrides for login */
.display-4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.fs-7 {
    font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .login-form-container {
        padding: 2rem !important;
    }
}