.provider-main { width: min(1050px, calc(100% - 36px)); margin: 34px auto 70px; }
.provider-auth-card, .provider-section { border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 12px 35px rgba(58,38,50,.05); }
.provider-auth-card { width: min(460px, 100%); margin: 8vh auto; padding: 27px; }
.provider-auth-card h1, .provider-dashboard-heading h1 { margin: 4px 0; font-size: 25px; }
.provider-lead, .provider-dashboard-heading p, .provider-section-help { margin: 4px 0 17px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.auth-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 18px 0; padding: 4px; border-radius: 9px; background: #f7f3f5; }
.auth-tabs button { min-height: 36px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 10px; }
.auth-tabs button.active { background: white; color: var(--rose-dark); box-shadow: 0 2px 7px rgba(40,35,42,.08); font-weight: 700; }
.provider-form { display: grid; gap: 12px; }
.provider-form label, .provider-event-form label { display: grid; gap: 5px; color: var(--ink); font-size: 10px; font-weight: 700; }
.provider-form label small { display: inline; color: var(--muted); font-weight: 400; }
.provider-form input, .provider-form select, .provider-event-form input, .provider-event-form select, .provider-event-form textarea { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); padding: 8px 10px; font: inherit; font-size: 10px; }
.provider-form .next-button { width: 100%; margin: 5px 0 0; }
.provider-status { min-height: 18px; margin: 10px 0 0; color: var(--rose-dark); font-size: 10px; line-height: 1.8; }
.setup-note { margin: 0; border-radius: 8px; background: #fbf7ef; color: #806b47; padding: 9px 10px; font-size: 9px; line-height: 1.9; }
.setup-note code { direction: ltr; unicode-bidi: isolate; }
.provider-dashboard-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.provider-dashboard-heading p { margin-bottom: 0; }
.provider-dashboard-heading .back-button { min-width: 90px; height: 38px; }
.provider-section { margin: 15px 0; padding: 19px; }
.provider-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.provider-section-heading h2 { margin: 2px 0 0; font-size: 16px; }
.provider-section-icon { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--rose-light); color: var(--rose-dark); padding: 0 7px; font-size: 9px; font-weight: 700; }
.provider-section-help { margin: 7px 0 13px; }
.provider-services-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.provider-service-card { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #fffdfd; padding: 12px; }
.provider-service-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.provider-service-heading > div { display: grid; gap: 3px; }
.provider-service-heading strong { font-size: 10px; }
.provider-service-heading small { color: var(--muted); font-size: 8px; }
.price-custom, .price-sample { border-radius: 999px; padding: 4px 7px; font-size: 8px; white-space: nowrap; }
.price-custom { background: #edf6ef; color: #47745a; }
.price-sample { background: #fbf3e8; color: #94733d; }
.provider-price-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 11px 0; }
.provider-price-fields label { display: grid; gap: 3px; color: var(--muted); font-size: 8px; }
.provider-price-fields input { min-width: 0; width: 100%; height: 34px; border: 1px solid var(--line); border-radius: 7px; padding: 5px 7px; font: inherit; font-size: 9px; }
.provider-service-availability { display: flex; align-items: center; gap: 6px; margin: 0 0 9px; color: var(--muted); font-size: 8px; }
.provider-service-availability input { width: 14px; height: 14px; margin: 0; accent-color: var(--green); }
.provider-save-button { width: 100%; min-height: 33px; border: 1px solid #e8cbd5; border-radius: 7px; background: #fff8fa; color: var(--rose-dark); font-size: 9px; font-weight: 700; }
.provider-save-button:hover { background: var(--rose); color: white; }
.provider-save-button:disabled { opacity: .6; cursor: wait; }
.provider-event-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding: 13px; border: 1px solid #f0e5e9; border-radius: 10px; background: #fffdfd; }
.provider-event-form textarea { min-height: 72px; resize: vertical; }
.provider-event-form .event-description { grid-column: 1 / -1; }
.provider-event-actions { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; }
.provider-event-actions .next-button, .provider-event-actions .back-button { min-width: 125px; height: 37px; margin: 0; }
.provider-events-list { display: grid; gap: 8px; margin-top: 12px; }
.provider-event-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 9px; padding: 11px; }
.provider-event-card-copy { min-width: 0; display: grid; gap: 4px; }
.provider-event-card-copy > div { display: flex; align-items: center; gap: 7px; }
.provider-event-card-copy > div small { color: var(--muted); font-size: 8px; }
.provider-event-card-copy > strong { font-size: 10px; }
.provider-event-card-copy > p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.8; }
.event-type-badge { border-radius: 999px; background: #faeaf0; color: var(--rose-dark); padding: 3px 7px; font-size: 8px; }
.event-type-badge.achievement { background: #f3edff; color: #7956ad; }
.event-type-badge.availability { background: #eef6f0; color: var(--green); }
.provider-event-card-actions { display: flex; flex: 0 0 auto; gap: 5px; }
.provider-event-card-actions button { min-height: 30px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--muted); padding: 0 8px; font-size: 8px; }
.provider-event-card-actions button[data-delete-event] { color: #a64c5d; }
.provider-events-empty { margin: 0; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); padding: 13px; font-size: 9px; text-align: center; }
.catalog-status { border: 1px solid #ead8b8; border-radius: 8px; background: #fbf7ef; color: #806b47; padding: 8px 11px; font-size: 9px; }
@media (max-width: 650px) {
  .provider-main { width: calc(100% - 24px); margin-top: 20px; }
  .provider-auth-card { margin: 5vh auto; padding: 20px; }
  .provider-dashboard-heading { align-items: flex-start; }
  .provider-services-list { grid-template-columns: 1fr; }
  .provider-section { padding: 14px; }
}
@media (max-width: 460px) {
  .provider-event-form { grid-template-columns: 1fr; }
  .provider-event-form .event-description, .provider-event-actions { grid-column: auto; }
  .provider-event-card { align-items: flex-start; flex-direction: column; }
}
