@import url("/wp-content/uploads/traveldiv-ui/style.css");

/* ═══════════════════════════════════════════
   TD Live Trip UI v2 — Tabs + Day Cards + Budget
   Dark theme matching TravelDiv design system
   ═══════════════════════════════════════════ */

/* Force dark theme over Elementor/theme defaults */
/* Force dark theme over Elementor/theme defaults */
body,
body.flavor-flavor,
body.flavor-flavor .elementor-location-single,
body.flavor-flavor .site-main,
.elementor-element,
.elementor-widget-container,
.elementor-section,
.e-con,
.e-con-inner {
  background-color: transparent !important;
  color: var(--text, #eaf0ff) !important;
}
body {
  background:
    radial-gradient(900px 450px at 70% 15%, rgba(125,211,252,.18), transparent 55%),
    radial-gradient(650px 350px at 25% 30%, rgba(242,177,75,.18), transparent 55%),
    linear-gradient(180deg, #081025 0%, #050914 100%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

.td-live-wrapper {
  direction: rtl;
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px 60px;
}

/* Global input override — fix white inputs from theme */
.td-live-wrapper input,
.td-live-wrapper select,
.td-live-wrapper textarea,
.td-live-wrapper input[type="text"],
.td-live-wrapper input[type="number"] {
  background: rgba(0,0,0,.35) !important;
  color: var(--text, #eaf0ff) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 12px !important;
  font-family: inherit !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.td-live-wrapper input::placeholder,
.td-live-wrapper textarea::placeholder {
  color: rgba(255,255,255,.35) !important;
}
.td-live-wrapper input:focus,
.td-live-wrapper select:focus,
.td-live-wrapper textarea:focus {
  outline: none !important;
  border-color: rgba(242,177,75,.40) !important;
  box-shadow: 0 0 0 2px rgba(242,177,75,.10) !important;
}

/* ─── Header ─── */
.td-live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 18px 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
}
.td-live-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}
.td-live-header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.td-live-day-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.td-live-day-badge.active {
  background: linear-gradient(135deg, rgba(242,177,75,.22), rgba(125,211,252,.15));
  border: 1px solid rgba(242,177,75,.35);
  color: var(--brand, #f2b14b);
  animation: badgePulse 2.5s ease-in-out infinite;
}
.td-live-day-badge.before {
  background: rgba(125,211,252,.12);
  border: 1px solid rgba(125,211,252,.25);
  color: var(--brand2, #7dd3fc);
}
.td-live-day-badge.after {
  background: rgba(52,211,153,.12);
  border: 1px solid rgba(52,211,153,.25);
  color: var(--ok, #34d399);
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,177,75,.0); }
  50% { box-shadow: 0 0 18px 4px rgba(242,177,75,.12); }
}

.td-live-edit-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.10);
  opacity: .7;
}

/* ─── Trip Progress Bar ─── */
.td-live-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  margin-bottom: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
}
.td-live-progress-label {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted, rgba(234,240,255,.72));
}
.td-live-progress-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.td-live-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242,177,75,.95), rgba(125,211,252,.80));
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.td-live-progress-text {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  min-width: 56px;
  text-align: center;
}

/* ─── Tabs ─── */
.td-live-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  padding: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
}
.td-live-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted, rgba(234,240,255,.72));
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .25s ease;
  position: relative;
}
.td-live-tab:hover {
  background: rgba(255,255,255,.12);
  color: var(--text, #eaf0ff);
}
.td-live-tab.active {
  background: rgba(242,177,75,.12);
  border-color: rgba(242,177,75,.30);
  color: var(--brand, #f2b14b);
}
.td-live-tab .tab-icon {
  font-size: 18px;
}
.td-live-tab .tab-count {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  min-width: 22px;
  text-align: center;
}
.td-live-tab.active .tab-count {
  background: rgba(242,177,75,.20);
}

/* ─── Tab Content ─── */
.td-live-tab-content {
  display: none;
  animation: tabFade .35s ease;
}
.td-live-tab-content.active {
  display: block;
}
@keyframes tabFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Day Cards ─── */
.td-day-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.td-day-card {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.10);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.td-day-card.today {
  border-color: rgba(242,177,75,.35);
  box-shadow: 0 0 30px rgba(242,177,75,.08), inset 0 0 0 1px rgba(242,177,75,.10);
}
.td-day-card.past {
  opacity: .65;
}
.td-day-card.past:hover {
  opacity: .85;
}

.td-day-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  user-select: none;
  transition: background .2s ease;
}
.td-day-card-header:hover {
  background: rgba(255,255,255,.15);
}

.td-day-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.td-day-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 16px;
}
.td-day-card.today .td-day-num {
  background: linear-gradient(135deg, rgba(242,177,75,.90), rgba(242,177,75,.65));
  color: #161616;
  box-shadow: 0 4px 15px rgba(242,177,75,.25);
}
.td-day-card.future .td-day-num {
  background: rgba(255,255,255,.08);
  color: var(--muted, rgba(234,240,255,.72));
}
.td-day-card.past .td-day-num {
  background: rgba(52,211,153,.15);
  color: var(--ok, #34d399);
}

.td-day-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.td-day-info span {
  font-size: 12px;
  color: var(--muted, rgba(234,240,255,.72));
}

.td-day-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.td-day-today-tag {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(242,177,75,.20), rgba(242,177,75,.10));
  border: 1px solid rgba(242,177,75,.30);
  color: var(--brand, #f2b14b);
  animation: badgePulse 2.5s ease-in-out infinite;
}
.td-day-toggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  font-size: 14px;
  transition: transform .3s ease;
  color: var(--muted);
}
.td-day-card.expanded .td-day-toggle {
  transform: rotate(180deg);
}

