*{box-sizing:border-box}

body{
    margin:0;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:#f5f7f6;
    font-family:Arial,sans-serif;
    color:#24332b
}

.password-card{
    width:100%;
    max-width:480px;
    padding:34px;
    background:#fff;
    border:1px solid #e3e9e5;
    border-radius:24px;
    box-shadow:0 18px 50px rgba(18,60,43,.12)
}

.password-logo{
    color:#16804b;
    font-size:30px;
    font-weight:900;
    margin-bottom:20px
}

.password-card h1{
    margin:0 0 12px;
    font-size:27px
}

.password-description{
    color:#718078;
    line-height:1.6
}

.password-card label{
    display:block;
    margin:20px 0 8px;
    font-weight:700
}

.password-card input{
    width:100%;
    min-height:52px;
    padding:0 15px;
    border:1px solid #cbd8d0;
    border-radius:12px;
    outline:none;
    font-size:16px
}

.password-card input:focus{
    border-color:#16804b;
    box-shadow:0 0 0 3px rgba(22,128,75,.12)
}

.password-button{
    width:100%;
    min-height:54px;
    margin-top:24px;
    border:0;
    border-radius:13px;
    cursor:pointer;
    background:#16804b;
    color:#fff;
    font-size:16px;
    font-weight:800
}

.password-button:hover{
    filter:brightness(.95)
}

.password-button:disabled{
    opacity:.6;
    cursor:not-allowed
}

.password-requirements{
    margin-top:8px;
    color:#718078;
    font-size:13px;
    line-height:1.5
}

.password-message{
    display:none;
    margin-top:20px;
    padding:14px;
    border-radius:12px;
    line-height:1.5
}

.password-message.success{
    display:block;
    background:#eaf8f0;
    color:#12683f
}

.password-message.error{
    display:block;
    background:#fff0ed;
    color:#b42318
}

.password-back{
    display:block;
    margin-top:22px;
    text-align:center;
    color:#16804b;
    text-decoration:none;
    font-weight:700
}

@media(max-width:520px){
    .password-card{
        padding:25px 20px
    }

    .password-card h1{
        font-size:23px
    }
}
