/* Phase 11 — customer authentication and account screens. */
.pm-auth-body { min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(145deg, #f4f7fb 0%, #fff 60%, #edf3fb 100%); }
.pm-auth-body .pm-header { background: rgba(255,255,255,.96); }
.pm-auth-main { flex: 1; display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem) 1rem; }
.pm-auth-panel { width: min(100%, 520px); padding: clamp(1.35rem, 4vw, 2.6rem); border: 1px solid rgba(23,54,93,.12); border-radius: 1.4rem; background: #fff; box-shadow: 0 22px 65px rgba(23,54,93,.09); }
.pm-auth-intro { margin-bottom: 1.5rem; }
.pm-auth-intro h1, .pm-account-welcome h1 { margin: .35rem 0 .7rem; color: #17365d; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.12; letter-spacing: -.035em; }
.pm-auth-intro > p:last-child, .pm-account-welcome > p:last-child { color: #5b6b7e; line-height: 1.75; }
.pm-auth-form { display: grid; gap: 1rem; }
.pm-auth-form .pm-field { display: grid; gap: .45rem; }
.pm-auth-form label { color: #243c5a; font-size: .93rem; font-weight: 700; }
.pm-auth-form input { width: 100%; min-height: 48px; padding: .8rem .9rem; border: 1px solid #ccd6e3; border-radius: .7rem; color: #172b45; background: #fff; font: inherit; }
.pm-auth-form input:focus { outline: 3px solid rgba(44,105,175,.18); border-color: #2c69af; }
.pm-field-error { color: #b42318; line-height: 1.5; }
.pm-field-hint { color: #65758a; font-size: .83rem; }
.pm-auth-submit { width: 100%; justify-content: center; margin-top: .35rem; }
.pm-auth-switch { margin: 1.4rem 0 .6rem; text-align: center; color: #5b6b7e; }
.pm-auth-switch a, .pm-auth-footer a, .pm-account-card-heading a { color: #1d568f; font-weight: 700; text-decoration: none; }
.pm-auth-privacy { margin: 1rem 0 0; color: #758296; font-size: .78rem; line-height: 1.65; text-align: center; }
.pm-auth-footer { padding: 1.2rem 0; border-top: 1px solid rgba(23,54,93,.1); background: rgba(255,255,255,.8); color: #65758a; font-size: .9rem; }
.pm-auth-footer > .pm-container { display: flex; justify-content: space-between; gap: 1rem; }
.pm-account-main { flex: 1; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; }
.pm-account-welcome { margin-bottom: 1.5rem; }
.pm-account-grid { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.5fr); gap: 1.2rem; margin-top: 1.25rem; }
.pm-account-card { min-width: 0; padding: clamp(1.2rem, 3vw, 1.8rem); border: 1px solid rgba(23,54,93,.12); border-radius: 1.1rem; background: #fff; box-shadow: 0 12px 35px rgba(23,54,93,.05); }
.pm-account-card h2 { margin: 0 0 1.25rem; color: #17365d; font-size: 1.3rem; }
.pm-account-details { display: grid; gap: 1rem; margin: 0; }
.pm-account-details > div { padding-bottom: .8rem; border-bottom: 1px solid #edf0f5; }
.pm-account-details dt { color: #68788b; font-size: .82rem; }
.pm-account-details dd { margin: .3rem 0 0; overflow-wrap: anywhere; color: #203954; font-weight: 650; }
.pm-account-status { display: inline-block; padding: .25rem .55rem; border-radius: 99px; background: #eaf6ef; color: #246b43; font-size: .8rem; text-transform: capitalize; }
.pm-account-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.pm-account-card-heading h2 { margin-bottom: 1rem; }
.pm-account-empty { padding: 2rem 1rem; text-align: center; color: #617186; }
.pm-account-empty > span { color: #b17b2d; font-size: 2rem; }
.pm-account-empty h3 { color: #17365d; }
.pm-account-empty p { max-width: 440px; margin: 0 auto 1rem; line-height: 1.7; }
.pm-booking-table-wrap { width: 100%; overflow-x: auto; }
.pm-booking-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pm-booking-table th, .pm-booking-table td { padding: .85rem .65rem; border-bottom: 1px solid #edf0f5; text-align: left; white-space: nowrap; }
.pm-booking-table th { color: #5b6b7e; font-size: .8rem; }
.pm-booking-table td { color: #203954; }
.pm-booking-table td small { display: block; margin-top: .2rem; color: #7a8797; }
.pm-account-note { margin-top: 1.25rem; color: #748195; font-size: .83rem; line-height: 1.7; }
@media (max-width: 760px) { .pm-account-grid { grid-template-columns: 1fr; } .pm-account-card-heading { flex-direction: column; } }
@media (max-width: 420px) { .pm-auth-footer > .pm-container { flex-direction: column; } }
