/* Container */
.reset-box {
    max-width: 420px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    font-family: "Inter", sans-serif;
}

/* Labels */
.reset-box label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #333;
}

/* Inputs */
.reset-box input[type=password] {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: 0.25s;
}

.reset-box input[type=password]:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 6px rgba(74,144,226,0.4);
    outline: none;
}

/* Button */
#submit-btn:disabled {
    cursor: not-allowed;
}

/* Strength Meter */
#strength-meter {
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

#strength-bar {
    height: 8px;
    width: 0%;
    border-radius: 10px;
    transition: width .4s ease, background-color .4s ease;
}

/* Strength colors */
.strength-weak    { background-color: #ff4d4d; }
.strength-fair    { background-color: #f9a825; }
.strength-good    { background-color: #43a047; }
.strength-strong  { background-color: #2e7d32; }

/* Strength text */
#strength-text {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 400;
    margin-bottom:0;
}

/* Requirements List */
ul.require-list {
    padding: 0;
    display: flex;
    flex-direction: row;
}
ul.require-list li {
    width: 50%;
    display: block;
    flex: 0 0 auto;
    margin: 2px 0;
    font-size: 12px;
}

.require-list li {
    margin: 5px 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    transition: 0.3s ease;
}

/* Dots → Check icons */
.require-list li::before {
    content: "●";
    color: #d9534f;
    margin-right: 8px;
    transition: 0.3s ease;
}

.require-list li.valid {
    color: #2e7d32;
    opacity: 0.7;
}

.require-list li.valid::before {
    content: "✔";
    color: #2e7d32;
}

/* Confirm mismatch */
.input-error {
    border-color: #ff4d4d !important;
}

@media(max-width:640px){
    ul.require-list li {
    width: 100%;
    }
}
