

    .login-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px 15px;
        height: auto;
        min-height: calc(100vh - 180px); /* accounts for header + footer height */
        box-sizing: border-box;
    }

    .login-box {
        background: #ffffff;
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        max-width: 420px;
        width: 100%;
    }

    .login-box h2 {
        font-weight: 600;
        margin-bottom: 10px;
        font-size: 28px;
    }

    .login-box p {
        color: #6c757d;
        margin-bottom: 25px;
    }

    .form-control {
        border-radius: 6px;
        padding: 12px;
    }

    .site-btn {
        background-color: #7fad39;
        border: none;
        font-weight: 600;
        border-radius: 6px;
        transition: 0.3s;
    }

    .site-btn:hover {
        background-color: #6e942f;
    }

    .login-footer a {
        text-decoration: none;
        color: #007bff;
        font-weight: 500;
    }

    .login-footer a:hover {
        text-decoration: underline;
        color: #0056b3;
    }

    /* Fix for forgot password link */
    .login-box .form-label a {
        color: #007bff;
        font-weight: 500;
        text-decoration: none;
    }

    .login-box .form-label a:hover {
        color: #0056b3;
        text-decoration: underline;
    }

    /* Eye icon styling */
    .toggle-password {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        cursor: pointer;
        color: #999;
        font-size: 18px;
        z-index: 10;
        line-height: 1;
    }

    .toggle-password:hover {
        color: #555;
    }

    @media (max-width: 768px) {
        .login-wrapper {
            padding: 15px 10px;
            min-height: auto;
        }

        .login-box {
            padding: 30px 20px;
        }
    }