

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}




body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f3f7ff;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    padding:40px 20px;
}




.container{
    width:100%;
    max-width:900px;
}




.card{
    background:#fff;
    border-radius:25px;
    padding:50px;
    box-shadow:0 10px 35px rgba(0,0,0,.12);
}




.profile-icon{
    display:flex;
    justify-content:center;
    margin-bottom:25px;
}

.profile-icon img{
    width:90px;
}




h1{
    text-align:center;
    font-size:48px;
    color:#1f2937;
    margin-bottom:15px;
}

.subtitle{
    text-align:center;
    color:#6b7280;
    font-size:20px;
    margin-bottom:40px;
}




.input-group{
    margin-bottom:28px;
}

.input-group label{
    display:block;
    font-size:20px;
    font-weight:600;
    margin-bottom:10px;
    color:#1f2937;
}




.input-box{
    display:flex;
    align-items:center;
    border:1px solid #d1d5db;
    border-radius:12px;
    padding:14px 18px;
    background:#fff;
}

.input-box img{
    width:22px;
    opacity:.6;
}

.input-box input{
    flex:1;
    border:none;
    outline:none;
    margin-left:15px;
    font-size:18px;
    background:transparent;
}

.toggle-password,
.toggle-confirm-password{
    cursor:pointer;
}



.password-strength{
    display:flex;
    gap:10px;
    margin-top:12px;
    font-size:15px;
}

#strength-text{
    color:#ef4444;
    font-weight:bold;
}

.strength-bar{
    width:100%;
    height:6px;
    background:#e5e7eb;
    border-radius:10px;
    margin-top:8px;
    overflow:hidden;
}

.strength-fill{
    width:25%;
    height:100%;
    background:#ef4444;
    border-radius:10px;
}


.error{
    display:block;
    margin-top:8px;
    font-size:14px;
    color:#ef4444;
}




button{
    width:100%;
    padding:18px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:#fff;
    font-size:22px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#1d4ed8;
}




#success-message{
    text-align:center;
    margin-top:20px;
    color:#16a34a;
    font-weight:bold;
}


.signin-text{
    text-align:center;
    margin-top:35px;
    color:#6b7280;
    font-size:18px;
}

.signin-text a{
    color:#2563eb;
    text-decoration:none;
    font-weight:bold;
}

.signin-text a:hover{
    text-decoration:underline;
}



.features{
    display:flex;
    justify-content:space-between;
    gap:25px;
    margin-top:45px;
}

.feature{
    display:flex;
    align-items:flex-start;
    gap:15px;
    flex:1;
}

.feature img{
    width:42px;
}

.feature h3{
    font-size:22px;
    margin-bottom:6px;
    color:#1f2937;
}

.feature p{
    color:#6b7280;
    line-height:1.5;
}



.input-box.valid{
    border:2px solid #22c55e;
}

.input-box.invalid{
    border:2px solid #ef4444;
}


@media(max-width:768px){

    .card{
        padding:30px;
    }

    h1{
        font-size:38px;
    }

    .subtitle{
        font-size:18px;
    }

    .features{
        flex-direction:column;
    }

}