.td-day-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s ease;
  padding: 0 20px;
}
.td-day-card.expanded .td-day-card-body {
  max-height: 2000px;
  padding: 16px 20px 20px;
}

/* ─── Sections inside day card ─── */
.td-day-section {
  margin-bottom: 16px;
}
.td-day-section:last-child {
  margin-bottom: 0;
}
.td-day-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted, rgba(234,240,255,.72));
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.td-day-section-title .section-icon {
  font-size: 16px;
}

/* ─── Checklist items ─── */
.td-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.15);
  margin-bottom: 6px;
  transition: all .2s ease;
}
.td-check-item:hover {
  border-color: rgba(255,255,255,.12);
}
.td-check-item.checked {
  opacity: .55;
}
.td-check-item.checked .td-check-title {
  text-decoration: line-through;
}

.td-check-box {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.20);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s ease;
  font-size: 13px;
  color: transparent;
  padding: 0;
  font-family: inherit;
}
.td-check-box:hover {
  border-color: rgba(242,177,75,.50);
  background: rgba(242,177,75,.08);
}
.td-check-item.checked .td-check-box {
  border-color: var(--ok, #34d399);
  background: rgba(52,211,153,.18);
  color: var(--ok, #34d399);
}

.td-check-content {
  flex: 1;
  min-width: 0;
}
.td-check-title {
  font-size: 14px;
  font-weight: 600;
  transition: opacity .2s ease;
}
.td-check-sub {
  font-size: 12px;
  color: var(--muted, rgba(234,240,255,.72));
  margin-top: 2px;
}
.td-check-sub a {
  color: var(--brand2, #7dd3fc);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.td-check-actions {
  display: flex;
  gap: 6px;
}
.td-check-del {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(251,113,133,.08);
  color: var(--danger, #fb7185);
  cursor: pointer;
  font-size: 12px;
  opacity: 0;
  transition: opacity .2s ease;
  font-family: inherit;
}
.td-check-item:hover .td-check-del {
  opacity: 1;
}

/* ─── Add item inline ─── */
.td-add-inline {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.td-add-inline input,
.td-add-inline select {
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(0,0,0,.35) !important;
  color: var(--text, #eaf0ff) !important;
  font-family: inherit;
  font-size: 13px;
  -webkit-appearance: none;
}
.td-add-inline input::placeholder {
  color: rgba(255,255,255,.35) !important;
}
.td-add-inline input:focus,
.td-add-inline select:focus {
  outline: none;
  border-color: rgba(242,177,75,.40) !important;
}
.td-add-inline button {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(242,177,75,.30);
  background: rgba(242,177,75,.12);
  color: var(--brand, #f2b14b);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 13px;
  white-space: nowrap;
  transition: all .2s ease;
}
.td-add-inline button:hover {
  background: rgba(242,177,75,.20);
}

/* ─── Empty state ─── */
.td-empty {
  text-align: center;
  padding: 24px;
  color: var(--muted, rgba(234,240,255,.72));
  font-size: 13px;
  opacity: .7;
}

/* ─── Day Stats (mini summary at header) ─── */
.td-day-stats {
  display: flex;
  gap: 12px;
}
.td-day-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.td-day-stat .stat-num {
  font-weight: 700;
  color: var(--text, #eaf0ff);
}

/* ═══════════════════════════════════════════
   TAB 2: BUDGET
   ═══════════════════════════════════════════ */

/* Budget Overview Cards */
.td-budget-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.td-budget-stat {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.td-budget-stat .stat-value {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
}
.td-budget-stat .stat-label {
  font-size: 12px;
  color: var(--muted);
}
.td-budget-stat.total .stat-value { color: var(--brand, #f2b14b); }
.td-budget-stat.spent .stat-value { color: var(--danger, #fb7185); }
.td-budget-stat.remaining .stat-value { color: var(--ok, #34d399); }
.td-budget-stat.daily .stat-value { color: var(--brand2, #7dd3fc); }

/* Budget set */
.td-budget-set {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  margin-bottom: 20px;
}
.td-budget-set label {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.td-budget-set input {
  flex: 1;
  max-width: 200px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(0,0,0,.35) !important;
  color: var(--text, #eaf0ff) !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.td-budget-set input:focus {
  outline: none;
  border-color: rgba(242,177,75,.40) !important;
}
.td-budget-set select {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(0,0,0,.35) !important;
  color: var(--text, #eaf0ff) !important;
  font-family: inherit;
}
.td-budget-set .td-budget-estimate {
  font-size: 12px;
  color: var(--muted);
  margin-right: auto;
}
.td-budget-set .td-budget-estimate strong {
  color: var(--brand2, #7dd3fc);
}

/* Charts area */
.td-budget-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.td-chart-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.08);
}
.td-chart-card h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
}
.td-chart-card canvas {
  width: 100% !important;
  max-height: 220px;
}

/* Donut chart (CSS-only fallback) */
.td-donut-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.td-donut {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.td-donut-center {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: var(--bg, #0b1220);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.td-donut-center .amount {
  font-size: 18px;
  font-weight: 800;
}
.td-donut-center .label {
  font-size: 10px;
  color: var(--muted);
}

.td-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.td-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.td-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}
.td-legend-item .legend-amount {
  margin-right: auto;
  font-weight: 700;
  font-size: 13px;
}

/* Daily bar chart (CSS) */
.td-bars-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.td-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.td-bar-label {
  width: 55px;
  text-align: left;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 600;
}
.td-bar-track {
  flex: 1;
  height: 22px;
  border-radius: 6px;
  background: rgba(255,255,255,.15);
  overflow: hidden;
  position: relative;
}
.td-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width .5s ease;
  min-width: 2px;
}
.td-bar-amount {
  width: 60px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
}

/* Expense add form */
.td-expense-form {
  display: grid;
  grid-template-columns: 1fr 1fr 100px 1.5fr auto;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  margin-bottom: 16px;
}
.td-expense-form select,
.td-expense-form input {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(0,0,0,.35) !important;
  color: var(--text, #eaf0ff) !important;
  font-family: inherit;
  font-size: 13px;
}
.td-expense-form input:focus,
.td-expense-form select:focus {
  outline: none;
  border-color: rgba(242,177,75,.40) !important;
}
.td-expense-form button {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(242,177,75,.30);
  background: rgba(242,177,75,.12);
  color: var(--brand, #f2b14b);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 13px;
  white-space: nowrap;
  transition: all .2s ease;
}
.td-expense-form button:hover {
  background: rgba(242,177,75,.20);
}

/* Expense list */
.td-expense-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.td-expense-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.15);
}
.td-expense-cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.td-expense-cat-icon.hotel { background: rgba(125,211,252,.15); }
.td-expense-cat-icon.food { background: rgba(242,177,75,.15); }
.td-expense-cat-icon.transport { background: rgba(52,211,153,.15); }
.td-expense-cat-icon.activity { background: rgba(168,85,247,.15); }
.td-expense-cat-icon.other { background: rgba(255,255,255,.08); }

.td-expense-info {
  flex: 1;
  min-width: 0;
}
.td-expense-info .exp-title {
  font-size: 14px;
  font-weight: 600;
}
.td-expense-info .exp-sub {
  font-size: 12px;
  color: var(--muted);
}
.td-expense-amount {
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}
.td-expense-del {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(251,113,133,.08);
  color: var(--danger, #fb7185);
  cursor: pointer;
  font-size: 12px;
  opacity: 0;
  transition: opacity .2s ease;
  font-family: inherit;
}
.td-expense-item:hover .td-expense-del {
  opacity: 1;
}

/* ═══════════════════════════════════════════
   TAB 3: INFO
   ═══════════════════════════════════════════ */
.td-info-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 14px;
}
.td-info-card h4 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}
.td-info-notes {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}
.td-info-notes:focus {
  outline: none;
  border-color: rgba(242,177,75,.40);
}
.td-info-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.td-info-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.15);
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .td-budget-overview {
    grid-template-columns: repeat(2, 1fr);
  }
  .td-budget-charts {
    grid-template-columns: 1fr;
  }
  .td-expense-form {
    grid-template-columns: 1fr 1fr;
  }
  .td-expense-form button {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .td-live-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .td-live-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .td-live-tab {
    min-width: 0;
    white-space: nowrap;
    font-size: 13px;
    padding: 11px 12px;
  }
  .td-budget-overview {
    grid-template-columns: 1fr 1fr;
  }
  .td-expense-form {
    grid-template-columns: 1fr;
  }
  .td-expense-form button {
    grid-column: span 1;
  }
  .td-donut-wrap {
    flex-direction: column;
  }
  .td-day-stats {
    display: none;
  }
}
/* ===========================
   CHECKLIST
   =========================== */
.td-checklist-section{overflow:hidden}
.td-cl-header{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:4px 0;user-select:none}
.td-cl-header-right{display:flex;align-items:center;gap:12px}
.td-cl-header-right h3{margin:0;font-size:16px}
.td-cl-counter{font-size:13px;font-weight:700;color:rgba(255,255,255,.5);background:rgba(255,255,255,.15);padding:4px 12px;border-radius:20px}
.td-cl-header-left{display:flex;align-items:center;gap:12px}
.td-cl-progress-mini{width:80px;height:6px;background:rgba(255,255,255,.1);border-radius:10px;overflow:hidden}
.td-cl-progress-fill{height:100%;background:linear-gradient(90deg,#34d399,#10b981);border-radius:10px;transition:width .4s;width:0}
.td-cl-arrow{font-size:12px;color:rgba(255,255,255,.4)}
.td-cl-body{padding-top:16px}
.td-cl-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:700px){.td-cl-grid{grid-template-columns:1fr}}
.td-cl-category{background:rgba(0,0,0,.2);border:1px solid rgba(255,255,255,.15);border-radius:14px;overflow:hidden}
.td-cl-cat-header{display:flex;align-items:center;gap:10px;padding:12px 16px;background:rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.15)}
.td-cl-cat-icon{font-size:18px}
.td-cl-cat-title{font-size:14px;font-weight:700;flex:1;color:var(--cat-color,#fff)}
.td-cl-cat-count{font-size:11px;font-weight:600;color:rgba(255,255,255,.4);background:rgba(255,255,255,.15);padding:3px 10px;border-radius:12px;transition:all .3s}
.td-cl-cat-count.complete{background:rgba(52,211,153,.15);color:#34d399}
.td-cl-items{padding:8px 10px;display:flex;flex-direction:column;gap:2px}
.td-cl-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;cursor:pointer;transition:all .2s}
.td-cl-item:hover{background:rgba(255,255,255,.12)}
.td-cl-item.checked{opacity:.55}
.td-cl-item.checked .td-cl-label{text-decoration:line-through;text-decoration-color:rgba(255,255,255,.3)}
.td-cl-check{position:absolute;opacity:0;width:0;height:0;pointer-events:none}
.td-cl-checkmark{width:22px;height:22px;border-radius:7px;border:2px solid rgba(255,255,255,.2);background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .25s;position:relative}
.td-cl-checkmark::after{content:'';width:6px;height:10px;border:solid transparent;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) scale(0);transition:transform .2s;margin-top:-2px}
.td-cl-check:checked + .td-cl-checkmark{background:linear-gradient(135deg,#34d399,#10b981);border-color:#34d399;box-shadow:0 2px 10px rgba(52,211,153,.25)}
.td-cl-check:checked + .td-cl-checkmark::after{border-color:#fff;transform:rotate(45deg) scale(1)}
.td-cl-label{font-size:13px;font-weight:500;color:rgba(255,255,255,.85);transition:all .2s;line-height:1.4}
.td-cl-footer{margin-top:16px;padding-top:12px;border-top:1px solid rgba(255,255,255,.15);text-align:center}
.td-cl-reset{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.5);padding:8px 20px;border-radius:10px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit}
.td-cl-reset:hover{background:rgba(255,255,255,.08);color:rgba(255,255,255,.8)}