/* ════════════════════════════════════════════════
   TARA CATERING MENU FORM — STYLESHEET
   Primary: #c71153  |  Black: #1a1a1a  |  White: #fff
   ════════════════════════════════════════════════ */


:root {
  --tc-primary:   #c71153;
  --tc-primary-d: #a00e44;
  --tc-primary-l: #fdf4f7;
  --tc-black:     #1a1a1a;
  --tc-dark:      #2d2d2d;
  --tc-gray:      #545454;
  --tc-border:    #e8dde3;
  --tc-white:     #ffffff;
  --tc-radius:    12px;
  --tc-shadow:    0 8px 40px rgba(199,17,83,.08);
  --tc-font-head: 'Roboto', system-ui, sans-serif;
  --tc-font-body: 'Roboto', system-ui, sans-serif;
}



/* ── WRAP ── */
.tc-wrap {
  font-family: var(--tc-font-body);
  color: var(--tc-black);
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ── STEP INDICATOR ── */
.tc-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 40px 0 36px;
  flex-wrap: nowrap;
}

.tc-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all .3s;
}

.tc-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e8dde3;
  color: #aaa;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  border: 2px solid transparent;
}

.tc-step-item.active .tc-step-num {
  background: var(--tc-primary);
  color: #fff;
  border-color: var(--tc-primary);
  box-shadow: 0 0 0 4px rgba(199,17,83,.15);
}

.tc-step-item.done .tc-step-num {
  background: var(--tc-black);
  color: #fff;
  border-color: var(--tc-black);
}

.tc-step-item span {
  font-size: 14px;
  color: var(--tc-gray);
  font-weight: 500;
  letter-spacing: .5px;
  white-space: nowrap;
}

.tc-step-item.active span { color: var(--tc-primary); font-weight: 600; }
.tc-step-item.done span   { color: var(--tc-black); }

.tc-step-divider {
  flex: 1;
  height: 2px;
  background: #e8dde3;
  margin: 0 8px;
  margin-bottom: 22px;
  max-width: 80px;
  min-width: 20px;
  transition: background .3s;
}

/* ── STEP PANELS ── */
.tc-step-panel {
  display: none;
  animation: tcFadeIn .35s ease;
}
.tc-step-panel.active { display: block; }

@keyframes tcFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0);  }
}

/* ── STEP TITLES ── */
.tc-step-title {
  font-family: var(--tc-font-head);
  font-size: 28px;
  font-weight: 600;
  color: var(--tc-black);
  margin: 0 0 6px;
  line-height: 1.2;
}

.tc-step-sub {
  font-size: 14px;
  color: var(--tc-gray);
  margin: 0 0 28px;
}

/* ── PACKAGE CARDS ── */
.tc-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.tc-pkg-card {
  position: relative;
  background: var(--tc-white);
  border: 2px solid var(--tc-border);
  border-radius: var(--tc-radius);
  padding: 24px 20px 20px;
  cursor: pointer;
  transition: all .25s;
  overflow: hidden;
  display: block;
}

.tc-pkg-card input[type="radio"] { display: none; }

.tc-pkg-card:hover {
  border-color: var(--tc-primary);
  box-shadow: var(--tc-shadow);
  transform: translateY(-2px);
}

.tc-pkg-card.selected {
  border-color: var(--tc-primary);
  background: var(--tc-primary-l);
  box-shadow: var(--tc-shadow);
}

.tc-pkg-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  background: var(--tc-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.tc-pkg-ribbon {
  position: absolute;
  top: 0; right: 0;
  background: var(--tc-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-bottom-left-radius: 8px;
}

.tc-pkg-badge {
  font-family: var(--tc-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--tc-primary);
  margin-bottom: 10px;
}

.tc-pkg-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--tc-black);
  margin-bottom: 16px;
  line-height: 1;
}

.tc-pkg-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--tc-gray);
}

.tc-pkg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.tc-pkg-list li {
  font-size: 12.5px;
  color: var(--tc-dark);
  padding: 4px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tc-pkg-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--tc-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.tc-pkg-select-btn {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--tc-primary);
  border: 1px solid var(--tc-primary);
  border-radius: 6px;
  padding: 8px;
  transition: all .2s;
}

.tc-pkg-card.selected .tc-pkg-select-btn {
  background: var(--tc-primary);
  color: #fff;
}

/* ── FIELDS ── */
.tc-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 43px 20px;
    margin-bottom: 35px;
}

.tc-field-full { grid-column: 1 / -1; }

