:root {
    --nora-rose-50: #fff7f8;
    --nora-rose-100: #ffedef;
    --nora-rose-200: #ffdbe3;
    --nora-rose-300: #f4b5c7;
    --nora-rose-400: #dd809d;
    --nora-rose-500: #c95f82;
    --nora-rose-600: #ab4d6d;
    --nora-ink: #3d2430;
    --nora-mute: #866877;
    --nora-border: #f0d9df;
    --nora-card: rgba(255, 255, 255, 0.94);
    --nora-shadow: 0 24px 60px rgba(143, 82, 104, 0.12);
}

.nora-booking-landing-page,
.nora-public-booking-page {
    background:
        radial-gradient(circle at top left, rgba(255, 211, 223, 0.42), transparent 22%),
        radial-gradient(circle at top right, rgba(255, 233, 216, 0.56), transparent 20%),
        linear-gradient(180deg, #fffaf8 0%, #fff5f7 100%);
}

.nora-booking-landing-page {
    padding: 86px 0 100px;
}

.nora-public-booking-page {
    padding: 56px 0 90px;
}

.nora-booking-landing-page .container,
.nora-public-booking-page .container {
    max-width: 1400px;
}

.nora-landing-shell {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.nora-landing-hero {
    margin-bottom: 42px;
}

.nora-landing-eyebrow,
.nora-section-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(220, 163, 183, 0.34);
    color: var(--nora-rose-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nora-landing-hero h1,
.nora-section-title,
.nora-hero-title,
.nora-summary-panel h4,
.nora-step-title {
    font-family: "Fraunces", serif;
}

.nora-landing-hero h1 {
    margin: 24px 0 18px;
    color: var(--nora-ink);
    font-size: 68px;
    line-height: 0.98;
}

.nora-landing-hero h1 span {
    display: block;
    color: var(--nora-rose-500);
    font-style: italic;
}

.nora-landing-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: #795d6a;
    font-size: 22px;
    line-height: 1.6;
}

.nora-landing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.nora-landing-card {
    display: block;
    text-align: left;
    text-decoration: none !important;
    background: var(--nora-card);
    border: 1px solid var(--nora-border);
    border-radius: 34px;
    padding: 32px;
    box-shadow: var(--nora-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.nora-landing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 62px rgba(143, 82, 104, 0.18);
}

.nora-landing-card.is-contract {
    border-color: #dce7df;
}

.nora-landing-icon {
    font-size: 36px;
    display: inline-flex;
    margin-bottom: 20px;
}

.nora-landing-title {
    color: var(--nora-ink);
    font-family: "Fraunces", serif;
    font-size: 40px;
    line-height: 1.05;
    margin-bottom: 14px;
}

.nora-landing-card p {
    margin: 0 0 22px;
    color: var(--nora-mute);
    font-size: 18px;
    line-height: 1.7;
}

.nora-landing-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}

.nora-landing-card.is-new .nora-landing-cta {
    background: #ffe5ec;
    color: var(--nora-rose-600);
}

.nora-landing-card.is-contract .nora-landing-cta {
    background: #eef6ef;
    color: #4f7d5f;
}

.nora-booking-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.nora-booking-switch {
    display: inline-flex;
    padding: 6px;
    background: rgba(255, 240, 244, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(223, 180, 194, 0.4);
}

.nora-booking-switch a {
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    color: #8f5d73;
    text-decoration: none !important;
}

.nora-booking-switch a.is-active {
    background: #fff;
    color: var(--nora-ink);
    box-shadow: 0 10px 24px rgba(143, 82, 104, 0.12);
}

.nora-booking-return,
.nora-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    text-decoration: none !important;
}

.nora-booking-return {
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid #eed8de;
    background: #fff;
    color: #7f6070 !important;
}

.nora-inline-link {
    margin-left: 12px;
    color: var(--nora-rose-600) !important;
}

.nora-booking-shell {
    display: grid;
    gap: 22px;
}

.nora-booking-card {
    background: var(--nora-card);
    border: 1px solid var(--nora-border);
    border-radius: 30px;
    box-shadow: var(--nora-shadow);
}

.nora-booking-card-inner {
    padding: 28px;
}

.nora-section-title {
    margin: 16px 0 0;
    font-size: 38px;
    line-height: 1.04;
    color: var(--nora-ink);
}

.nora-step-title {
    margin: 0;
    font-size: 31px;
    color: var(--nora-ink);
}

.nora-lookup-grid,
.nora-form-grid,
.nora-booking-grid {
    display: grid;
    gap: 18px;
}

.nora-lookup-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    margin-top: 26px;
}

.nora-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nora-contract-form-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
}

