/* ============================================================
   PASSWORD PAGES — Modern Card Design
   Eduro brand: #DE6B3B → #F2943C  |  Accent: #19CCA3
   ============================================================ */

/* Page background */
.pm-page {
    min-height: 100vh;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    font-family: 'DM Sans', 'Nunito Sans', sans-serif;
}

/* Card */
.pm-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,.09);
    width: 100%;
    max-width: 460px;
    padding: 48px 44px 44px;
    text-align: center;
}

/* Avatar circle */
.pm-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 18px rgba(222,107,59,.25);
    margin: 0 auto 24px;
    display: block;
}

/* Heading */
.pm-heading {
    font-size: 22px;
    font-weight: 800;
    color: #DE6B3B;
    margin: 0 0 8px;
    letter-spacing: -.2px;
    font-family: 'DM Sans', 'Raleway', sans-serif;
}

/* Subtext */
.pm-subtext {
    font-size: 14px;
    color: #6b6b8a;
    margin: 0 0 28px;
    line-height: 1.55;
}

/* Password requirements hint list */
.pm-hints {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
    background: #f8f8fb;
    border-radius: 10px;
    padding: 12px 16px;
}
.pm-hints li {
    font-size: 13px;
    color: #6b6b8a;
    padding: 3px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}
.pm-hints li::before {
    content: '•';
    color: #19CCA3;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Form */
.pm-form {
    text-align: left;
}

/* Field */
.pm-field {
    margin-bottom: 18px;
}

.pm-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #19CCA3;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
}

.pm-field input {
    width: 100%;
    height: 50px;
    border: 1.5px solid #e8e8f0;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 15px;
    font-family: 'DM Sans', 'Nunito Sans', sans-serif;
    color: #1a1a2e;
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}

.pm-field input:focus {
    border-color: #DE6B3B;
    box-shadow: 0 0 0 3px rgba(222,107,59,.12);
}

.pm-field input.is-invalid {
    border-color: #e74c3c;
}

/* Error message */
.pm-error {
    display: block;
    font-size: 12px;
    color: #e74c3c;
    margin-top: 5px;
    font-weight: 600;
}

/* Button row — right-aligned */
.pm-btn-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.pm-btn-row.full {
    justify-content: stretch;
}
.pm-btn-row.full .pm-submit {
    width: 100%;
}

/* Submit button — orange pill */
.pm-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 32px;
    background: linear-gradient(135deg, #DE6B3B 0%, #F2943C 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: 'DM Sans', 'Nunito Sans', sans-serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 4px 20px rgba(222,107,59,.35);
    letter-spacing: .02em;
    text-decoration: none;
}

.pm-submit:hover {
    opacity: .92;
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(222,107,59,.45);
    color: #fff;
}

.pm-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(222,107,59,.3);
}

/* Success card */
.pm-success {
    text-align: center;
    padding: 8px 0;
}

.pm-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #19CCA3 0%, #0fb08b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(25,204,163,.3);
}

.pm-success-icon i {
    color: #fff;
    font-size: 28px;
}

.pm-success h3 {
    font-size: 20px;
    font-weight: 800;
    color: #DE6B3B;
    margin: 0 0 10px;
    font-family: 'DM Sans', 'Raleway', sans-serif;
}

.pm-success p {
    font-size: 14px;
    color: #6b6b8a;
    line-height: 1.6;
    margin: 0 0 24px;
}

/* Back link */
.pm-back {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #6b6b8a;
    text-decoration: none;
}

.pm-back a {
    color: #DE6B3B;
    font-weight: 700;
    text-decoration: none;
}

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

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 640px) {
    .pm-page {
        padding: 24px 16px;
        align-items: flex-start;
    }

    .pm-card {
        padding: 36px 20px 32px;
        border-radius: 16px;
    }

    .pm-avatar {
        width: 72px;
        height: 72px;
    }

    .pm-heading {
        font-size: 19px;
    }

    .pm-btn-row {
        justify-content: stretch;
    }

    .pm-submit {
        width: 100%;
    }
}
