/* ============================================
   TASKDOOR DESIGN SYSTEM
   Tüm component'ler bu dosyayı kullanır
   ============================================ */

/* --- TOKENS --- */
:root {
  --td-primary: #E2660D;
  --td-primary-dark: #B84E0A;
  --td-primary-light: #FDECDD;
  --td-primary-fg: #ffffff;
  --td-bg: #ffffff;
  --td-card: #f8fafc;
  --td-border: rgba(0,0,0,0.08);
  --td-text: #0f172a;
  --td-muted: #64748b;
  --td-secondary: #f1f5f9;
  --td-radius: 12px;
  --td-radius-lg: 16px;
  --td-shadow: 0 4px 24px rgba(0,0,0,0.08);
  --td-font: 'Inter', 'Nunito', system-ui, sans-serif;
}
/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--td-font); background: var(--td-bg); color: var(--td-text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- LAYOUT --- */
.td-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.td-section {
  padding: 5rem 0;
}
.td-section--light { background: var(--td-bg); }
.td-section--card  { background: var(--td-card); }

/* --- GRID --- */
.td-grid { display: grid; gap: 1.5rem; }
.td-grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.td-grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* --- SECTION HEADER --- */
.td-section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.td-section__header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  flex-wrap: wrap;
  gap: 1rem;
}
.td-section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.td-section__sub {
  color: var(--td-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* --- HERO --- */
.td-hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: var(--td-bg);
}
.td-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.td-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--td-bg) 50%, transparent);
}
.td-hero__blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.td-hero__blur--left  { width: 400px; height: 400px; top: -100px; left: -100px; background: var(--td-primary); }
.td-hero__blur--right { width: 500px; height: 500px; bottom: -100px; right: -100px; background: var(--td-primary); }

.td-hero__inner { position: relative; text-align: center; }

.td-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--td-border);
  background: var(--td-secondary);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--td-muted);
  margin-bottom: 1.5rem;
}
.td-badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--td-primary);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.td-text-primary { color: var(--td-primary); }

.td-hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.td-hero__sub {
  color: var(--td-muted);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

/* --- SEARCH --- */
.td-search {
  display: flex;
  gap: 0.75rem;
  background: var(--td-card);
  border: 1px solid var(--td-border);
  border-radius: var(--td-radius-lg);
  padding: 0.75rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  flex-wrap: wrap;
}
.td-search__field {
  flex: 1;
  min-width: 180px;
  position: relative;
}
.td-search__icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--td-muted);
  width: 18px; height: 18px;
}
.td-search__input {
  width: 100%;
  height: 48px;
  background: var(--td-secondary);
  border: none;
  border-radius: 10px;
  padding: 0 1rem 0 2.75rem;
  color: var(--td-text);
  font-size: 0.9rem;
  font-family: var(--td-font);
  outline: none;
  transition: box-shadow 0.2s;
}
.td-search__input::placeholder { color: var(--td-muted); }
.td-search__input:focus { box-shadow: 0 0 0 2px var(--td-primary); }

/* --- BUTTONS --- */
.td-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  height: 48px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: var(--td-font);
}
.td-btn--primary  { background: var(--td-primary); color: var(--td-primary-fg); }
.td-btn--primary:hover { background: var(--td-primary-dark); }
.td-btn--secondary { background: var(--td-text); color: var(--td-bg); }
.td-btn--secondary:hover { opacity: 0.9; }
.td-btn--outline { border-color: var(--td-border); color: var(--td-text); background: transparent; }
.td-btn--outline:hover { border-color: var(--td-primary); color: var(--td-primary); }
.td-btn--ghost { border-color: rgba(255,255,255,0.3); color: #fff; background: transparent; }
.td-btn--ghost:hover { background: rgba(255,255,255,0.1); }
.td-btn--lg { height: 52px; padding: 0 2rem; font-size: 1rem; }

/* --- TAGS --- */
.td-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--td-border);
  background: var(--td-secondary);
  padding: 0.3rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--td-muted);
  transition: all 0.2s;
}
.td-tag:hover { border-color: var(--td-primary); color: var(--td-text); }
.td-tag--sm { padding: 0.2rem 0.625rem; font-size: 0.75rem; border-radius: 6px; }