.nora-contract-primary-card .nora-booking-card-inner {
    padding: 24px;
}

.nora-date-picker-wrap {
    max-width: 420px;
}

.nora-date-input {
    min-height: 60px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.nora-form-grid .full {
    grid-column: 1 / -1;
}

.nora-booking-grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.92fr);
    align-items: start;
    gap: 14px;
}

.nora-field-label {
    display: block;
    margin-bottom: 10px;
    color: #8c5168;
    font-size: 14px;
    font-weight: 800;
}

.nora-input,
.nora-textarea {
    width: 100%;
    border-radius: 18px;
    border: 1px solid #ecd7dd;
    background: #fff;
    color: var(--nora-ink);
    font-size: 15px;
    padding: 15px 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nora-input:focus,
.nora-textarea:focus {
    outline: none;
    border-color: var(--nora-rose-400);
    box-shadow: 0 0 0 4px rgba(201, 95, 130, 0.14);
}

.nora-textarea {
    min-height: 110px;
    resize: vertical;
}

.nora-btn {
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.nora-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.nora-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.nora-btn-primary {
    background: linear-gradient(135deg, var(--nora-rose-500) 0%, var(--nora-rose-600) 100%);
    color: #fff;
    box-shadow: 0 16px 34px rgba(171, 77, 109, 0.24);
}

.nora-btn-secondary {
    background: #f9eef2;
    color: #8f5d73;
}

.nora-action-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.nora-info-card,
.nora-warning-card,
.nora-status-message,
.nora-empty-state,
.nora-payment-preview,
.nora-history-empty {
    border-radius: 24px;
    padding: 18px 20px;
}

.nora-info-card {
    background: #fff8fb;
    border: 1px solid #f2d8e2;
    color: #8a5a71;
}

.nora-warning-card {
    background: #fff7ea;
    border: 1px solid #f1deb0;
    color: #9a6d15;
}

.nora-status-message {
    display: none;
    background: #fef0f5;
    border: 1px solid #f2cad7;
    color: #8f4a63;
}

.nora-status-message.is-visible {
    display: block;
}

.nora-status-message.is-error {
    background: #fff1f0;
    border-color: #f2c5bd;
    color: #b14f3f;
}

.nora-hero-card {
    background: linear-gradient(135deg, #cc6e8d 0%, #a95071 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 28px 30px;
    border-radius: 32px;
    box-shadow: 0 26px 54px rgba(169, 80, 113, 0.24);
}

.nora-hero-title {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.02;
}

.nora-hero-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
}

.nora-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    min-width: 320px;
}

.nora-hero-stat {
    text-align: center;
}

.nora-hero-stat strong {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 6px;
}

.nora-hero-stat span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nora-progress-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #8b6172;
    font-weight: 800;
}

.nora-progress-bar {
    height: 12px;
    border-radius: 999px;
    background: #f1dde3;
    overflow: hidden;
}

.nora-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #e38eab 0%, #b75878 100%);
}

.nora-tab-strip {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: #fff4f7;
    border: 1px solid #f0d6df;
}

.nora-tab-btn {
    flex: 1;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #8c6575;
    font-weight: 800;
    padding: 14px 18px;
}

.nora-tab-btn.is-active {
    background: #fff;
    color: var(--nora-ink);
    box-shadow: 0 10px 24px rgba(143, 82, 104, 0.12);
}

.nora-tab-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.nora-tab-panel {
    display: none;
}

.nora-tab-panel.is-active {
    display: block;
}

.nora-stepper {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 6px 0 0;
}

.nora-step {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nora-step-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid #efd8df;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #9a6c7f;
    font-weight: 800;
    font-size: 18px;
}

