/* ================================================
   LOGIN PAGE — login.css
   ================================================ */

.auth-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* --- Left Visual Section --- */
.auth-visual {
    flex: 1.2;
    background: url('../images/login-bg.jpg') center/cover no-repeat; /* Use a transport/trucking photo */
    background-color: var(--ashmi-blue);
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px;
    color: #fff;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.95) 0%, rgba(0, 50, 82, 0.8) 100%);
}

.visual-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.auth-logo-white {
    width: 180px;
    filter: brightness(0) invert(1); /* Forces logo to white if it's an SVG */
}

.visual-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.visual-text h1 span {
    color: var(--ashmi-orange);
}

.visual-text p {
    margin-top: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 450px;
    line-height: 1.6;
}

.visual-footer {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* --- Right Form Section --- */
.auth-form-section {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-box {
    width: 100%;
    max-width: 420px;
}

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

.form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.form-header p {
    color: var(--text-sub);
    margin-top: 8px;
    font-size: 0.95rem;
}

/* --- Inputs --- */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-sub);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

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

.input-wrapper i:not(.fa-eye):not(.fa-eye-slash) {
    position: absolute;
    left: 16px;
    color: var(--text-sub);
    font-size: 1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.2s;
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--ashmi-blue);
    box-shadow: 0 0 0 4px rgba(0, 114, 188, 0.1);
}

.toggle-pass {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-sub);
    cursor: pointer;
    font-size: 1rem;
}

/* --- Form Utils --- */
.form-utils {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    font-size: 0.9rem;
}

.forgot-link {
    color: var(--ashmi-blue);
    text-decoration: none;
    font-weight: 700;
}

.forgot-link:hover { text-decoration: underline; }

/* --- Login Button --- */
.btn-login {
    width: 100%;
    background: var(--ashmi-blue);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 114, 188, 0.2);
}

.btn-login:hover {
    background: #005fa0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 114, 188, 0.3);
}

.form-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-sub);
}

.form-footer a {
    color: var(--ashmi-blue);
    font-weight: 700;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-visual { display: none; }
    .auth-form-section { flex: 1; }
}