/* ==========================================================================
   SEGi Dental Society — Dental Care & Subsidized Pricelist (`css/dental-care.css`)
   ========================================================================== */

.page-dental-care {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   1. Dental Care Hero & Institutional Advisory
   -------------------------------------------------------------------------- */
.dental-hero {
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.dental-hero .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.35);
  border-radius: 9999px;
  color: var(--segi-teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.dental-hero h1 {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.9rem;
}

.dental-hero .hero-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

/* Institutional Training & Emergency Notice Banners */
.advisory-banners-wrap {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.advisory-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}

.advisory-student-clinic {
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.3);
  color: var(--text-main);
}

.advisory-emergency-alert {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--text-main);
}

.advisory-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.advisory-content h4 {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.advisory-student-clinic h4 {
  color: var(--segi-teal);
}

.advisory-emergency-alert h4 {
  color: #ef4444;
}

/* --------------------------------------------------------------------------
   2. Pricelist Toolbar & Category Filters
   -------------------------------------------------------------------------- */
.dental-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.pricelist-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.treatment-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.treatment-tab-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.treatment-tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: rgba(2, 132, 199, 0.35);
}

.treatment-tab-btn.active {
  background: var(--segi-teal);
  color: #ffffff;
  border-color: var(--segi-teal);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.pricelist-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.pricelist-search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.pricelist-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.pricelist-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.pricelist-search-input:focus {
  border-color: var(--segi-teal);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* --------------------------------------------------------------------------
   3. Treatment Cards & Table Grid
   -------------------------------------------------------------------------- */
.pricelist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .pricelist-grid {
    grid-template-columns: 1fr;
  }
}

.treatment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.treatment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.treatment-card-media {
  position: relative;
  width: 100%;
  height: 195px;
  overflow: hidden;
  background: var(--bg-card-hover, #1e293b);
  cursor: pointer;
}

.treatment-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-card:hover .treatment-card-img {
  transform: scale(1.06);
}

.treatment-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.treatment-category-badge {
  position: absolute;
  top: 0.85rem;
  right: 3.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20 !important;
  pointer-events: auto !important;
}

body.light-theme .treatment-category-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #0369a1;
  border-color: rgba(2, 132, 199, 0.35);
}

.treatment-card-preview-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.9;
  transition: all 0.2s ease;
  z-index: 2;
}

.treatment-card:hover .treatment-card-preview-tag {
  background: var(--segi-teal);
  border-color: var(--segi-teal);
  opacity: 1;
}

.treatment-card-body {
  padding: 1.35rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.treatment-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.treatment-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.treatment-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.treatment-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
}

.treatment-sessions {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.treatment-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  gap: 0.75rem;
}

.treatment-fee-block {
  display: flex;
  flex-direction: column;
}

.treatment-fee-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.treatment-fee-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-accent);
}

.btn-inquire-treatment {
  padding: 0.55rem 1rem;
  background: var(--maroon-base);
  color: #ffffff;
  border: 1px solid var(--maroon-bright);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-inquire-treatment:hover {
  background: var(--maroon-vibrant);
  box-shadow: 0 4px 14px rgba(158, 16, 39, 0.4);
}

/* --------------------------------------------------------------------------
   4. Patient Appointment Inquiry & Survey Form
   -------------------------------------------------------------------------- */
.inquiry-form-section {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .inquiry-form-section {
    padding: 1.5rem;
  }
}

.inquiry-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--segi-teal), var(--gold-accent), var(--maroon-bright));
}

.inquiry-form-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.inquiry-form-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.inquiry-form-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.patient-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .patient-form-grid {
    grid-template-columns: 1fr;
  }
}

.patient-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.patient-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.patient-field label .req {
  color: var(--maroon-bright);
}

.patient-field input,
.patient-field select,
.patient-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.patient-field input:focus,
.patient-field select:focus,
.patient-field textarea:focus {
  border-color: var(--segi-teal);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.radio-pills-group {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.radio-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.radio-pill-label:hover {
  background: rgba(255, 255, 255, 0.05);
}

.radio-pill-label input[type="radio"] {
  accent-color: var(--segi-teal);
  cursor: pointer;
}

.btn-submit-inquiry {
  padding: 0.95rem 2rem;
  background: linear-gradient(135deg, var(--maroon-base), var(--maroon-vibrant));
  color: #ffffff;
  border: 1px solid var(--maroon-bright);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(158, 16, 39, 0.4);
  transition: all 0.25s ease;
  margin-top: 1rem;
}

.btn-submit-inquiry:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(158, 16, 39, 0.55);
}

.btn-submit-inquiry:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   5. Clinic Details, Opening Hours & Location Info
   -------------------------------------------------------------------------- */
.clinic-info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.12);
  color: var(--segi-teal);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.info-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Vector Icon Enhancements */
.treatment-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.treatment-tab-btn svg,
.treatment-sessions svg,
.btn-submit-inquiry svg {
  flex-shrink: 0;
}

.advisory-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.advisory-icon svg {
  width: 24px;
  height: 24px;
}