.nora-step.is-active .nora-step-badge,
.nora-step.is-complete .nora-step-badge {
    background: linear-gradient(135deg, var(--nora-rose-500) 0%, var(--nora-rose-600) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px rgba(171, 77, 109, 0.24);
}

.nora-step-text strong,
.nora-step-text span {
    display: block;
}

.nora-step-text strong {
    color: var(--nora-ink);
}

.nora-step-text span {
    color: #957482;
    font-size: 13px;
}

.nora-step-line {
    width: 70px;
    height: 2px;
    background: #efdbe1;
}

.nora-step.is-complete + .nora-step-line {
    background: #d884a2;
}

.nora-time-grid,
.nora-payment-grid,
.nora-service-grid,
.nora-nurse-grid {
    display: grid;
    gap: 14px;
}

.nora-time-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nora-payment-grid,
.nora-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nora-nurse-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nora-choice {
    position: relative;
}

.nora-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nora-choice-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 98px;
    width: 100%;
    border-radius: 22px;
    border: 1px solid #f0dce2;
    background: #fff;
    cursor: pointer;
    padding: 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nora-choice-label:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(143, 82, 104, 0.08);
}

.nora-choice input:checked + .nora-choice-label,
.nora-choice-label.is-selected {
    border-color: var(--nora-rose-400);
    box-shadow: 0 14px 28px rgba(171, 77, 109, 0.14);
    background: #fff7fb;
}

.nora-choice input:disabled + .nora-choice-label,
.nora-choice-label.is-disabled {
    opacity: 0.42;
    cursor: not-allowed;
    background: #faf4f6;
    box-shadow: none;
    transform: none;
}

.nora-choice-btn {
    width: 100%;
    appearance: none;
    text-align: left;
}

.nora-service-title,
.nora-payment-title,
.nora-nurse-name {
    font-weight: 800;
    color: var(--nora-ink);
}

.nora-payment-caption,
.nora-time-extra,
.nora-nurse-meta {
    color: var(--nora-mute);
    font-size: 13px;
}

.nora-service-price {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd8e4 0%, #ffe9da 100%);
    color: var(--nora-rose-600);
    font-size: 13px;
    font-weight: 800;
}

.nora-time-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nora-time-main {
    font-size: 20px;
    color: var(--nora-ink);
    font-weight: 800;
}

.nora-time-extra {
    margin-top: 8px;
}

.nora-time-extra.is-surcharge {
    display: inline-flex;
    justify-content: center;
    min-width: 90px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ffe2a8;
    color: #9a6906;
    font-weight: 800;
}

.nora-nurse-card {
    gap: 14px;
    align-items: flex-start;
}

.nora-nurse-head {
    display: flex;
    gap: 14px;
    align-items: center;
}

.nora-nurse-avatar {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    object-fit: cover;
    background: #f7f1f4;
    border: 1px solid #f0dbe1;
}

.nora-nurse-slotline {
    margin-top: 6px;
}

.nora-nurse-slots,
.nora-nurse-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nora-nurse-slots {
    margin-top: 10px;
}

.nora-slot-chip,
.nora-nurse-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.nora-slot-chip {
    background: #fff0f4;
    color: var(--nora-rose-600);
}

.nora-nurse-tag {
    background: #f7eef2;
    color: #87596f;
}

.nora-summary-box {
    display: grid;
    gap: 16px;
    max-width: 420px;
    width: 100%;
    justify-self: end;
    position: sticky;
    top: 20px;
}

.nora-summary-panel {
    border-radius: 26px;
    border: 1px solid var(--nora-border);
    background: linear-gradient(180deg, #fffefd 0%, #fff8fa 100%);
    padding: 20px;
}

.nora-summary-panel h4 {
    margin: 0 0 16px;
    font-size: 22px;
    color: var(--nora-ink);
}

.nora-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid #f3e2e7;
}

.nora-summary-row:last-child {
    border-bottom: 0;
}

.nora-summary-row span {
    color: #8f7380;
}

.nora-summary-row strong {
    color: var(--nora-ink);
    text-align: right;
}

.nora-summary-total {
    padding-top: 12px;
    border-top: 1px dashed #eccfd8;
}

.nora-summary-total strong {
    font-family: "Fraunces", serif;
    font-size: 34px;
    color: var(--nora-rose-600);
}

.nora-payment-preview {
    background: #fff7fb;
    border: 1px solid #f1d8e1;
    color: #86596e;
}

.nora-payment-preview.is-pay-later {
    background: #fffaf3;
    border-color: #f1e2bb;
    color: #976c1a;
}