.tc-field { display: flex; flex-direction: column; gap: 6px; }

.tc-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--tc-dark);
    letter-spacing: .5px;
    text-transform: uppercase;
    padding-bottom: 0px;
}

.tc-req { color: var(--tc-primary); }

.tc-field input, .tc-field select, .tc-field textarea {
    border: 1.5px solid #333 !important;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: var(--tc-font-body);
    color: var(--tc-black);
    background: var(--tc-white);
    transition: border .2s, box-shadow .2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.tc-field input:focus,
.tc-field select:focus,
.tc-field textarea:focus {
  border-color: var(--tc-primary);
  box-shadow: 0 0 0 3px rgba(199,17,83,.1);
}

.tc-field small { font-size: 11px; color: var(--tc-gray); }

.tc-field textarea { resize: vertical; min-height: 80px; }

/* ── DATE INPUT FIX ─────────────────────────────────────
   Makes the entire date field clickable and opens the
   native date picker regardless of where user clicks.
   pointer-events on the icon span is irrelevant here
   since date input has no wrapper icon — the key fixes
   are: cursor pointer, full width, no appearance override,
   and position relative so the picker trigger covers all.
──────────────────────────────────────────────────────── */
.tc-field input[type="date"] {
  cursor: pointer;
  width: 100%;
  position: relative;
  -webkit-appearance: none;          /* remove default Safari styling that can shift hit area */
  appearance: none;
  padding-right: 14px;               /* equal padding both sides — no fake icon eating space  */
}

/* Ensure the entire input row forwards clicks to the date picker,
   not just the text portion. Works in Chrome, Firefox, Safari, Edge. */
.tc-field input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;          /* invisible — covers the whole field as a click target */
  cursor: pointer;
}

/* ── ACCORDION ── */
.tc-accordion {
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border .2s;
}

.tc-accordion.open { border-color: var(--tc-primary); }

.tc-acc-head {
  width: 100%;
  background: var(--tc-white);
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}

.tc-acc-head:hover { background: var(--tc-primary-l); }

.tc-acc-icon { font-size: 18px; }

.tc-acc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--tc-black);
  flex: 1;
}

.tc-acc-counter {
  font-size: 12px;
  font-weight: 600;
  color: var(--tc-white);
  background: var(--tc-primary);
  border-radius: 20px;
  padding: 2px 10px;
}

.tc-acc-lock {
  font-size: 11px;
  color: var(--tc-gray);
  background: #f4f4f4;
  border-radius: 20px;
  padding: 2px 10px;
}

.tc-acc-arrow {
  font-size: 11px;
  color: var(--tc-gray);
  transition: transform .25s;
}

.tc-accordion.open .tc-acc-arrow { transform: rotate(180deg); }

.tc-acc-body {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--tc-border);
  background: var(--tc-white);
}

.tc-accordion.open .tc-acc-body { display: block; }

.tc-acc-note {
  font-size: 13px;
  color: var(--tc-gray);
  margin: 14px 0 10px;
  font-style: italic;
}
label, legend {
    padding-bottom: 3px;
	cursor:inherit;
}
.tc-sub-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tc-primary);
  margin: 16px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--tc-border);
}

.tc-sub-label.tc-veg { color: #2d8b52; }

/* ── CHECKBOXES ── */
.tc-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.tc-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}

.tc-check-item:hover { background: var(--tc-primary-l); }

.tc-check-item input { display: none; }

.tc-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid var(--tc-border);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  position: relative;
}

.tc-checkbox.tc-radio { border-radius: 50%; }

.tc-check-item input:checked + .tc-checkbox {
  background: var(--tc-primary);
  border-color: var(--tc-primary);
}

.tc-check-item input:checked + .tc-checkbox::after {
  content: '';
  width: 10px; height: 10px;
  background: white;
  border-radius: 2px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.tc-check-item input:checked + .tc-checkbox.tc-radio::after {
  clip-path: none;
  border-radius: 50%;
  width: 8px; height: 8px;
}

.tc-check-label {
  font-size: 13px;
  color: var(--tc-dark);
  line-height: 1.3;
}

.tc-check-item input:checked ~ .tc-check-label {
  color: var(--tc-primary);
  font-weight: 500;
}

/* ── LOCKED ── */
.tc-locked .tc-acc-head { opacity: .65; cursor: not-allowed; }
.tc-locked.unlocked .tc-acc-head { opacity: 1; cursor: pointer; }

/* ── ADD-ONS ── */
.tc-addons-wrap { margin-top: 24px; }

.tc-addons-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tc-gray);
  margin: 0 0 12px;
}

