
*, *::before, *::after {
    box-sizing: border-box;
}

.form-wrapper {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 80px);
    gap: 15px;
    font-family: Arial, Helvetica, sans-serif;
}


.form-logo{
    width: 60px;
}


.form-logo svg{
    width: 50px;
    height: auto;
}

.form-wrapper form{
    display: flex;
    flex-direction: column;
    justify-self: center;
    gap: 20px;
}

.form-wrapper input{
    width: 100%;
    height: 60px;
    border: 1px solid black;
    border-radius: 10px;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
}

.form-wrapper input::placeholder{
    font-size: 18px;
    font-weight: 500;
}

.form-wrapper button{
    justify-self: left;
    background: black;
    border: none;
    border-radius: 10px;
    color: white;
    width: 200px;
    height: 60px;
    font-size: 16px;
}

.form-wrapper h1{
    padding: 0;
    margin: 0;
    margin-top: 20px;
}

.form-wrapper p{
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.form-wrapper a{
    color: rgb(148, 148, 148);
}

.hidden { display: none; }
.success { color: green; }
.error { color: red; }
.small { font-size: 12px;  }


.email-display{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}












.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px;
}

#togglePassword {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    opacity: 0.6;
}

#togglePassword:hover {
    opacity: 1;
}



.strength {
    margin-top: 6px;
    font-size: 14px;
}

.strength.weak {
    color: red;
}

.strength.medium {
    color: orange;
}

.strength.strong {
    color: green;
}

.hidden {
    display: none;
}




/* Hide browser password reveal icons safely */
input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"] {
    -webkit-appearance: textfield;
    appearance: textfield;
}




button:active{
    color: black;
    background: rgb(196, 196, 196);
}






@media (min-width:1024px){
    .form-wrapper {
    min-width: 600px;
  
}
}