.nora-payment-preview.is-muted {
    background: #f9f4f6;
    border-color: #efdee4;
}

.nora-payment-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.nora-payment-head strong {
    color: var(--nora-ink);
    font-size: 17px;
}

.nora-payment-amount {
    font-family: "Fraunces", serif;
    font-size: 34px;
    color: var(--nora-rose-600);
}

.nora-payment-gridline {
    display: grid;
    gap: 12px;
}

.nora-payment-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f0d8e1;
}

.nora-payment-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.nora-payment-item span {
    color: #907582;
}

.nora-payment-item strong {
    color: var(--nora-ink);
    text-align: right;
}

.nora-payment-qr {
    margin-top: 16px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #f2dfe6;
    padding: 18px;
}

.nora-payment-qr img {
    width: 210px;
    max-width: 100%;
    height: auto;
}

.nora-empty-state {
    background: #fff9fb;
    border: 1px dashed #f0d6e0;
    color: #8a6074;
}

.nora-empty-state strong {
    display: block;
    color: var(--nora-ink);
    margin-bottom: 6px;
}

.nora-history-list {
    display: grid;
    gap: 16px;
}

.nora-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.nora-pagination-summary {
    color: #8d6f7c;
    font-size: 13px;
    font-weight: 700;
}

.nora-pagination-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nora-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #efd7e0;
    border-radius: 999px;
    background: #fff;
    color: #8a5b70;
    font-size: 13px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.nora-page-btn.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--nora-rose-500) 0%, var(--nora-rose-600) 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(171, 77, 109, 0.18);
}

.nora-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.nora-history-item,
.nora-history-empty {
    background: #fff;
    border: 1px solid #f0dce2;
    border-radius: 24px;
    padding: 18px 20px;
}

.nora-history-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 8px;
}

.nora-history-head strong {
    color: var(--nora-ink);
    font-size: 18px;
}

.nora-history-head span,
.nora-history-meta {
    color: var(--nora-mute);
}

.nora-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 14px;
}

.nora-status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

.nora-status-pill.is-confirmed {
    background: #e8f5e9;
    color: #2e7d32;
}

.nora-status-pill.is-completed {
    background: #e3f2fd;
    color: #1565c0;
}

.nora-status-pill.is-pending {
    background: #fff8e1;
    color: #f57f17;
}

.nora-status-pill.is-cancelled {
    background: #ffebee;
    color: #c62828;
}

.nora-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 999px;
    border: 1.5px solid #e5c84a;
    background: #fffbe6;
    color: #8a6d00;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}
.nora-cancel-btn:hover:not(:disabled) {
    background: #fff3b0;
    border-color: #c9a800;
    color: #6b5200;
}
.nora-cancel-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.nora-hidden {
    display: none !important;
}

@media (max-width: 1199px) {
    .nora-booking-grid,
    .nora-landing-grid {
        grid-template-columns: 1fr;
    }

    .nora-summary-box {
        max-width: none;
        justify-self: stretch;
    }

    .nora-landing-shell {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .nora-lookup-grid,
    .nora-time-grid,
    .nora-payment-grid,
    .nora-form-grid,
    .nora-service-grid,
    .nora-nurse-grid {
        grid-template-columns: 1fr;
    }

    .nora-hero-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .nora-hero-stats {
        width: 100%;
        min-width: 0;
    }

    .nora-stepper {
        flex-direction: column;
        align-items: flex-start;
    }

    .nora-step {
        width: 100%;
    }

    .nora-step-line {
        width: 2px;
        height: 28px;
        margin-left: 26px;
    }

    .nora-landing-hero h1 {
        font-size: 52px;
    }

    .nora-landing-hero p {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .nora-booking-landing-page {
        padding: 60px 0 72px;
    }

    .nora-public-booking-page {
        padding: 42px 0 68px;
    }

    .nora-booking-card-inner,
    .nora-hero-card,
    .nora-landing-card {
        padding: 22px;
    }

    .nora-section-title,
    .nora-hero-title {
        font-size: 30px;
    }

    .nora-step-title {
        font-size: 26px;
    }

    .nora-landing-hero h1 {
        font-size: 42px;
    }

    .nora-hero-stats {
        grid-template-columns: 1fr;
    }
}
