/* ======================================================================
   Password reset (forgot-password.php / reset-password.php)
   Uses the same card surface as the account pages: cream, 30px radius,
   soft shadow, navy Sora headings, orange actions.
   ====================================================================== */

.pw-card {
    max-width: 460px;
    margin: 0 auto;
    background: #FEFDFA;
    border-radius: 30px;
    box-shadow: 0 1px 2px 0 #0913570F, 0 2px 8px 0 #0913570D;
    padding: 38px 40px 32px;
    text-align: center;
}

.pw-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #616B7D;
    text-decoration: none;
    margin-bottom: 22px;
}
.pw-back:hover { color: var(--trippal-primary, #FF7F14); }

.pw-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: #FFF5ED;
    color: var(--trippal-primary, #FF7F14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.pw-icon-ok { background: #EAF6EE; color: #1B7F3B; }

.pw-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--trippal-dark, #0A1556);
    margin: 0 0 10px;
}

.pw-sub {
    font-size: 14px;
    line-height: 1.6;
    color: #616B7D;
    margin: 0 0 22px;
}

.pw-form { text-align: left; }

.pw-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.pw-input {
    width: 100%;
    padding: 12px 14px;
    margin: 0 0 16px;
    border: 1px solid #E2DDD3;
    border-radius: 12px;
    background: #FBF9F4;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pw-input:focus {
    outline: none;
    border-color: var(--trippal-primary, #FF7F14);
    box-shadow: 0 0 0 3px rgba(255, 127, 20, .15);
}

.pw-hint {
    font-size: 12px;
    color: #616B7D;
    margin: -6px 0 16px;
}

.pw-btn {
    display: inline-block;
    width: 100%;
    padding: 13px 26px;
    border: none;
    border-radius: 12px;
    background: var(--trippal-primary, #FF7F14);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease;
}
.pw-btn:hover { background: #ea580c; color: #fff; }

.pw-alert {
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 13px;
    line-height: 1.55;
    padding: 13px 15px;
    border-radius: 12px;
    margin: 0 0 18px;
}
.pw-alert i { flex-shrink: 0; margin-top: 2px; }
.pw-alert-error { background: #FCEDEC; border: 1px solid #F0C4C0; color: #8A1C20; }
.pw-alert-ok     { background: #EAF6EE; border: 1px solid #BFE3CB; color: #14602D; }
.pw-alert-info   { background: #F1EFEA; border: 1px solid #E2DDD3; color: #6B6257; }

/* ---- on-screen link, shown because there is no mail server ---- */
.pw-devlink {
    text-align: left;
    background: #FFFBEB;
    border: 1px dashed #E8C15A;
    border-radius: 16px;
    padding: 16px 18px;
    margin: 0 0 18px;
}
.pw-devlink-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #8A5A00;
    margin: 0 0 10px;
}
.pw-devlink-url {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--trippal-dark, #0A1556);
    word-break: break-all;
    line-height: 1.5;
    text-decoration: none;
}
.pw-devlink-url:hover { text-decoration: underline; color: var(--trippal-primary, #FF7F14); }
.pw-devlink-note {
    font-size: 11.5px;
    line-height: 1.5;
    color: #8A7447;
    margin: 10px 0 0;
}
.pw-devlink code {
    background: rgba(138, 90, 0, .1);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 11px;
}

.pw-foot {
    font-size: 13px;
    color: #616B7D;
    margin: 22px 0 0;
}
.pw-foot a {
    color: var(--trippal-primary, #FF7F14);
    font-weight: 600;
    text-decoration: none;
}
.pw-foot a:hover { text-decoration: underline; }

@media (max-width: 575.98px) {
    .pw-card { padding: 30px 22px 26px; border-radius: 24px; }
    .pw-title { font-size: 19px; }
}

/* ======================================================================
   Forgot-password modal on the login page
   (the standalone pages use .pw-card above)
   ====================================================================== */

.pw-forgot-link {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}
.pw-forgot-link:hover { color: var(--trippal-primary, #FF7F14); }

.pw-modal {
    background: #FEFDFA;
    border: none;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(10, 21, 86, .18);
    padding: 28px 30px 26px;
}

.pw-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.pw-modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: #FFF5ED;
    color: var(--trippal-primary, #FF7F14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.pw-modal-close { margin: 0; opacity: .45; }
.pw-modal-close:hover { opacity: .8; }

.pw-modal-title {
    font-family: 'Sora', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--trippal-dark, #0A1556);
    margin: 0 0 8px;
}

.pw-modal-sub {
    font-size: 13.5px;
    line-height: 1.6;
    color: #616B7D;
    margin: 0 0 20px;
}

.pw-modal-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.pw-modal-form .pw-input { margin-bottom: 16px; }

.pw-modal-foot {
    font-size: 13px;
    color: #616B7D;
    margin: 18px 0 0;
    text-align: center;
}
.pw-modal-foot a,
.pw-modal-foot-link {
    color: var(--trippal-primary, #FF7F14);
    font-weight: 600;
    text-decoration: none;
}
.pw-modal-foot a:hover,
.pw-modal-foot-link:hover { text-decoration: underline; }

.pw-modal-foot-link {
    display: block;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 575.98px) {
    .pw-modal { padding: 22px 20px 20px; border-radius: 20px; }
}