.tc-addons-grid {
  display: flex;
  gap: 12px;
}

.tc-addon-card {
  flex: 1;
  border: 1.5px solid var(--tc-border);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tc-addon-card:hover {
  border-color: var(--tc-primary);
  background: var(--tc-primary-l);
}

.tc-addon-card input { display: none; }

.tc-addon-card.selected {
  border-color: var(--tc-primary);
  background: var(--tc-primary-l);
}

.tc-addon-icon { font-size: 24px; }

.tc-addon-name { font-size: 12px; font-weight: 600; color: var(--tc-dark); }

/* ── NAVIGATION ── */
.tc-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--tc-border);
}

.tc-btn-next, .tc-btn-back, .tc-btn-submit {
    font-family: var(--tc-font-body);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0px 28px;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .3px;
    height: 45px;
}

.tc-btn-next {
  background: var(--tc-primary);
  color: #fff;
}

.tc-btn-next:hover {
  background: var(--tc-primary-d);
  transform: translateX(2px);
}

.tc-btn-back {
  background: transparent;
  color: var(--tc-gray);
  border: 1.5px solid #000;
}

.tc-btn-back:hover {
  border-color: var(--tc-black);
  color: var(--tc-black);
}

.tc-btn-submit {
    background: var(--tc-black);
    color: #fff;
    padding: 0px 36px;
    font-size: 15px;
}

.tc-btn-submit:hover {
  background: var(--tc-primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(199,17,83,.3);
}

.tc-btn-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* ── SUMMARY BOX ── */
.tc-summary-box {
  background: var(--tc-white);
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.tc-sum-header {
  background: var(--tc-black);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tc-sum-header h3 {
  margin: 0;
  color: var(--tc-white);
  font-family: var(--tc-font-head);
  font-size: 18px;
  font-weight: 600;
}

.tc-sum-pkg-badge {
  background: var(--tc-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
}

.tc-sum-meta {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--tc-border);
}

.tc-sum-meta-item {
  flex: 1;
  padding: 14px 24px;
  border-right: 1px solid var(--tc-border);
}

.tc-sum-meta-item:last-child { border-right: none; }

.tc-sum-meta-label {
  font-size: 11px;
  color: var(--tc-gray);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.tc-sum-meta-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--tc-black);
}

.tc-sum-sections { padding: 16px 24px; }

.tc-sum-section { margin-bottom: 14px; }

.tc-sum-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tc-primary);
  margin-bottom: 6px;
}

.tc-sum-section-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tc-sum-tag {
  background: var(--tc-primary-l);
  color: var(--tc-primary);
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  padding: 4px 12px;
  border: 1px solid rgba(199,17,83,.2);
}

.tc-sum-empty {
  color: #ccc;
  font-size: 13px;
  font-style: italic;
}

/* ── SUBMIT NOTE ── */
.tc-submit-note {
  background: var(--tc-primary-l);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 4px;
}

.tc-submit-note p {
  margin: 0;
  font-size: 13px;
  color: var(--tc-dark);
  line-height: 1.6;
}

/* ── FORM MESSAGE ── */
.tc-form-msg {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
}

.tc-form-msg.success {
  background: #e8f5e9;
  color: #2d7a3a;
  border: 1px solid #a5d6a7;
}

.tc-form-msg.error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5a5a1;
}

/* ── SPINNER ── */
.tc-submit-spinner {
  animation: tcDots 1s infinite;
  letter-spacing: 3px;
}

@keyframes tcDots {
  0%, 100% { opacity: .3; }
  50%       { opacity: 1;  }
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {

  .tc-steps-bar { gap: 0; }
  .tc-step-divider { max-width: 24px; min-width: 8px; }
  .tc-step-item span { font-size: 9px; }
  .tc-step-num { width: 30px; height: 30px; font-size: 12px; }

  .tc-packages-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tc-fields-grid {
    grid-template-columns: 1fr;
  }

  .tc-check-grid {
    grid-template-columns: 1fr;
  }

  .tc-addons-grid { flex-direction: column; }

  .tc-sum-meta { flex-direction: column; }
  .tc-sum-meta-item { border-right: none; border-bottom: 1px solid var(--tc-border); }

  .tc-step-title { font-size: 22px; }

  .tc-nav-row { flex-direction: column; gap: 10px; }
  .tc-btn-next, .tc-btn-back, .tc-btn-submit { width: 100%; text-align: center; }
}