
    :root {
        --dole-blue: #1e3a8a;
        --dole-light: #f1f5f9;
        --text-main: #1e293b;
        --text-muted: #64748b;
    }

    /* THE MAIN BACKGROUND CONTAINER */
    .bg-gradient {
        min-height: 100vh;
        /* Verified local path */
        background-image: url('assets/img/background.jpg'); 
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        display: flex; 
        align-items: center; 
        justify-content: center;
        padding: 20px; 
        font-family: 'Inter', sans-serif;
        position: relative;
        overflow: hidden;
    }

    /* THE GRADIENT OVERLAY (Sits above the image) */
    .bg-gradient::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        /* Using DOLE blue with a dark slate for a modern look */
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.85), rgba(15, 23, 42, 0.9));
        z-index: 1;
    }

    .container { 
        width: 100%; 
        max-width: 420px; 
        position: relative; 
        z-index: 2; /* Keeps the login card above the gradient */
    }

    .login-card {
        background: rgba(255, 255, 255, 0.98); /* Near solid white for readability */
        backdrop-filter: blur(10px); 
        padding: 40px; 
        border-radius: 24px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); 
        border: 1px solid rgba(255, 255, 255, 0.3);
        width: 100%;
    }

    .login-header { text-align: center; margin-bottom: 30px; }
    
    .header-logo {
        width: 80px; height: auto; margin-bottom: 15px;
        filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    }

    .dept-label {
        font-size: 10px;
        font-weight: 800;
        color: var(--text-muted);
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-bottom: 5px;
    }

    .dole-logo { 
        font-weight: 900; font-size: 28px; color: var(--dole-blue); 
        letter-spacing: -1px; line-height: 1; margin-bottom: 5px; 
    }

    .form-group { margin-bottom: 18px; }
    .form-group label {
        display: flex; align-items: center; gap: 6px; font-size: 11px;
        font-weight: 700; color: var(--text-main); margin-bottom: 6px;
        text-transform: uppercase; letter-spacing: 0.5px;
    }
    .form-group input {
        width: 100%; padding: 12px 16px; border: 2px solid var(--dole-light);
        border-radius: 12px; font-size: 14px; transition: all 0.2s;
        box-sizing: border-box;
    }
    .form-group input:focus { border-color: var(--dole-blue); outline: none; box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1); }

    .forgot-pass-wrapper { text-align: right; margin-bottom: 20px; }
    .forgot-link {
        font-size: 12px; color: var(--text-muted); text-decoration: none;
        font-weight: 600; transition: color 0.2s;
    }
    .forgot-link:hover { color: var(--dole-blue); text-decoration: underline; }

    .btn-login {
        width: 100%; padding: 14px; background: var(--dole-blue);
        color: white; border: none; border-radius: 12px; font-weight: 700;
        cursor: pointer; transition: all 0.3s ease;
    }

    .btn-login:disabled { background: #cbd5e1; cursor: not-allowed; opacity: 0.7; }
    .btn-login:not(:disabled):hover { transform: translateY(-1px); background: #1e40af; box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.3); }

    .divider { margin: 20px 0; text-align: center; position: relative; }
    .divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #e2e8f0; }
    .divider span { position: relative; background: white; padding: 0 12px; font-size: 11px; font-weight: 800; color: #94a3b8; }

    .btn-js-portal {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        width: 100%; padding: 12px; border: 2px solid var(--dole-blue);
        border-radius: 12px; color: var(--dole-blue); text-decoration: none;
        font-weight: 800; font-size: 12px; transition: 0.2s;
        box-sizing: border-box;
    }
    .btn-js-portal:hover { background: #eff6ff; }

    .login-footer { margin-top: 30px; padding-top: 25px; border-top: 1px solid #f1f5f9; }
    .footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
    .footer-item { flex: 1; display: flex; align-items: center; gap: 10px; }
    .item-icon { width: 32px; height: 32px; background: var(--dole-light); color: var(--dole-blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
    .item-content p { margin: 0; font-size: 10px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
    .item-content a { text-decoration: none; color: var(--dole-blue); font-size: 12px; font-weight: 800; }
    .footer-divider { width: 1px; height: 35px; background: #e2e8f0; }

    /* --- RESPONSIVE --- */
    @media (max-width: 480px) {
        .bg-gradient { padding: 10px; }
        .login-card { padding: 30px 20px; border-radius: 16px; }
        .footer-grid { flex-direction: column; align-items: flex-start; gap: 20px; }
        .footer-divider { display: none; }
        .dole-logo { font-size: 24px; }
    }

    

