*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html, body{
    height:100%;
}

body{
    overflow:hidden;
}

/* BACKGROUND */
.fullbg{
    background-image:url("/BMS/IMAGES/background.png"); 
    background-size:cover;
    background-position:center;
    background-attachment: fixed;

    height:calc(100vh - 110px);
    width:100%;

    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px 30px;
    overflow:hidden;
}

/* NAVBAR */
.topnav{
    background:#3f51b5;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    position:sticky;
    top:0;
    z-index:1000;
}

/* LEFT LOGO AREA */
.logo-area{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo1{
    height:80px;
    width:auto;
}

.logo2{
    height:80px;
    width:135px;
}

.title{
    color:white;
    font-weight:bold;
    font-size:18px;
}

/* SECTION */
.topp{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:50px;
    width:100%;
    max-width:1200px;
    height:100%;
}

/* LOGO LEFT */
.top-logo{
    display:flex;
    align-items:center;
    justify-content:center;
}

.top-logo img{
    width:300px;
    max-width:100%;
    height:auto;
    transform-style: preserve-3d;
}

/* FORM */
.login-form{
    width:620px;
    max-width:100%;
    background: rgba(180,190,230,0.85);
    padding:35px 30px;
    border-radius:30px;
    box-shadow:0 10px 25px rgba(0,0,0,0.25);
    justify-content:center;
}

.login-form h2{
    text-align:center;
    font-size:36px;
    margin-bottom:25px;
    color:#000;
    letter-spacing:2px;
}

/* FORM */
.login-form form{
    display:flex;
    flex-direction:column;
    width:100%;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:18px;
    width:100%;
}

.form-group label{
    font-weight:bold;
    margin-bottom:6px;
    color:#000;
}

.form-group input,
.form-group select{
    width:100%;
    padding:14px;
    border:2px solid black;
    background:#e6e6e6;
    font-size:16px;
    border-radius:8px;
    outline:none;
}

/* BACK BUTTON */
.back-btn{
    display:inline-block;
    padding:8px 16px;
    margin-bottom:15px;
    font-weight:bold;
    color:#e0e4f5;
    font-size:14px;
    text-decoration:none;
    border:2px solid #0b3a67;
    border-radius:8px;
    background-color:#3a4db8;
    transition:all 0.3s ease;
}

.back-btn:hover{
    color:#3a4db8;
    background-color:#e0e4f5;
    border-color:#0b3a67;
}

/* BUTTON */
.login-form button{
    width:220px;
    padding:15px;
    border:none;
    border-radius:35px;
    background:#0b3a67;
    color:white;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
    align-self:center;
}

.login-form button:hover{
    background:#072a4a;
}

.form-links{
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-top:10px;
    margin-bottom:20px;
}

.form-links a{
    text-decoration:none;
    color:#0b3a67;
    font-weight:bold;
    margin:4px 0;
}

.form-links a:hover{
    color:#3a4db8;
}

/* INPUT WRAPPER FOR EYE ICON */
.input-wrapper{
    position:relative;
    display:block;
    width:100%;
}

.input-wrapper input{
    width:100%;
    padding-right:45px !important;
    margin-bottom:0;
}

/* Position the eye icon INSIDE the text box */
.toggle-password{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#666;
    font-size:18px;
    z-index:10;
    transition:color 0.3s ease;
}

.toggle-password:hover{
    color:#0b3a67;
}

/* PASSWORD STRENGTH & RULES */
.strength-container{
    margin-top:8px;
}

.strength-bar{
    width:100%;
    height:6px;
    background:#d3d3d3;
    border-radius:4px;
    overflow:hidden;
}

#strength-fill{
    height:100%;
    width:0%;
    transition:width 0.4s ease-in-out, background-color 0.4s ease;
    border-radius:4px;
}

#strength-text{
    font-size:12px;
    font-weight:bold;
    display:block;
    margin-top:5px;
    color:#444;
}

.password-rules{
    list-style:none;
    padding:0;
    margin:10px 0 0 0;
    font-size:12px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
}

.password-rules li{
    color:#d93025;
    display:flex;
    align-items:center;
    transition:color 0.3s ease;
}

.password-rules li::before{
    content:'✖';
    margin-right:6px;
    font-size:10px;
}

.password-rules li.valid{
    color:#188038;
}

.password-rules li.valid::before{
    content:'✔';
    font-size:12px;
}