
.footer {
    position: absolute;        /* fixed so it won't scroll */
    left: 2%;               /* good for desktop */
    bottom: 0;              /* stick to bottom */
    width: 80%;             /* desktop width */
    padding: 8px 0;
    background: transparent;
    color: #05166e;
    z-index: 10;
    font-size: 14px;
    text-align: left;
    border: none;
}

/* 📱 Mobile screens */
@media (max-width: 768px) {
    .footer {
        left: 0;             
        width: 100%;         
        text-align: center;  
        bottom: 0px;           /* fixed at bottom always */
        font-size: 12px;     
    }
}


.footer a {
    color: #e59a3c;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* Background */
.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/LoginBg_Blue.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 0;
}

/* Form & Card */
.form-label {
    font-weight: 600;
    color: #05166e !important;
}

.card.custom-card {
    position: relative;
    border: 1px solid #05166e;
    border-radius: 12px;
    box-shadow: 0 2px 10px #05166e;
    /* overflow: hidden; ensures background stays inside rounded corners */
    color: #05166e;
}

/* Flipped background image */
.card.custom-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-image: url('/static/images/LoginBg_Blue1.png');
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    transform: scaleY(-1); /* flips the image upside down */
    z-index: 0;
}

/* Ensure card content stays above the flipped image */
.card.custom-card > * {
    position: relative;
    z-index: 1;
}


.bg-light-info {
    background-color: transparent !important;
}

.custom-form-style {
    position: relative;
    border: none;
    border-radius: 15px;
    padding: 2rem;
    background-color: #fff;
}

/* Input fields */
input.form-control,
select.form-control {
    background-color: #ffffff2b;
    color: #05166e;
    border: 1px solid #05166e;
    border-radius: 6px;
}

input.form-control::placeholder {
    color: #777;
}

input.form-control[disabled]::placeholder {
    color: #999;
}

/* Select dropdown */
select.form-control option {
    background-color: #ffffff;
    color: #05166e;
}

select.form-control:focus,
input.form-control:focus {
    outline: none;
    border-color: #e59a3c;
    box-shadow: 0 0 5px rgba(226, 173, 30, 0.4);
}

/* Buttons */
.btn-primary, .btn-success {
    border-radius: 6px;
    background-color: #05166e !important;
    border: none;
}
.btn-primary:hover, .btn-success:hover {
    background-color: #80d2f8 !important;
    color: #05166e !important;
}

/* Captcha Box */
#captcha-display {
    font-weight: bold;
    color: #05166e !important;
    background: #f8f9fa !important;
    border: 1px solid #ccc;
}

/* Logo & Fingerprint */
.auth-circle::before {
    content: none !important;
}

.form-fingerprint {
    position: absolute !important;
    top: 168px;
    left: -230px;
    height: 152px;
    z-index: 3;
    opacity: 0.8;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.2));
    transform: rotate(-90deg);
    /* transform-origin: right; */
}


/* Headings */
.textcolor, h4, label, p, .form-label {
    color: #05166e !important;
}