/* --- HERO POPULAR & STATS --- */
.td-hero__popular {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--td-muted);
  margin-bottom: 3rem;
}

.td-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid var(--td-border);
  padding-top: 2rem;
}
.td-stats__item { text-align: center; }
.td-stats__num { font-size: 1.5rem; font-weight: 700; }
.td-stats__label { font-size: 0.8rem; color: var(--td-muted); }
.td-stats__divider { width: 1px; height: 2rem; background: var(--td-border); display: none; }
@media(min-width:640px){ .td-stats__divider { display: block; } }

/* --- CATEGORY CARD --- */
.td-card--category {
  border: 1px solid var(--td-border);
  border-radius: var(--td-radius-lg);
  background: var(--td-card);
  overflow: hidden;
  transition: all 0.2s;
  display: block;
}
.td-card--category:hover {
  border-color: var(--td-primary);
  box-shadow: 0 8px 32px rgba(124,58,237,0.12);
  transform: translateY(-2px);
}
.td-card__img {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--td-secondary);
}
.td-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.td-card--category:hover .td-card__img img { transform: scale(1.05); }
.td-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--td-card) 0%, transparent 60%);
}
.td-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--td-secondary);
}
.td-card__icon { font-size: 3rem; opacity: 0.3; }
.td-card__body { padding: 1.25rem; }
.td-card__title { font-size: 1rem; font-weight: 600; margin-bottom: 0.375rem; }
.td-card__desc { font-size: 0.825rem; color: var(--td-muted); margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.td-card__footer { display: flex; align-items: center; justify-content: space-between; }
.td-card__count { font-size: 0.8rem; color: var(--td-muted); }
.td-card__arrow { color: var(--td-muted); transition: transform 0.2s; }
.td-card--category:hover .td-card__arrow { transform: translateX(4px); color: var(--td-primary); }
.td-card--skeleton { height: 260px; background: linear-gradient(90deg, var(--td-secondary) 25%, var(--td-card) 50%, var(--td-secondary) 75%); background-size: 200%; animation: shimmer 1.5s infinite; border-radius: var(--td-radius-lg); }
@keyframes shimmer { 0%{background-position:200%} 100%{background-position:-200%} }

/* --- FEATURE CARD --- */
.td-feature {
  position: relative;
  border: 1px solid var(--td-border);
  border-radius: var(--td-radius-lg);
  background: var(--td-card);
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.2s;
}
.td-feature:hover { border-color: var(--td-primary); }
.td-feature__num {
  position: absolute;
  top: -12px; left: 1.25rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--td-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.td-feature__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--td-primary-light);
  color: var(--td-primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.td-feature__title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.td-feature__desc { font-size: 0.825rem; color: var(--td-muted); line-height: 1.6; }

/* --- HOW IT WORKS STEPS --- */
.td-hiw { margin-top: 4rem; }
.td-hiw__title { text-align: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; }
.td-hiw__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}
.td-hiw__line {
  display: none;
  position: absolute;
  top: 32px; left: 0; right: 0;
  height: 1px;
  background: var(--td-border);
}
@media(min-width:768px){ .td-hiw__line { display: block; } }
.td-hiw__step { text-align: center; }
.td-hiw__num {
  position: relative;
  z-index: 1;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--td-primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  border: 4px solid var(--td-bg);
}
.td-hiw__step-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.td-hiw__step-desc { font-size: 0.825rem; color: var(--td-muted); }

/* --- TASKER CARD --- */
.td-tasker-card {
  border: 1px solid var(--td-border);
  border-radius: var(--td-radius-lg);
  background: var(--td-bg);
  overflow: hidden;
  transition: all 0.2s;
  display: block;
}
.td-tasker-card:hover {
  border-color: var(--td-primary);
  box-shadow: 0 8px 32px rgba(124,58,237,0.12);
}
.td-tasker-card__top {
  background: var(--td-secondary);
  padding: 1.5rem;
  text-align: center;
}
.td-tasker-card__avatar {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--td-card);
  margin: 0 auto 0.75rem;
  overflow: visible;
  display: flex; align-items: center; justify-content: center;
}
.td-tasker-card__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.td-tasker-card__initials { font-size: 1.5rem; font-weight: 700; color: var(--td-muted); }
.td-tasker-card__verified {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--td-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--td-secondary);
}
.td-badge--elite {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(124,58,237,0.15);
  color: var(--td-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.td-tasker-card__body { padding: 1rem; }
.td-tasker-card__name { font-size: 1rem; font-weight: 600; margin-bottom: 0.375rem; transition: color 0.2s; }
.td-tasker-card:hover .td-tasker-card__name { color: var(--td-primary); }
.td-tasker-card__location { display: flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: var(--td-muted); margin-bottom: 0.75rem; }
.td-tasker-card__rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.td-star { color: var(--td-primary); }
.td-tasker-card__rating-num { font-weight: 600; font-size: 0.9rem; }
.td-tasker-card__reviews { font-size: 0.8rem; color: var(--td-muted); }
.td-tasker-card__skills { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 0.875rem; }
.td-tasker-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--td-border);
  padding-top: 0.75rem;
}
.td-tasker-card__price { font-size: 1.1rem; font-weight: 700; }
.td-tasker-card__price small { font-size: 0.75rem; font-weight: 400; color: var(--td-muted); }
.td-tasker-card__tasks { font-size: 0.75rem; color: var(--td-muted); }
.td-tasker-card--skeleton { height: 320px; background: linear-gradient(90deg, var(--td-secondary) 25%, var(--td-card) 50%, var(--td-secondary) 75%); background-size: 200%; animation: shimmer 1.5s infinite; border-radius: var(--td-radius-lg); }