.info-card-icon svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   5. Appointment Inquiry Confirmation Modal
   -------------------------------------------------------------------------- */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10050;
  overflow-y: auto;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.checkout-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.checkout-modal-card {
  width: 100%;
  max-width: 520px;
  background: var(--bg-card, #12141a);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 35px rgba(2, 132, 199, 0.15);
  overflow: hidden;
  position: relative;
  margin: auto;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal-overlay.is-open .checkout-modal-card {
  transform: translateY(0) scale(1);
}

.order-success-modal {
  text-align: center;
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.order-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.15);
  border: 2px solid var(--segi-teal);
  color: var(--segi-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(2, 132, 199, 0.3);
}

.order-success-icon svg {
  width: 34px;
  height: 34px;
}

.order-ref-pill {
  display: inline-block;
  padding: 0.45rem 1.35rem;
  background: var(--bg-main, #0b0c10);
  border: 1px solid rgba(2, 132, 199, 0.4);
  border-radius: 9999px;
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.order-guidelines-box {
  background: var(--bg-main, #0b0c10);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md, 12px);
  padding: 1.25rem;
  text-align: left;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  width: 100%;
  max-width: 460px;
}

.order-guidelines-box p {
  margin: 0.3rem 0;
}

.order-guidelines-box strong {
  color: var(--text-main);
}

.order-guidelines-box span {
  color: var(--text-main);
  font-weight: 600;
}

.btn-proceed-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 240px;
  padding: 0.85rem 1.75rem;
  background: var(--segi-teal);
  color: #ffffff;
  border: 1px solid var(--segi-teal);
  border-radius: var(--radius-md, 12px);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-proceed-checkout:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

body.light-theme .checkout-modal-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 35px rgba(2, 132, 199, 0.1);
}

body.light-theme .order-ref-pill {
  background: #f1f5f9;
  border-color: rgba(2, 132, 199, 0.4);
}

body.light-theme .order-guidelines-box {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   5. Treatment Procedure Visual Preview Modal
   -------------------------------------------------------------------------- */
.treatment-preview-modal-card {
  max-width: 580px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
  text-align: left;
}

.modal-close-corner {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-corner:hover {
  background: rgba(220, 38, 38, 0.85);
  border-color: rgba(220, 38, 38, 1);
  transform: scale(1.08);
}

.treatment-modal-media {
  position: relative;
  width: 100%;
  height: 250px;
  background: #0b0f19;
  overflow: hidden;
}

.treatment-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.treatment-modal-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.light-theme .treatment-modal-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #0369a1;
  border-color: rgba(2, 132, 199, 0.35);
}

.treatment-modal-body {
  padding: 1.5rem;
}

.treatment-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.treatment-modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.treatment-modal-fee-pill {
  background: rgba(2, 132, 199, 0.15);
  color: var(--segi-teal);
  border: 1px solid rgba(2, 132, 199, 0.35);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.treatment-modal-guide-box {
  background: rgba(2, 132, 199, 0.08);
  border-left: 3px solid var(--segi-teal);
  padding: 0.9rem 1.1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1rem;
}

body.light-theme .treatment-modal-guide-box {
  background: rgba(2, 132, 199, 0.06);
}

.treatment-modal-guide-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--segi-teal);
  margin-bottom: 0.4rem;
}

.treatment-modal-guide-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-main);
}

.treatment-modal-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.treatment-modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.treatment-modal-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.treatment-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-modal-inquire {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--segi-teal);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--segi-teal);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  text-align: center;
}

.btn-modal-inquire:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

/* --------------------------------------------------------------------------
   8. In-Page Administration Controls, Status Pills & Hidden Mode
   -------------------------------------------------------------------------- */
.treatment-admin-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: none;
  align-items: center;
  gap: 0.35rem;
  z-index: 10;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.4rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

body.is-admin .treatment-admin-actions {
  display: flex;
}

.treatment-btn-ctrl {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.treatment-btn-ctrl:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.treatment-btn-delete:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.treatment-btn-eye.is-hidden {
  color: #f59e0b;
}

.treatment-btn-save {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.treatment-btn-save:hover {
  background: rgba(16, 185, 129, 0.4);
}

.treatment-card.is-hidden-card {
  opacity: 0.55;
  border: 2px dashed rgba(245, 158, 11, 0.6) !important;
}

.treatment-hidden-watermark {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #f59e0b;
  color: #000000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Intake Availability Status Pills */
.treatment-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-top: 0.4rem;
  width: fit-content;
}

.status-available {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-waitlist {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-suspended {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Edit Mode Visual Focus */
.treatment-card.is-editing {
  border-color: var(--segi-teal) !important;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.35) !important;
}

.treatment-card.is-editing [contenteditable="true"] {
  outline: 1px dashed rgba(2, 132, 199, 0.5);
  outline-offset: 3px;
  border-radius: 3px;
  background: rgba(2, 132, 199, 0.04);
}

.treatment-card.is-editing [contenteditable="true"]:focus {
  outline: 2px solid var(--segi-teal);
  background: rgba(2, 132, 199, 0.08);
}

/* Add Treatment Placeholder */
.add-treatment-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 280px;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.015);
}

body.is-admin .add-treatment-placeholder {
  display: flex;
}

.add-treatment-placeholder:hover {
  border-color: var(--segi-teal);
  color: var(--segi-teal);
  background: rgba(2, 132, 199, 0.04);
  transform: translateY(-2px);
}

.add-treatment-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--segi-teal);
}

/* Photo Upload Trigger Overlay */
.treatment-photo-upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 4;
}

.treatment-card.is-editing .treatment-photo-upload-overlay {
  display: flex;
}


