
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
   background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding:20px;
}

.login-container{
    width:100%;
    max-width:420px;
}

.login-box{
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,0.2);
    border-radius:20px;
    padding:35px;
    box-shadow:0 8px 32px rgba(0,0,0,0.3);
    color:white;
}

.logo{
    text-align:center;
    margin-bottom:20px;
}

.logo h1{
    font-size:30px;
    margin-bottom:5px;
}

.logo p{
    font-size:14px;
}

.login-title{
    text-align:center;
    margin-bottom:25px;
}

.input-group{
    margin-bottom:18px;
}
.input-group {
    display: block !important;
}
.input-group label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
}

.input-box{
    position:relative;
}

.input-box input{
    width:100%;
    padding:12px 40px 12px 12px;
    border:none;
    border-radius:10px;
    outline:none;
    font-size:15px;
}

.input-box i{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    color:#555;
}

.toggle-password{
    cursor:pointer;
}

.options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    font-size:14px;
}

.options a{
    color:#fff !important;
    text-decoration:none;
}

.options a:hover{
    text-decoration:underline;
}

.login-btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:#ffc107;
    color:black;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.login-btn:hover{
    transform:scale(1.03);
}

.error{
    color:#ffd6d6;
    font-size:13px;
    margin-top:5px;
}

.divider{
    text-align:center;
    margin:20px 0;
    position:relative;
}

.divider::before,
.divider::after{
    content:"";
    position:absolute;
    top:50%;
    width:40%;
    height:1px;
    background:white;
}

.divider::before{
    left:0;
}

.divider::after{
    right:0;
}

.social-login{
    display:flex;
    gap:10px;
}

.social-btn{
    flex:1;
    padding:10px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:15px;
    font-weight:bold;
}

.google{
    background:white;
}

.facebook{
    background:#1877f2;
    color:white;
}

.signup{
    text-align:center;
    margin-top:20px;
}

.signup a{
    color:#ffc107;
    text-decoration:none;
    font-weight:bold;
}

.signup a:hover{
    text-decoration:underline;
}

@media(max-width:480px){

.login-box{
    padding:25px;
}

.logo h1{
    font-size:24px;
}

}

.modal{
display:none;
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
z-index:9999;
}

.modal-content{
background:white;
width:90%;
max-width:450px;
padding:25px;
border-radius:15px;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
}

.close-btn{
float:right;
font-size:30px;
cursor:pointer;
color:red;
}

.modal-content h2{
text-align:center;
margin-bottom:20px;
}

.modal-content input,
.modal-content select{
width:100%;
padding:12px;
margin-bottom:12px;
border:1px solid #ccc;
border-radius:8px;
}

.modal-content button{
width:100%;
padding:12px;
border:none;
background:#0d6efd;
color:white;
font-size:16px;
border-radius:8px;
cursor:pointer;
}

/* modal_style.css */

/* डायलॉग बॉक्स के पीछे की डार्क स्क्रीन */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* मुख्य डायलॉग बॉक्स बॉक्स */
.modal-content {
    background: #ffffff;
    width: 400px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.close-modal-btn {
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}
.close-modal-btn:hover {
    color: #000;
}

/* फॉर्म इनपुट्स */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.form-group input:focus {
    border-color: #1e3a8a;
    outline: none;
}

/* सबमिट बटन */
.btn-submit-pass {
    width: 100%;
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}
.btn-submit-pass:hover {
    background: #112255;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