/* --- CTA --- */
.td-cta {
  background: var(--td-primary);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.td-cta__bg-circle {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.td-cta__bg-circle--right { top: -100px; right: -80px; }
.td-cta__bg-circle--left { bottom: -100px; left: -80px; }
.td-cta__content { position: relative; }
.td-cta__title { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; color: white; margin-bottom: 1rem; letter-spacing: -0.02em; }
.td-cta__sub { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.td-cta__actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* --- RESPONSIVE --- */
@media(max-width: 768px) {
  .td-section { padding: 3rem 0; }
  .td-search { flex-direction: column; }
  .td-search .td-btn { width: 100%; justify-content: center; }
  .td-section__header--row { flex-direction: column; align-items: flex-start; }
}

.td-footer__social { display:flex; gap:0.75rem; margin-top:1rem; }
.td-footer__social-link { width:36px; height:36px; border-radius:8px; background:var(--td-secondary); border:1px solid var(--td-border); display:flex; align-items:center; justify-content:center; color:var(--td-muted); transition:all 0.2s; }
.td-footer__social-link:hover { background:var(--td-primary); border-color:var(--td-primary); color:white; }

/* --- PAGE HEADER --- */
.td-page-header { background: var(--td-secondary); padding: 3rem 0 2rem; border-bottom: 1px solid var(--td-border); }
.td-page-header__title { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.td-page-header__sub { color: var(--td-muted); margin-bottom: 1.5rem; }
.td-search--page { max-width: 100%; }

/* --- SERVICES LAYOUT --- */
.td-services-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; padding: 2rem 0; }
@media(max-width:768px) { .td-services-layout { grid-template-columns: 1fr; } }

/* --- FILTERS --- */
.td-filters { position: sticky; top: 80px; height: fit-content; }
.td-filters__section { margin-bottom: 2rem; border: 1px solid var(--td-border); border-radius: var(--td-radius-lg); padding: 1.25rem; background: var(--td-card); }
.td-filters__title { font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; color: var(--td-text); }
.td-filters__list { display: flex; flex-direction: column; gap: 0.25rem; }
.td-filters__item { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0.75rem; border-radius: 8px; cursor: pointer; font-size: 0.875rem; color: var(--td-muted); transition: all 0.15s; }
.td-filters__item:hover { background: var(--td-secondary); color: var(--td-text); }
.td-filters__item.active { background: var(--td-primary-light); color: var(--td-primary); font-weight: 600; }
.td-filters__count { font-size: 0.75rem; background: var(--td-secondary); padding: 0.1rem 0.5rem; border-radius: 999px; }
@media(max-width:768px) { .td-filters { position: static !important; top: auto !important; order: 2; } .td-services-content { order: 1; } }

/* --- SERVICE CARD --- */
.td-service-card { display: block; border: 1px solid var(--td-border); border-radius: var(--td-radius-lg); background: var(--td-card); overflow: hidden; transition: all 0.2s; }
.td-service-card:hover { border-color: var(--td-primary); box-shadow: 0 8px 32px rgba(22,163,74,0.1); transform: translateY(-2px); }
.td-service-card__img { height: 180px; overflow: hidden; background: var(--td-secondary); position: relative; }
.td-service-card__rating-badge { position: absolute; bottom: 10px; left: 10px; display: flex; align-items: center; gap: 4px; background: rgba(0,0,0,0.6); color: #fff; padding: 4px 8px; border-radius: 16px; font-size: 12px; font-weight: 600; z-index: 2; }
.td-service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.td-service-card:hover .td-service-card__img img { transform: scale(1.05); }
.td-service-card__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.td-service-card__body { padding: 1rem; }
.td-service-card__title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.375rem; }
.td-service-card__desc { font-size: 0.8rem; color: var(--td-muted); margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.td-service-card__footer { display: flex; align-items: center; justify-content: space-between; }
.td-service-card__rating { display: flex; align-items: center; gap: 0.25rem; font-size: 0.85rem; font-weight: 600; }
.td-service-card__price { font-size: 1rem; font-weight: 700; color: var(--td-primary); }

/* --- TOOLBAR --- */
.td-services-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.td-services-count { font-size: 0.875rem; color: var(--td-muted); }

/* --- PAGINATION --- */
.td-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }

/* --- EMPTY --- */
.td-empty { text-align: center; padding: 4rem 2rem; color: var(--td-muted); }
.td-empty p { margin-top: 1rem; font-size: 1rem; }

/* --- FOOTER SIMPLE --- */
.td-footer__bottom-simple { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; border-top: 1px solid var(--td-border); font-size: 0.875rem; color: var(--td-muted); }
.td-footer__legal { display: flex; gap: 1.5rem; }
.td-footer__legal a { color: var(--td-muted); transition: color 0.2s; }
.td-footer__legal a:hover { color: var(--td-primary); }

/* --- DASHBOARD --- */
.td-dashboard { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; padding: 2rem 0; max-width: 1200px; margin: 0 auto; }
@media(max-width:768px) { .td-dashboard { grid-template-columns: 1fr; } }

.td-dash-sidebar { position: sticky; top: 80px; height: fit-content; }
@media(max-width:768px) { .td-dash-sidebar { position: static; } }
.td-dash-profile { display: flex; align-items: center; gap: 0.75rem; padding: 1.25rem; background: var(--td-card); border: 1px solid var(--td-border); border-radius: var(--td-radius-lg); margin-bottom: 1rem; }
.td-dash-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--td-primary); color: white; font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.td-dash-name { font-size: 0.9rem; font-weight: 600; color: var(--td-text); margin: 0; }
.td-dash-email { font-size: 0.775rem; color: var(--td-muted); margin: 0; }

.td-dash-nav { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1rem; }
.td-dash-nav__item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 10px; cursor: pointer; font-size: 0.875rem; color: var(--td-muted); transition: all 0.15s; text-decoration: none; }
.td-dash-nav__item:hover { background: var(--td-secondary); color: var(--td-text); }
.td-dash-nav__item.active { background: var(--td-primary-light); color: var(--td-primary); font-weight: 600; }
.td-dash-nav__badge { margin-left: auto; background: var(--td-primary); color: white; font-size: 0.75rem; padding: 0.1rem 0.5rem; border-radius: 999px; }

.td-dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.td-dash-title { font-size: 1.5rem; font-weight: 700; color: var(--td-text); margin: 0; }
.td-dash-filters { display: flex; gap: 0.5rem; }
.td-dash-filter { padding: 0.4rem 1rem; border-radius: 999px; border: 1px solid var(--td-border); background: transparent; font-size: 0.825rem; cursor: pointer; color: var(--td-muted); transition: all 0.15s; font-family: var(--td-font); }
.td-dash-filter.active { background: var(--td-primary); color: white; border-color: var(--td-primary); }

.td-dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.td-dash-stat { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: var(--td-card); border: 1px solid var(--td-border); border-radius: var(--td-radius-lg); }
.td-dash-stat__num { font-size: 1.5rem; font-weight: 700; color: var(--td-text); margin: 0; }
.td-dash-stat__label { font-size: 0.775rem; color: var(--td-muted); margin: 0; }

.td-booking-list { display: flex; flex-direction: column; gap: 0.75rem; }
.td-booking-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: var(--td-card); border: 1px solid var(--td-border); border-radius: var(--td-radius-lg); transition: border-color 0.2s; }
.td-booking-card:hover { border-color: var(--td-primary); }
.td-booking-card__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--td-secondary); overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--td-muted); flex-shrink: 0; }
.td-booking-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.td-booking-card__info { flex: 1; }
.td-booking-card__title { font-size: 0.95rem; font-weight: 600; color: var(--td-text); margin: 0 0 0.25rem; }
.td-booking-card__provider { font-size: 0.8rem; color: var(--td-muted); margin: 0 0 0.25rem; }
.td-booking-card__meta { display: flex; gap: 1rem; font-size: 0.775rem; color: var(--td-muted); }
.td-booking-card__right { text-align: right; }
.td-booking-card__price { font-size: 1.1rem; font-weight: 700; color: var(--td-text); margin: 0 0 0.25rem; }
.td-booking-card__status { font-size: 0.75rem; padding: 0.2rem 0.75rem; border-radius: 999px; font-weight: 500; }
.td-booking-card__status.completed { background: #FDECDD; color: #E2660D; }
.td-booking-card__status.pending { background: #fef9c3; color: #ca8a04; }
.td-booking-card__status.cancelled { background: #fee2e2; color: #dc2626; }
.td-booking-card__status.accept, .td-booking-card__status.on_going, .td-booking-card__status.in_progress { background: #dbeafe; color: #2563eb; }
.td-booking-card__status.hold, .td-booking-card__status.pending_approval { background: #ffedd5; color: #c2410c; }
.td-booking-card__status.rejected { background: #fee2e2; color: #dc2626; }
.td-booking-status-badge { display: inline-block; font-size: 0.8rem; padding: 0.3rem 0.9rem; border-radius: 999px; font-weight: 600; text-transform: capitalize; }

.td-dash-profile-form { background: var(--td-card); border: 1px solid var(--td-border); border-radius: var(--td-radius-lg); padding: 2rem; }
.td-dash-profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--td-primary); color: white; font-size: 1.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.td-grid--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width:600px) { .td-grid--2 { grid-template-columns: 1fr; } .td-dash-stats { grid-template-columns: 1fr; } }

/* ===== Extracted from HEADER (moved out of Vue-mounted #landing-app region) ===== */
/* Matches the header used on the new Vue pages (resources/js/Default.vue) 1:1,
           so old Blade pages look identical to the redesigned homepage. */
        .td-header {
            position: sticky; top: 0; z-index: 100;
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--td-border, rgba(0,0,0,0.08));
            font-family: var(--td-font);
        }
        .td-header__inner {
            display: flex; align-items: center;
            height: 64px; gap: 2rem;
        }
        .td-header__inner .navbar-brand { display: flex; align-items: center; gap: 0.625rem; }
        .td-header__nav { display: none; align-items: center; gap: 2rem; flex: 1; }
        @media(min-width:992px){ .td-header__nav { display: flex; } }
        .td-header__link { font-size: 0.875rem; color: var(--td-muted, #64748b); transition: color 0.2s; white-space: nowrap; }
        .td-header__link:hover, .td-header__link.active { color: var(--td-primary, #E2660D); }
        .td-header__actions { margin-left: auto; display: none; align-items: center; gap: 0.6rem; }
        @media(min-width:992px){ .td-header__actions { display: flex; } }
        .td-header__icon-btn {
            width: 38px; height: 38px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: var(--td-muted, #64748b); transition: all 0.2s;
        }
        .td-header__icon-btn:hover { background: var(--td-secondary, #f1f5f9); color: var(--td-primary, #E2660D); }
        .td-header__avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2px solid var(--td-border, rgba(0,0,0,0.08)); transition: border-color 0.2s; }
        .td-header__avatar:hover { border-color: var(--td-primary, #E2660D); }
        .td-header__dropdown {
            background: var(--td-bg, #fff) !important;
            border: 1px solid var(--td-border, rgba(0,0,0,0.08)) !important;
            border-radius: var(--td-radius-lg, 16px) !important;
            box-shadow: var(--td-shadow, 0 4px 24px rgba(0,0,0,0.08)) !important;
            overflow: hidden;
            margin-top: 0.75rem !important;
        }
        .td-header__dropdown h6 { font-family: var(--td-font); margin: 0; color: var(--td-text, #0f172a); }
        .td-header__dropdown .dropdown-item {
            font-family: var(--td-font); font-size: 0.875rem; color: var(--td-text, #0f172a);
            display: flex; align-items: center; padding: 0.65rem 1rem;
        }
        .td-header__dropdown .dropdown-item:hover,
        .td-header__dropdown .dropdown-item:focus { background: var(--td-secondary, #f1f5f9) !important; color: var(--td-text, #0f172a) !important; }
        .td-header__burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; margin-left: auto; padding: 0.5rem; }
        .td-header__burger span { display: block; width: 22px; height: 2px; background: var(--td-text, #0f172a); border-radius: 2px; }
        @media(min-width:992px){ .td-header__burger { display: none; } }
        .td-header__mobile { display: none !important; border-top: 1px solid var(--td-border, rgba(0,0,0,0.08)); padding: 1rem 1.5rem; flex-direction: column; gap: 0.5rem; background: var(--td-bg, #fff); }
        @media(max-width:991.98px){ .td-header__mobile.is-open { display: flex !important; } }
        @media(min-width:992px){ .td-header__mobile { display: none !important; } }
        .td-header__mobile-link { padding: 0.625rem 0; font-size: 0.9rem; color: var(--td-muted, #64748b); border-bottom: 1px solid var(--td-border, rgba(0,0,0,0.08)); }


/* ===== Extracted from ABOUT US (moved out of Vue-mounted #landing-app region) ===== */
/* Small additions on top of the shared td- design system (taskdoor.css) */
    .td-about-grid { align-items: center; }
    .td-about-photo {
        position: relative;
        border-radius: var(--td-radius-lg);
        overflow: hidden;
        box-shadow: var(--td-shadow);
        aspect-ratio: 4 / 3;
    }
    .td-about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .td-about-photo__badge {
        position: absolute;
        left: 1rem;
        bottom: 1rem;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: rgba(15,23,42,0.72);
        backdrop-filter: blur(4px);
        color: #fff;
        font-size: 0.8rem;
        font-weight: 600;
        padding: 0.5rem 1rem;
        border-radius: 999px;
    }
    .td-about-photo__badge svg { color: var(--td-primary); }
    .td-about-text { text-align: left; margin: 0; max-width: none; }
    .td-about-text.td-section__title { margin-bottom: 1rem; }
    .td-about-text.td-section__sub { margin: 0 0 1rem; }
    @media (max-width: 768px) {
        .td-about-grid { grid-template-columns: 1fr !important; }
    }


/* ===== Extracted from HELP CENTER (moved out of Vue-mounted #landing-app region) ===== */
.td-help-hero { padding: 4rem 0 3rem; text-align: center; background: linear-gradient(135deg, var(--td-secondary, #f1f5f9) 0%, var(--td-card, #f8fafc) 100%); }
    .td-help-hero h1 { font-family: var(--td-font); font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--td-text, #0f172a); margin-bottom: 0.75rem; }
    .td-help-hero p { color: var(--td-muted, #64748b); max-width: 520px; margin: 0 auto 2rem; }
    .td-help-search { max-width: 520px; margin: 0 auto; position: relative; }
    .td-help-search input {
        width: 100%; height: 52px; border-radius: var(--td-radius-lg, 16px);
        border: 1px solid var(--td-border, rgba(0,0,0,0.08)); background: var(--td-bg, #fff);
        padding: 0 1.25rem 0 3rem; font-size: 0.95rem; font-family: var(--td-font); outline: none;
        box-shadow: var(--td-shadow, 0 4px 24px rgba(0,0,0,0.08));
    }
    .td-help-search input:focus { box-shadow: 0 0 0 2px var(--td-primary, #E2660D); }
    .td-help-search svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--td-muted, #64748b); }

    .td-help-tabs { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
    .td-help-tab {
        border: 1px solid var(--td-border, rgba(0,0,0,0.08)); background: var(--td-bg, #fff);
        color: var(--td-muted, #64748b); font-weight: 600; font-size: 0.9rem; font-family: var(--td-font);
        padding: 0.6rem 1.5rem; border-radius: 999px; cursor: pointer; transition: all 0.2s;
    }
    .td-help-tab.is-active { background: var(--td-primary, #E2660D); border-color: var(--td-primary, #E2660D); color: #fff; }
    .td-help-tab:not(.is-active):hover { border-color: var(--td-primary, #E2660D); color: var(--td-primary, #E2660D); }

    .td-help-topic {
        border: 1px solid var(--td-border, rgba(0,0,0,0.08)); border-radius: var(--td-radius-lg, 16px);
        background: var(--td-card, #f8fafc); padding: 1.75rem; height: 100%; transition: border-color 0.2s;
    }
    .td-help-topic:hover { border-color: var(--td-primary, #E2660D); }
    .td-help-topic__icon {
        width: 48px; height: 48px; border-radius: 12px; background: var(--td-primary-light, #FDECDD);
        color: var(--td-primary, #E2660D); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
    }
    .td-help-topic h3 { font-size: 1.05rem; font-weight: 700; color: var(--td-text, #0f172a); margin-bottom: 0.75rem; }
    .td-help-topic ul { margin: 0; padding-left: 1.1rem; color: var(--td-muted, #64748b); font-size: 0.875rem; line-height: 1.7; }

    .td-faq { max-width: 760px; margin: 0 auto; }
    .td-faq details {
        border: 1px solid var(--td-border, rgba(0,0,0,0.08)); border-radius: var(--td-radius, 12px);
        background: var(--td-bg, #fff); padding: 1rem 1.25rem; margin-bottom: 0.75rem;
    }
    .td-faq summary {
        cursor: pointer; font-weight: 600; color: var(--td-text, #0f172a); font-size: 0.95rem;
        list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    }
    .td-faq summary::-webkit-details-marker { display: none; }
    .td-faq summary::after { content: '+'; font-size: 1.3rem; color: var(--td-muted, #64748b); flex-shrink: 0; }
    .td-faq details[open] summary::after { content: '\2212'; }
    .td-faq p { color: var(--td-muted, #64748b); font-size: 0.9rem; margin: 0.85rem 0 0; line-height: 1.6; }

    .td-help-contact {
        background: var(--td-primary, #E2660D); border-radius: var(--td-radius-lg, 16px);
        padding: 3rem; text-align: center; color: #fff;
    }
    .td-help-contact h2 { font-family: var(--td-font); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
    .td-help-contact p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
    .td-help-contact__row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
    .td-help-contact__item {
        background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px;
        padding: 0.65rem 1.5rem; color: #fff; font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem;
    }
    .td-help-hidden { display: none !important; }


/* ===== Extracted from LEGAL DOCUMENTS (moved out of Vue-mounted #landing-app region) ===== */
.td-legal-hero {
        padding: 3.5rem 0 2.5rem;
        text-align: center;
        background: linear-gradient(135deg, var(--td-secondary, #f1f5f9) 0%, var(--td-card, #f8fafc) 100%);
    }
    .td-legal-hero__icon {
        width: 56px; height: 56px; border-radius: 14px;
        background: var(--td-primary-light, #FDECDD); color: var(--td-primary, #E2660D);
        display: flex; align-items: center; justify-content: center;
        margin: 0 auto 1.25rem;
    }
    .td-legal-hero h1 {
        font-family: var(--td-font); font-weight: 800; font-size: clamp(1.75rem, 3.5vw, 2.5rem);
        color: var(--td-text, #0f172a); margin-bottom: 0.5rem;
    }
    .td-legal-hero__updated {
        display: inline-flex; align-items: center; gap: 0.4rem;
        color: var(--td-muted, #64748b); font-size: 0.85rem;
        background: var(--td-bg, #fff); border: 1px solid var(--td-border, rgba(0,0,0,0.08));
        padding: 0.35rem 0.9rem; border-radius: 999px;
    }

    .td-legal-layout {
        display: grid; grid-template-columns: 240px 1fr; gap: 3rem;
        padding: 3rem 0 5rem; align-items: start;
    }
    @media (max-width: 900px) {
        .td-legal-layout { grid-template-columns: 1fr; }
        .td-legal-toc { display: none; }
    }

    .td-legal-toc {
        position: sticky; top: 90px;
        border: 1px solid var(--td-border, rgba(0,0,0,0.08));
        border-radius: var(--td-radius-lg, 16px);
        background: var(--td-card, #f8fafc);
        padding: 1.25rem;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    .td-legal-toc__title {
        font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
        color: var(--td-muted, #64748b); margin-bottom: 0.75rem;
    }
    .td-legal-toc a {
        display: block; font-size: 0.85rem; color: var(--td-muted, #64748b);
        padding: 0.4rem 0; border-left: 2px solid transparent; padding-left: 0.75rem;
        margin-left: -0.75rem; transition: all 0.15s;
    }
    .td-legal-toc a:hover, .td-legal-toc a.is-active {
        color: var(--td-primary, #E2660D); border-left-color: var(--td-primary, #E2660D);
    }

    .td-legal-content {
        font-family: var(--td-font); color: var(--td-text, #0f172a);
        font-size: 0.95rem; line-height: 1.75; max-width: 720px;
    }
    .td-legal-content h2 {
        font-size: 1.25rem; font-weight: 700; margin: 2.25rem 0 0.85rem;
        scroll-margin-top: 90px;
    }
    .td-legal-content h2:first-child { margin-top: 0; }
    .td-legal-content h3 {
        font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 0.6rem;
        scroll-margin-top: 90px;
    }
    .td-legal-content p { margin-bottom: 0.9rem; color: var(--td-text, #0f172a); }
    .td-legal-content ul, .td-legal-content ol { margin: 0 0 0.9rem 1.25rem; padding: 0; }
    .td-legal-content li { margin-bottom: 0.4rem; color: var(--td-text, #0f172a); }
    .td-legal-content li p { margin-bottom: 0.2rem; }
    .td-legal-content a { color: var(--td-primary, #E2660D); text-decoration: underline; }
    .td-legal-content strong { font-weight: 700; }

    .td-legal-contact {
        margin-top: 2.5rem; padding: 1.5rem;
        background: var(--td-card, #f8fafc); border: 1px solid var(--td-border, rgba(0,0,0,0.08));
        border-radius: var(--td-radius-lg, 16px);
    }
