html,
body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../images/login-bg.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.45), rgba(33, 98, 153, 0.30));
    z-index: -1;
}

.form-sec {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
}

.cy-login-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.cy-login-card .input-group-text {
    background: #216299;
    color: #ffffff;
    border-color: #216299;
    width: 42px;
    justify-content: center;
}

.cy-login-card .form-control:focus {
    border-color: #216299;
    box-shadow: 0 0 0 0.18rem rgba(33, 98, 153, 0.2);
}

.cy-login-logo {
    max-height: 115px;
    width: auto;
    object-fit: contain;
}
