
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#4f46e5,#06b6d4);
    padding:20px;
}

.container{
width:100%;
max-width:420px;
background:white;
padding:30px;
border-radius:12px;
box-shadow:0 15px 40px rgba(0,0,0,0.2);
}

.logo{
text-align:center;
font-size:26px;
font-weight:bold;
margin-bottom:10px;
color:#01184b;
}

.logo img{
    width:180px;
    max-width:60%;
    height:auto;
}
.subtitle{
text-align:center;
color:#666;
margin-bottom:25px;
}
.logo{
    margin-bottom:5px;
}

.subtitle{
    margin-bottom:15px;
}

.input-group{
    margin-bottom:12px;
}
.alert{
padding:12px;
border-radius:8px;
margin-bottom:15px;
font-size:14px;
}

.error{
background:#fee2e2;
color:#991b1b;
border:1px solid #fecaca;
}

.success{
background:#dcfce7;
color:#166534;
border:1px solid #bbf7d0;
}

.input-group{
margin-bottom:18px;
}

.input-group label{
display:block;
font-size:13px;
margin-bottom:6px;
font-weight:bold;
}

.input-group input{
    width:100%;
    padding:12px;
    border-radius:8px;
    border:1px solid #ddd;
    transition:all .2s ease;
}

.input-group input:focus{
outline:none;
border-color:#4f46e5;
}

.btn{
width:100%;
padding:12px;
border:none;
border-radius:8px;
background:#4f46e5;
color:white;
font-weight:bold;
font-size:15px;
cursor:pointer;
transition:.3s;
}

.btn:hover{
background:#4338ca;
}

.extra{
margin-top:15px;
text-align:center;
font-size:14px;
}

.extra a{
color:#4f46e5;
text-decoration:none;
font-weight:bold;
}

.extra a:hover{
text-decoration:underline;
}
.alert-success{
	background:#dcfce7;
	color:#166534;
	border:1px solid #bbf7d0;
	padding:12px 14px;
	border-radius:10px;
	margin-bottom:18px;
	font-size:14px;
	font-weight:bold;
}
.password-box{
	position: relative;
}
.password-box input{
	width: 100%;
	padding: 12px;
	padding-right: 40px;
	border-radius: 8px;
	border: 1px solid #ddd;
	font-size: 14px;
}
.password-container{
	position: relative;
}
.toggle-password {
    position: absolute;
    right: 10px;
    top: 30px;
    cursor: pointer;
    color: #555;
}
.form-row{
    display:flex;
    gap:12px;
}

.form-row .input-group{
    flex:1;
}
.terms-group{
    margin:18px 0;
    padding:12px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:8px;
}

.terms-group label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    cursor:pointer;
    line-height:1.5;
    color:#374151;
    font-size:13px;
}

.terms-group input[type="checkbox"]{
    flex-shrink:0;
    width:18px;
    height:18px;
    margin-top:1px;
    cursor:pointer;
}

.terms-group a{
    display:inline-block;
    margin-top:8px;
    margin-left:28px;
    color:#4f46e5;
    text-decoration:none;
    font-weight:600;
    font-size:13px;
}

.terms-group a:hover{
    text-decoration:underline;
}
.modalTerms{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modalTermsContent{
    background:#fff;
    width:90%;
    max-width:600px;
    border-radius:12px;
    overflow:hidden;
}

.modalTermsHeader{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 20px;
    border-bottom:1px solid #eee;
}

.modalTermsBody{
    padding:20px;
    max-height:60vh;
    overflow-y:auto;
}
.modalTermsHeader button{
    border:none;
    background:none;
    font-size:24px;
    cursor:pointer;
    color:#666;
}

.modalTermsHeader button:hover{
    color:#111;
}
.modalTermsBody p{
    margin-bottom:15px;
    line-height:1.6;
    color:#4b5563;
}
@media (max-width: 480px){

	body{
		min-height:100vh;
		padding:15px;
	}
    .form-row{
        flex-direction:column;
        gap:0;
    }
	.container{
		width:100%;
		max-width:420px;
		padding:20px;
	}

	.logo img{
		width:160px;
		max-width:60%;
		height:auto;
	}

    .logo{
        font-size:22px;
    }

    .subtitle{
        font-size:14px;
        margin-bottom:20px;
    }

    .input-group input,
    .password-box input{
        padding:10px;
        font-size:14px;
    }

    .btn{
        padding:10px;
        font-size:14px;
    }

}