
    /* Animated logo background */
    body {
        height: 100vh;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: Arial, sans-serif;
        background: #1b3555;
        overflow: hidden;
        color: #fff;
    }

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
         background: url("../assets/images/logo-light.png") no-repeat center center;
        background-size: contain;
        opacity: 0.08;
        animation: zoomPan 30s infinite alternate;
        z-index: -1;
    }

    @keyframes zoomPan {
        0% { transform: scale(1) translate(0,0); }
        50% { transform: scale(1.1) translate(-2%, -2%); }
        100% { transform: scale(1) translate(0,0); }
    }

    /* Login card */
    .login-card {
        background: rgba(30,40,60,0.75);
        backdrop-filter: blur(12px);
        border-radius: 20px;
        padding: 40px 30px;
        max-width: 400px;
        width: 90%;
        box-shadow: 0 15px 50px rgba(0,0,0,0.5);
        color: #fff;
        transform: translateY(0);
        transition: all 0.3s ease-in-out;
        animation: fadeIn 1s ease forwards;
        position: relative;
    }

    .login-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    }

    @keyframes fadeIn {
        0% { opacity: 0; transform: translateY(20px);}
        100% { opacity: 1; transform: translateY(0);}
    }

    .login-card h2 {
        text-align: center;
        margin-bottom: 30px;
        font-weight: bold;
        color: #f0f0f0;
        text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    }

    /* Floating labels */
    .form-floating {
        position: relative;
    }

    .form-control {
        background: rgba(255,255,255,0.2);
        color: #fff;
        border: 1px solid rgba(255,255,255,0.4);
        border-radius: 10px;
        transition: all 0.3s;
        padding-right: 40px; /* space for show/hide button */
    }

    .form-control:focus {
        background: rgba(255,255,255,0.3);
        border: 1px solid #fff;
        box-shadow: 0 0 10px rgba(0,123,255,0.5);
        color: #fff;
    }

    .form-control::placeholder {
        color: rgba(255,255,255,0.7);
    }

   label {
    color: rgba(0, 0, 0, 0.85); /* changed from white to black */
    transition: all 0.3s;
}


    /* Show/hide password toggle */
    .password-toggle {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        cursor: pointer;
        color: rgba(255,255,255,0.7);
        font-size: 1rem;
    }

    .btn-primary {
        width: 100%;
        padding: 12px;
        border-radius: 12px;
        background: linear-gradient(135deg, #005aa7, #007bff);
        border: none;
        font-weight: bold;
        transition: all 0.3s ease;
        opacity: 0.95;
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, #007bff, #005aa7);
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        opacity: 1;
    }

    .form-text, .form-check-label, a {
        color: rgba(255,255,255,0.85);
        transition: color 0.3s;
    }

    a:hover {
        color: #a0c4ff;
        text-decoration: underline;
    }

    @media (max-width: 576px) {
        .login-card {
            padding: 30px 20px;
        }
    }
