body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background-color:#0a0a0a;
}

.background {
    display: flex;
    background: url('https://www.jbch.org/common/assets/img/bg_login.jpg') center/cover no-repeat;
    width: 100%;
    text-align: center;
    min-height: calc(100dvh + 200px);
}

.login-container {
    display: inline-block;
    width: 100%;
    padding: 60px 30px 30px 30px;
    background-color: rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
    box-shadow: inset 1px 1px 0px rgba(255,255,255,.6),
                inset -1px -1px 0px rgba(255,255,255,.6),
                inset 0 0 5px rgba(0,0,0,.2);
    border-radius: 20px;
}

.login-box {
    text-align: center;
}

.welcome-title {
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.welcome-subtitle {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    padding: 0 10px;
}

.form-control-custom::placeholder {
    font-weight: 500 !important;
}
.form-control-custom {
    background: rgba(0,0,0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: 18px 30px;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    outline: 0 !important;
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.form-control-custom:focus {
    background: rgba(0,0,0, 0.3);
    border: 2px solid #ffcc00;
    color: white !important;
    outline: 0 !important;
}

.form-check-input:checked {
    background-color: #ffcc00;
    border-color: #ffffff33;
}

.form-switch {
    padding-left: 80px;
}

.btn-login {
    background: black;
    border: none;
    border-radius: 50px;
    padding: 18px 30px;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.1s ease;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.2);
}

.btn-login:hover {
    background: black !important;
    transform: translateY(-2px);
    color: #ffcc00 !important;
    box-shadow: 0 6px 0px rgba(255, 255, 255, 0.2);
}
.btn-login:active {
    background: black !important;
    transform: translateY(0);
    color: #ffcc00 !important;
    box-shadow: 0 0px 0px rgba(255, 255, 255, 0.2);
}

.bottom-links {
    color: white;
    font-size: 1.1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.bottom-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.bottom-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.divider {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 15px;
}

.bottom-links > div > div {
    margin-bottom: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    cursor: pointer;

}
.bottom-links > div > div:hover {
    color: #ffcc00;
}

@media (max-width: 576px) {
    .welcome-title {
        font-size: 2.4rem;
    }

    .welcome-subtitle {
        font-size: 0.9rem;
    }
    .welcome-subtitle {
        margin-bottom: 1rem;
    }

    .form-control-custom {
        padding: 10px 20px;
    }

    .form-switch {
        padding-left: 68px !important;
    }

    .btn-login {
        background: black;
        border: none;
        border-radius: 50px;
        padding: 10px 20px;
        color: white;
        font-size: 1.2rem;
        font-weight: 500;
        width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
        transition: all 0.3s ease;
    }

    .btn-login:hover {
        background: black !important;
        transform: translateY(0);
        color: #ffcc00 !important;
        box-shadow: 0 0px 0px rgba(255, 255, 255, 0.2);
    }

    .btn-login:active {
        background: black !important;
        transform: initial !important;
        color: #ffcc00 !important;
        box-shadow: 0 0px 0px rgba(255, 255, 255, 0.2);
    }

}