*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    width:100%;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#111,#1a1a1a,#222);
}

.login-container{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.login-box{
    width:400px;
    background:#fff;
    border-radius:15px;
    padding:40px 35px;
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}
.error{

display:block;

color:red;

font-size:13px;

margin-top:-12px;

margin-bottom:12px;

padding-left:5px;

}
.logo{
    text-align:center;
    margin-bottom:30px;
}

.logo h1{
    color:#111;
    font-size:34px;
    font-weight:bold;
}

.logo span{
    color:#ff6600;
}

.logo p{
    margin-top:10px;
    color:#666;
    font-size:15px;
}

.input-box{
    position:relative;
    margin-bottom:20px;
}

.input-box input{
    width:100%;
    padding:14px 45px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
    outline:none;
    transition:.3s;
}

.input-box input:focus{
    border-color:#ff6600;
    box-shadow:0 0 5px rgba(255,102,0,.4);
}

.input-box i:first-child{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    color:#666;
}

#togglePassword{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#666;
}

.options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    font-size:14px;
}

.options a{
    color:#ff6600;
    text-decoration:none;
    font-weight:600;
}

.options a:hover{
    text-decoration:underline;
}

.login-btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:8px;
    background:#ff6600;
    color:#fff;
    font-size:17px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.login-btn:hover{
    background:#e65c00;
}

.register{
    text-align:center;
    margin-top:25px;
    color:#555;
}

.register a{
    color:#ff6600;
    text-decoration:none;
    font-weight:bold;
}

.register a:hover{
    text-decoration:underline;
}

@media(max-width:450px){

.login-box{
    width:100%;
    padding:30px 20px;
}

.logo h1{
    font-size:28px;
}

.options{
    flex-direction:column;
    gap:10px;
}

}

.error{

display:block;

color:#ff3b3b;

font-size:13px;

margin-top:-10px;

margin-bottom:10px;

padding-left:5px;

}

.strength{

display:block;

font-size:13px;

font-weight:bold;

margin-top:-10px;

margin-bottom:10px;

padding-left:5px;

}

.weak{

color:red;

}

.medium{

color:orange;

}

.strong{

color:green;

}