@font-face {
    font-family: "CustomFont";
    src: url("/fonts/kokila.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body,
html {
    height: 100%;
    margin: 0;
    font-family: "CustomFont", Arial, sans-serif;
}

.bg-image {
    background: url("../../images/img2.webp") no-repeat center center/cover;
    height: 100vh;
    width: 100%;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.login-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.login-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(1px);
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 900px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
        rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    transition: transform 0.3s ease;
}

.login-container:hover {
    transform: scale(1.01);
}

h2 {
    color: #003366;
    font-weight: 600;
    font-size: 3rem;
}

.form-floating .form-control,
.form-floating .form-select {
    padding-left: 2.5rem;
    border-radius: 8px;
}

.form-floating > label {
    left: 2.5rem;
    font-size: 21px;
    color: #003366;
}

.form-select,
.form-control,
.btn {
    font-size: clamp(21px, 2vw, 20px) !important;
}

.form-floating i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    z-index: 3;
    color: #003366;
}

.form-floating .icon-left {
    left: 10px;
}

.form-floating .toggle-password {
    right: 10px;
    cursor: pointer;
}

.btn-primary {
    background-color: #003366;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #002244;
}

.form-text a {
    color: #003366;
    font-weight: 500;
}

.form-text a:hover {
    text-decoration: underline;
}

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

    h2 {
        font-size: 1.5rem;
    }
}
