/* reset-password.css */
.reset-wrap {
    max-width: 520px;
    margin: 64px auto 40px;
    background: #fff;
    border: 5px solid #f2c17d;
    border-radius: 20px;
    padding: 28px 32px;
    color: #333;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
    font-family: sans-serif;
}

.reset-wrap h2 {
    margin: 0 0 6px;
    text-align: center;
}

.reset-wrap p {
    margin: 0 0 16px;
    color: #555;
    text-align: center;
}

label {
    display: block;
    margin-top: 14px;
    font-weight: 600;
}

input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background: #f7f7f7;
    font-size: 16px;
    box-sizing: border-box;
}

.row {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
}

/* Botón del ojo */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
    cursor: pointer;
    transition: border-color .2s;
    flex-shrink: 0;
}

.icon-btn:hover {
    border-color: #bbb;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.note {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}

/* Botón Principal */
.btn {
    width: 100%;
    margin-top: 18px;
    background: #f7c471;
    color: #fff;
    border: 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 4px 4px 0 #e0a951;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: #f4b64e;
}

.btn:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
}

/* Mensajes */
.msg {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

.msg.ok {
    color: #2e7d32;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    display: block;
}

.msg.err {
    color: #c62828;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    display: block;
}

.link-back {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
}

.link-back a,
.link-back a:hover {
    text-decoration: underline;
    color: #0073aa;
}

@media (max-width: 480px) {
    .reset-wrap {
        padding: 20px;
        margin: 40px 20px;
    }
}