/* Redesigned inner pages: service page, sign up, booking, wallet, order and confirmation.
   Each block is scoped to its own page wrapper so it cannot affect other pages. */

:root {
    --hr-navy: #12354A;
    --hr-ink: #3B4A55;
    --hr-muted: #5B6B76;
    --hr-accent: #0F78AE;
    --hr-accent-dark: #0B6693;
    --hr-accent-soft: #E3F1F8;
    --hr-green: #1B6E48;
    --hr-green-soft: #E4F2EA;
    --hr-ground: #F7F5F0;
    --hr-line: #E3DFD6;
}

/* Shared page chrome for redesigned pages */
.hr-page { background: var(--hr-ground); font-family: 'Manrope', sans-serif; color: var(--hr-ink); }
.hr-page h1, .hr-page h2, .hr-page h3, .hr-page h4, .hr-page h5, .hr-page h6 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--hr-navy); }
.hr-page a:focus-visible, .hr-page button:focus-visible, .hr-page input:focus-visible, .hr-page select:focus-visible, .hr-page textarea:focus-visible { outline: 3px solid var(--hr-accent); outline-offset: 2px; }
.hr-page .cmn-btn.btn-bg-1, .hr-page button.cmn-btn { background: var(--hr-accent); border-color: var(--hr-accent); color: #fff; border-radius: 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
.hr-page .cmn-btn.btn-bg-1:hover { background: var(--hr-accent-dark); border-color: var(--hr-accent-dark); color: #fff; }

/* Reusable blocks */
.hr-protect { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: var(--hr-green-soft); }
.hr-protect h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 700; font-size: 16px; color: var(--hr-green); }
.hr-protect p { margin: 0; font-size: 15px; line-height: 1.5; color: #20432F; }

/* ---------- Service page ---------- */
.hr-page .service-details-area { background: var(--hr-ground); }
.hr-page .service-details-package { background: #fff; border: 1px solid var(--hr-line); border-radius: 20px; padding: 28px; box-shadow: 0 12px 32px rgba(18, 53, 74, 0.08); }
.hr-page .service-details-package .single-packages { border: 0; padding: 0; background: transparent; }
.hr-page .service-details-package .package-price { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hr-page .service-details-package .package-price li:first-child { font-size: 14px; color: var(--hr-muted); }
.hr-page .service-details-package .package-price li:last-child { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 34px; color: var(--hr-navy); }
.hr-page .service-details-package .btn-wrapper .cmn-btn { min-height: 54px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.hr-page .details-tabs.tabs { border-bottom: 1px solid var(--hr-line); }
.hr-page .details-tabs.tabs .list { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--hr-muted); }
.hr-page .details-tabs.tabs .list.active { color: var(--hr-navy); border-color: var(--hr-accent); }
.hr-page .service-details-wrapper { background: transparent; }
.hr-page .service-details-inner .details-thumb .main-img-box { border-radius: 20px; overflow: hidden; }
.hr-page .details-content-tab .hr-visit { margin-top: 36px; }
.hr-page .details-content-tab .hr-visit h4 { margin: 0 0 16px; font-weight: 800; font-size: 22px; }
.hr-page .details-content-tab .hr-visit ol { margin: 0 !important; padding: 0 !important; list-style: none !important; display: flex; flex-direction: column; gap: 12px; counter-reset: hrvisit !important; }
.hr-page .details-content-tab .hr-visit ol li { position: relative; display: block !important; list-style: none !important; margin: 0 !important; padding: 18px 20px 18px 68px; background: #fff; border: 1px solid var(--hr-line); border-radius: 14px; counter-increment: hrvisit !important; }
.hr-page .details-content-tab .hr-visit ol li::before { content: counter(hrvisit) !important; position: absolute; left: 20px; top: 18px; display: flex !important; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--hr-navy); color: #fff; font: 800 15px 'Plus Jakarta Sans', sans-serif; }
.hr-page .details-content-tab .hr-visit ol li strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; color: var(--hr-navy); }
.hr-page .details-content-tab .hr-visit ol li span { display: block; font-size: 16px; }

/* ---------- Sign up ---------- */
.hr-register .banner-inner-area { background: var(--hr-ground) !important; padding-top: 56px !important; padding-bottom: 8px !important; }
.hr-register .banner-inner-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.01em; color: var(--hr-navy); text-transform: none; }
.hr-register .hr-register-sub { margin: 8px 0 0; font-size: 17px; color: var(--hr-ink); }
.hr-register .registration-step-area { background: var(--hr-ground); padding-top: 32px !important; }
.hr-register .registration-tabs { display: flex; flex-wrap: wrap; gap: 12px; max-width: 640px; margin: 0 auto 28px; padding: 0; list-style: none; }
.hr-register .registration-tabs li { order: 2; flex: 1 1 260px; min-width: 0; margin: 0; padding: 0; background: #fff; border: 2px solid #C9D3D9; border-radius: 14px; cursor: pointer; list-style: none; }
.hr-register .registration-tabs li.is_user_buyer { order: 1; }
.hr-register .registration-tabs li.active { background: var(--hr-accent); border-color: var(--hr-accent); }
.hr-register .registration-tabs .single-tabs-registration { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: transparent; border: 0; }
.hr-register .registration-tabs .single-tabs-registration .icon { color: var(--hr-accent); font-size: 26px; }
.hr-register .registration-tabs li.active .single-tabs-registration .icon,
.hr-register .registration-tabs li.active .title,
.hr-register .registration-tabs li.active .hr-tab-sub { color: #fff; }
.hr-register .registration-tabs .title { margin: 0; font-weight: 800; font-size: 18px; color: var(--hr-navy); }
.hr-register .hr-tab-sub { margin: 0; font-size: 14px; font-weight: 500; color: var(--hr-muted); }
.hr-register .hr-register-note { display: flex; align-items: flex-start; gap: 12px; max-width: 650px; margin: 0 auto 8px; padding: 16px 18px; border-radius: 14px; background: var(--hr-green-soft); color: var(--hr-green); }
.hr-register .hr-register-note svg { flex: none; margin-top: 2px; }
.hr-register .hr-register-note p { margin: 0; font-size: 15px; line-height: 1.5; color: #20432F; }
.hr-register .registration-step-form { background: #fff; border: 1px solid var(--hr-line); border-radius: 20px; padding: 16px 0 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hr-register .registration-step-form .single-input input,
.hr-register .registration-step-form .single-input select,
.hr-register .registration-step-form .form--control { border-radius: 12px; border: 1.5px solid #C9D3D9; min-height: 52px; font-family: 'Manrope', sans-serif; }
.hr-register .registration-step-form .single-input label { font-weight: 700; color: var(--hr-navy); }
.hr-register .registration-tabs li { display: flex; align-items: stretch; position: relative; }
.hr-register .registration-tabs .single-tabs-registration { flex: 1; flex-direction: row !important; text-align: left; justify-content: flex-start; width: 100%; box-shadow: none; }
.hr-register .registration-tabs .single-tabs-registration .icon { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 !important; border-radius: 12px; background: var(--hr-accent-soft); font-size: 22px; }
.hr-register .registration-tabs li.active .single-tabs-registration .icon { background: rgba(255, 255, 255, 0.2); }
.hr-register .registration-tabs .contents { text-align: left; }
.hr-register .registration-tabs .single-tabs-registration .icon i { color: inherit; }
.hr-register .registration-tabs li .single-tabs-registration { display: flex !important; align-items: center !important; flex-direction: row !important; }
.hr-register .registration-tabs li.active .single-tabs-registration { background: transparent !important; }
.hr-register .registration-tabs li .single-tabs-registration { flex-wrap: nowrap !important; }
.hr-register .registration-tabs li .single-tabs-registration .contents { flex: 1 1 0; min-width: 0; width: auto !important; margin: 0 !important; }

/* ---------- Booking ---------- */
.hr-book .new_service_details_area { background: var(--hr-ground); }
.hr-book .new_serviceDetails, .hr-book .new_serviceBooking__summary, .hr-book .new_stepForm_list__item { border-radius: 16px; }
.hr-book .new_serviceBooking__summary { background: #fff; border: 1px solid var(--hr-line); box-shadow: 0 12px 32px rgba(18, 53, 74, 0.06); }
.hr-book .new_serviceBooking__summary__title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--hr-navy); }
.hr-book .stepForm_btn, .hr-book input[type="submit"].stepForm_btn { background: var(--hr-accent); border: 0; border-radius: 12px; min-height: 52px; padding: 0 28px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
.hr-book .stepForm_btn:hover { background: var(--hr-accent-dark); }
.hr-book .hr-protect { margin-top: 24px; }
.hr-book .hr-money-path { margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--hr-green-soft); }
.hr-book .hr-money-path .hr-money-path-title { margin: 0 0 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px; color: var(--hr-green); }
.hr-book .hr-money-path ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #20432F; }
.hr-book .hr-money-path li { list-style: none; margin: 0; padding: 0; }

/* ---------- Booking confirmation ---------- */
.hr-success .location-overview-area { background: var(--hr-ground); }
.hr-success .successful-card { max-width: 860px; margin: 0 auto; padding: 40px 32px; background: #fff; border: 1px solid var(--hr-line); border-radius: 24px; text-align: center; }
.hr-success .title-step { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.01em; text-transform: none; color: var(--hr-navy); }
.hr-success .succcess-icon { background: var(--hr-green-soft); color: var(--hr-green); border-color: var(--hr-green-soft); }
.hr-success .purple-text { max-width: 560px; margin: 0 auto 8px; font-family: 'Manrope', sans-serif; font-weight: 500; font-size: 18px; line-height: 1.5; color: var(--hr-ink) !important; }
.hr-success .hr-next { max-width: 560px; margin: 28px auto 0; padding: 22px 24px; text-align: left; background: var(--hr-ground); border-radius: 16px; }
.hr-success .hr-next h4 { margin: 0 0 12px; font-weight: 800; font-size: 20px; }
.hr-success .hr-next ol { margin: 0 !important; padding: 0 0 0 20px !important; list-style: decimal !important; display: flex; flex-direction: column; gap: 10px; color: var(--hr-ink); }
.hr-success .hr-next li { display: list-item !important; list-style: decimal !important; margin: 0; padding: 0; font-size: 15px; }
.hr-success .hr-next li::before { content: none !important; display: none !important; }
.hr-success .hr-next li strong { color: var(--hr-navy); }
.hr-success .table-bordered { border-radius: 14px; overflow: hidden; }
.hr-success .btn-wrapper .cmn-btn { margin: 6px; }
.hr-success .msform, .hr-success .msform fieldset { background: transparent !important; border: 0 !important; box-shadow: none !important; padding-left: 0; padding-right: 0; }
.hr-success .successful-card { box-shadow: none; }
.hr-success .succcess-icon { display: flex !important; align-items: center; justify-content: center; width: 72px !important; height: 72px !important; margin: 20px auto !important; padding: 0 !important; border-radius: 999px !important; background: var(--hr-green-soft) !important; color: var(--hr-green) !important; font-size: 36px; line-height: 1; }
.hr-success .succcess-icon i { font-size: 36px; }

/* ---------- Wallet (buyer dashboard) ---------- */
.hr-wallet .dashboard__wallet__balance__price { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--hr-navy); }
.hr-wallet .dashboard__wallet__btn .dashboard_table__title__btn { background: var(--hr-accent); border-color: var(--hr-accent); border-radius: 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: #fff; }
.hr-wallet .hr-wallet-how { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: var(--hr-green-soft); }
.hr-wallet .hr-wallet-how h5 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; color: var(--hr-green); }
.hr-wallet .hr-wallet-how ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: #20432F; }
.hr-wallet .hr-wallet-how li { list-style: none; margin: 0; padding: 0; }

/* ---------- Approve the work (buyer order page) ---------- */
.hr-job { background: transparent; margin-bottom: 24px; }
.hr-job-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.hr-job-card { flex: 1 1 360px; min-width: 0; padding: 26px 28px; background: #fff; border: 1px solid var(--hr-line); border-radius: 20px; }
.hr-job-decide { box-shadow: 0 12px 32px rgba(18, 53, 74, 0.08); }
.hr-job h3 { margin: 0 0 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 22px; color: var(--hr-navy); }
.hr-job p { font-family: 'Manrope', sans-serif; font-size: 16px; line-height: 1.5; color: var(--hr-ink); }
.hr-job-steps { margin: 0 !important; padding: 0 !important; list-style: none !important; display: flex; flex-direction: column; gap: 18px; }
.hr-job-steps li { display: flex !important; gap: 14px; list-style: none !important; margin: 0; padding: 0; }
.hr-job-steps li::before { content: none !important; display: none !important; }
.hr-job-dot { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: #E3DFD6; color: var(--hr-ink); font: 800 14px 'Plus Jakarta Sans', sans-serif; }
.hr-job-steps li.is-done .hr-job-dot { background: var(--hr-green); color: #fff; }
.hr-job-steps li.is-current .hr-job-dot { background: #fff; border: 3px solid var(--hr-accent); color: var(--hr-accent); }
.hr-job-steps strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; color: var(--hr-navy); }
.hr-job-steps li > div > span { display: block; font-size: 14px; color: var(--hr-muted); }
.hr-job .hr-btn-primary, .hr-job .hr-btn-outline { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 12px; border-radius: 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; cursor: pointer; }
.hr-job .hr-btn-primary { background: var(--hr-accent); border: 0; color: #fff; }
.hr-job .hr-btn-primary:hover { background: var(--hr-accent-dark); }
.hr-job .hr-btn-outline { background: #fff; border: 1.5px solid #C9D3D9; color: var(--hr-navy); }
.hr-job .hr-report { margin-top: 12px; }
.hr-job .hr-report summary { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1.5px solid #C9D3D9; border-radius: 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--hr-navy); cursor: pointer; list-style: none; }
.hr-job .hr-report summary::-webkit-details-marker { display: none; }
.hr-job .hr-report form { padding-top: 12px; }
.hr-job .hr-report label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--hr-navy); }
.hr-job .hr-report textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #C9D3D9; border-radius: 12px; font: 500 16px 'Manrope', sans-serif; }
.hr-job .hr-note { margin: 14px 0 0; font-size: 14px; color: var(--hr-muted); }

/* Sign up: keep the fields inside the card with room to breathe */
.hr-register .registration-step-form { padding: 28px 0 36px; }
.hr-register .registration-step-form .msform { padding: 0 40px; }
.hr-register .registration-step-form fieldset { padding-top: 8px !important; margin-top: 0 !important; }
.hr-register .registration-step-form #error-message { margin-top: 8px !important; min-height: 0; }
.hr-register .registration-step-form .registration-list { margin-bottom: 20px; }
@media (max-width: 575.98px) {
    .hr-register .registration-step-form .msform { padding: 0 20px; }
}

/* Sign up: remove the theme's underline bar on the selected role card */
.hr-register .registration-tabs li::before { content: none !important; display: none !important; }

/* ---------- Sign in ---------- */
.hr-login .signup-area { background: var(--hr-ground); padding-top: 56px !important; }
.hr-login .signup-wrapper { max-width: 520px; margin: 0 auto; padding: 36px 40px 40px; background: #fff; border: 1px solid var(--hr-line); border-radius: 24px; box-shadow: 0 16px 40px rgba(18, 53, 74, 0.08); }
.hr-login .signup-title { margin: 0 0 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 32px; letter-spacing: -0.01em; text-align: center; color: var(--hr-navy); }
.hr-login .hr-login-sub { margin: 0 0 20px; text-align: center; font-size: 16px; color: var(--hr-ink); }
.hr-login .hr-login-note { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; padding: 14px 16px; border-radius: 12px; background: var(--hr-green-soft); color: var(--hr-green); font-size: 14px; line-height: 1.45; }
.hr-login .hr-login-note svg { flex: none; margin-top: 1px; }
.hr-login .hr-login-note span { color: #20432F; }
.hr-login .signup-label { font-weight: 700; color: var(--hr-navy); }
.hr-login .form--control { min-height: 52px; border: 1.5px solid #C9D3D9; border-radius: 12px; font-family: 'Manrope', sans-serif; }
.hr-login #signin_form, .hr-login .hr-login-submit { display: block; width: 100%; min-height: 54px; margin-top: 8px; border: 0; border-radius: 12px; background: var(--hr-accent); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px; cursor: pointer; }
.hr-login #signin_form:hover, .hr-login .hr-login-submit:hover { background: var(--hr-accent-dark); }
.hr-login .bottom-register { display: block; margin-top: 18px; text-align: center; font-size: 15px; color: var(--hr-ink); }
.hr-login .bottom-register a { font-weight: 700; color: var(--hr-accent-dark); }
.hr-login .forgot-pass { font-weight: 600; color: var(--hr-accent-dark); }
.hr-login .sign-in-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; margin-top: 10px; border: 1.5px solid #C9D3D9; border-radius: 12px; background: #fff; font-weight: 700; color: var(--hr-navy); }
@media (max-width: 575.98px) { .hr-login .signup-wrapper { padding: 28px 20px 32px; border-radius: 18px; } }

/* One-time code input */
.hr-login .hr-otp-input { min-height: 60px; border: 1.5px solid #C9D3D9; border-radius: 12px; text-align: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 0.35em; color: var(--hr-navy); }
.hr-login .timer { margin: 18px 0 0; font-size: 14px; color: var(--hr-muted); }
.hr-login .timer #counter { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 22px; color: var(--hr-navy); }
.hr-login .resend-verify-code-wrap { margin-top: 18px; text-align: center; font-size: 15px; color: var(--hr-ink); }
.hr-login .resend-verify-code-wrap a { font-weight: 700; color: var(--hr-accent-dark); }
.hr-login .alert { border-radius: 12px; font-size: 14px; }

.hr-login .signup-title + .hr-login-sub { margin-top: -8px; }
