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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f3f5f7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    color: #263238;
}

.reset-container {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(27, 39, 49, 0.18);
    border: 1px solid #e7ebef;
    overflow: hidden;
    padding: 28px 32px;
}

.reset-container h2 {
    text-align: center;
    color: #2b3a42;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.reset-subtitle {
    text-align: center;
    color: #5f6b72;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.reset-email {
    text-align: center;
    color: #2b7a53;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 18px;
    word-break: break-all;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: #31424b;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    height: 46px;
    padding: 10px 12px;
    border: 1px solid #d6dce1;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #ffffff;
    color: #25323a;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #1d6b43;
    box-shadow: 0 0 0 3px rgba(29, 107, 67, 0.12);
}

.form-group .otp-input {
    height: 52px;
    font-size: 20px;
    letter-spacing: 6px;
    text-align: center;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.error-messages {
    background: #fff7db;
    border: 1px solid #f0dfa2;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 18px;
    color: #7a5a00;
    font-size: 13px;
}

.error-messages ul {
    margin: 0;
    padding-left: 20px;
}

.error-messages li {
    margin-bottom: 6px;
}

.info-box {
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #1d4ed8;
    line-height: 1.5;
}

.info-box.password-req {
    background: #f1f7f3;
    border-color: #cfe6d8;
    color: #245c3f;
}

.show-password-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #59656d;
    font-size: 13px;
    margin-bottom: 16px;
    user-select: none;
}

.show-password-toggle input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1d6b43;
}

.btn {
    width: 100%;
    padding: 12px;
    background: #1d6b43;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 10px;
}

.btn:hover {
    background: #1d2530;
}

.btn-secondary {
    background: #6c7680;
    font-size: 13px;
    padding: 10px;
}

.btn-secondary:hover {
    background: #5a6268;
}

.back-link {
    text-align: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e3e8ec;
    font-size: 13px;
}

.back-link a {
    color: #1d6b43;
    text-decoration: none;
    font-weight: 600;
}

.back-link a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .reset-container {
        padding: 22px 20px;
    }
}
