/* Login Page Styles */
body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-family: 'Poppins', sans-serif;
    
}

.background{
    /* image source & repeat */
    background-image: url('/assets/images/pattern.png');
    background-repeat: no-repeat;
    background-attachment: fixed;

    /* size first ... */
        /* keeps the full-bleed look */
background-size: 120% auto;
    /* ... then position (X  Y) */
    background-position: 43% 48%;  /* 45 % = a bit left, 42 % keeps your vertical tweak */

    /* rest of your original declarations */
    position:absolute;
    inset:0;
    z-index:0;
}


.overlay {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-container {
    background: #ffffff;
    width: 400px;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
    position: relative;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container img {
    max-width: 150px;
    margin-bottom: 20px;
    animation: zoomIn 1s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.login-container h1 {
    color: #C5A200;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.login-container .form-control {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.5rem;
    font-size: 1rem;
}

.login-container .btn-primary {
    background-color: #C5A200;
    border-color: #C5A200;
    width: 100%;
    margin-top: 20px;
    padding: 0.7rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.login-container .btn-primary:hover {
    background-color: #C5A200;
    border-color: #0d4a4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.login-container .form-check-input:checked {
    background-color: #C5A200;
    border-color: #C5A200;
}

.error-message {
    color: #d9534f;
    font-size: 0.9rem;
    margin-top: 10px;
}