/* Tosset brand overrides on top of Travila (style.css).
   Keeps the template's black + yellow system; adds platform-specific helpers. */

:root {
  --tosset-accent: #3b71fe;
  --tosset-accent-soft: #eaf0ff;
}

/* ---- Logo ----
   ONE consistent serif wordmark used in BOTH header and footer (matches the
   classic serif "TOSSET" mark). Self-hosted/system serif — no CDN font. */
.tosset-logo {
  font-family: Georgia, 'Times New Roman', 'Noto Serif', serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bs-neutral-1000, #11131a);
  text-decoration: none;
  line-height: 1;
  display: inline-block;
}
.tosset-logo span { color: inherit; }   /* keep the wordmark single-colour & clean */

/* ---- Flash / alerts ---- */
.ts-flash-wrap { position: fixed; top: 84px; right: 20px; z-index: 1080; max-width: 360px; }
.ts-flash-wrap .alert { box-shadow: 0 8px 30px rgba(0,0,0,.12); }

/* ---- Generic page spacing ---- */
.section-padding { padding: 60px 0; }
.page-head { padding: 40px 0 10px; }

/* ---- Talent / casting cards ---- */
.ts-card {
  background: var(--bs-background-card);
  border: 1px solid var(--bs-border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
/* equal-height only for grid cards that opt in */
.ts-card.h-100 { height: 100%; }
.ts-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.10); }
.ts-card .ts-card-media { position: relative; aspect-ratio: 3/4; background: #f2f4f6; overflow: hidden; }
.ts-card .ts-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ts-card .ts-card-body { padding: 14px 16px 18px; }
.ts-card .ts-card-title { font-weight: 700; font-size: 16px; margin: 0 0 2px; color: var(--bs-neutral-1000); }
.ts-card .ts-meta { color: var(--bs-neutral-500); font-size: 13px; }

.ts-badge {
  position: absolute; top: 10px; left: 10px;
  background: #000; color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 30px;
}
.ts-badge.verified { background: var(--tosset-accent); }
.ts-badge.featured { background: var(--bs-brand-secondary); color: #000; }
.ts-badge-r { left: auto; right: 10px; }

/* casting card uses 16/9 banner */
.ts-card.casting .ts-card-media { aspect-ratio: 16/9; }

/* ---- Filter sidebar ---- */
.ts-filter { border: 1px solid var(--bs-border-color); border-radius: 16px; padding: 20px; }
.ts-filter h6 { font-weight: 700; margin-bottom: 12px; }
.ts-filter .form-label { font-size: 13px; font-weight: 600; }

/* ---- Dashboard ---- */
.ts-dash { display: flex; gap: 24px; align-items: flex-start; }
.ts-dash-nav { width: 250px; flex: 0 0 250px; border: 1px solid var(--bs-border-color); border-radius: 16px; padding: 14px; position: sticky; top: 90px; }
.ts-dash-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  color: var(--bs-neutral-700); text-decoration: none; font-weight: 600; font-size: 14px;
}
.ts-dash-nav a:hover { background: var(--bs-neutral-100); }
.ts-dash-nav a.active { background: #000; color: #fff; }
.ts-dash-main { flex: 1 1 auto; min-width: 0; }
.ts-stat { border: 1px solid var(--bs-border-color); border-radius: 16px; padding: 18px 20px; }
.ts-stat .num { font-size: 28px; font-weight: 800; line-height: 1; }
.ts-stat .lbl { color: var(--bs-neutral-500); font-size: 13px; margin-top: 6px; }
@media (max-width: 991px) {
  .ts-dash { flex-direction: column; }
  .ts-dash-nav { width: 100%; flex: none; position: static; }
}

/* ---- Auth pages ---- */
.ts-auth-wrap { padding: 48px 0 64px; }
.ts-auth-card {
  max-width: 520px; margin: 0 auto;
  background: #fff;
  border: 1px solid #e7e9ee; border-radius: 16px;
  padding: 36px 36px 32px;
  box-shadow: 0 6px 28px rgba(16,24,40,.06);
}
.ts-auth-card .ts-auth-head { text-align: center; margin-bottom: 24px; }
.ts-auth-card h3, .ts-auth-card .ts-auth-title {
  font-weight: 700; font-size: 1.75rem; line-height: 1.2; margin: 0 0 6px; color: #11131a;
}
.ts-auth-card .ts-auth-sub { color: #6b7280; font-size: .95rem; margin: 0; }

/* Role toggle — clean segmented control */
.ts-role-toggle { gap: 10px !important; margin-bottom: 22px; }
.ts-role-toggle .btn { flex: 1; font-weight: 600; font-size: .95rem; border-radius: 10px; padding: 11px 12px; }

/* Inputs — balanced, comfortable */
.ts-auth-card .form-label { font-weight: 600; font-size: .85rem; color: #374151; margin-bottom: 5px; }
.ts-auth-card .form-control,
.ts-auth-card .form-select {
  border: 1px solid #d7dae0; border-radius: 10px; padding: 11px 14px; font-size: .95rem; height: auto;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.ts-auth-card .form-control:focus,
.ts-auth-card .form-select:focus {
  border-color: var(--tosset-accent); box-shadow: 0 0 0 3px rgba(59,113,254,.12); outline: none;
}
.ts-auth-card .form-control[readonly] { background: #f3f4f6; color: #4b5563; }

/* Section separators + or-divider */
.ts-auth-divider { display: flex; align-items: center; gap: 12px; color: #9ca3af; font-size: .8rem; margin: 18px 0; }
.ts-auth-divider::before, .ts-auth-divider::after { content: ""; flex: 1; height: 1px; background: #e7e9ee; }

/* Koovira signup button */
.ts-koovira-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  border: 1px solid #d7dae0; background: #fff; color: #11131a;
  font-weight: 600; font-size: .95rem; border-radius: 10px; padding: 11px 14px; transition: .15s;
}
.ts-koovira-btn:hover { border-color: var(--tosset-accent); background: #f7f9ff; color: #11131a; }
.ts-koovira-k { display: inline-flex; width: 20px; height: 20px; border-radius: 5px; background: #1d4ed8; color: #fff; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }

/* Primary submit */
.ts-auth-submit {
  width: 100%; margin-top: 22px; padding: 13px; font-size: 1rem; font-weight: 700; border-radius: 10px;
  background: #11131a; color: #fff; border: 1px solid #11131a; transition: .15s;
}
.ts-auth-submit:hover { background: #000; color: #fff; }

/* Captcha block — tidy */
.ts-captcha-img { border: 1px solid #e5e7eb; border-radius: 10px; background: #f5f7fa; }
.ts-auth-card .form-check-label { font-size: .88rem; color: #4b5563; }

/* Mobile: full-width fields, comfortable padding, no overflow */
@media (max-width: 575.98px) {
  .ts-auth-wrap { padding: 24px 0 40px; }
  .ts-auth-card { padding: 24px 18px; border-radius: 14px; box-shadow: 0 4px 18px rgba(16,24,40,.06); }
  .ts-auth-card h3, .ts-auth-card .ts-auth-title { font-size: 1.5rem; }
  .ts-role-toggle { flex-wrap: nowrap; }
  .ts-captcha-img { max-width: 100%; height: auto; }
}

/* ---- Homepage hero slider (migrated from legacy) ---- */
.ts-hero-slider { position: relative; margin-bottom: 70px; }
.ts-hero-slide {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}
.ts-hero-copy { max-width: 640px; padding: 40px 0; }
.ts-hero-copy h1 { font-size: clamp(30px, 4.5vw, 52px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.ts-hero-copy p { font-size: 18px; opacity: .92; margin-bottom: 20px; }
.ts-hero-bullets { display: flex; gap: 28px; flex-wrap: wrap; }
.ts-hero-bullets > div { font-size: 15px; font-weight: 600; }
.ts-hero-bullets .lbl { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; opacity: .7; font-weight: 500; }
.ts-hero-slider .carousel-indicators { margin-bottom: 90px; }
.ts-hero-search { max-width: 940px; margin-top: -45px; position: relative; z-index: 5; box-shadow: 0 14px 40px rgba(0,0,0,.12); }
@media (max-width: 768px) {
  .ts-hero-slide { min-height: 420px; }
  .ts-hero-search { margin-top: 20px; }
  .ts-hero-slider .carousel-indicators { margin-bottom: 14px; }
}

/* ---- Helpers ---- */
.object-cover { object-fit: cover; }
.ratio-portrait { aspect-ratio: 3/4; }
.cursor-pointer { cursor: pointer; }
.ts-empty { text-align: center; padding: 50px 20px; color: var(--bs-neutral-500); }
.ts-completion { height: 8px; border-radius: 8px; background: var(--bs-neutral-200); overflow: hidden; }
.ts-completion > span { display: block; height: 100%; background: var(--tosset-accent); }

/* =====================================================================
   PROFESSIONAL POLISH PASS (overrides above)
   ===================================================================== */

body { font-family: 'Manrope', -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #16181d; }

/* Section rhythm + headings */
.section-padding { padding: 72px 0; }
.main h2 { font-weight: 800; letter-spacing: -0.5px; }
.ts-section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.ts-section-head h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; }
.ts-section-head p { color: var(--bs-neutral-500); font-size: 16px; margin: 0; }
.ts-eyebrow { color: var(--tosset-accent); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 8px; }

/* Footer logo must be visible on dark — same serif wordmark, white. */
.footer .tosset-logo { color: #fff; }
.footer .tosset-logo span { color: #fff; }

/* ---- HERO (refined) ---- */
.ts-hero-slider { margin-bottom: 0; }
.ts-hero-slide { min-height: 600px; }
.ts-hero-slide { background-image: linear-gradient(90deg, rgba(10,12,18,.82) 0%, rgba(10,12,18,.45) 55%, rgba(10,12,18,.15) 100%), var(--bg) !important; }
.ts-hero-copy { max-width: 660px; padding: 60px 0; }
.ts-hero-copy h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -1px; line-height: 1.05; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.ts-hero-copy p { font-size: 19px; line-height: 1.6; opacity: .95; max-width: 560px; }
.ts-hero-bullets { gap: 14px; margin-top: 6px; }
.ts-hero-bullets > div {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 10px 16px; border-radius: 12px; backdrop-filter: blur(6px); font-size: 14px;
}
.ts-hero-bullets .lbl { opacity: .75; margin-bottom: 2px; }
.ts-hero-copy .btn-lg { padding: 14px 30px; font-weight: 700; border-radius: 12px; }

/* Search bar that overlaps the hero cleanly */
.ts-hero-search { max-width: 960px; margin-top: -38px; border-radius: 16px; padding: 16px !important; box-shadow: 0 18px 50px rgba(0,0,0,.16); }
.ts-hero-search .form-control { height: 52px; border-radius: 10px; }
.ts-hero-search .btn { height: 52px; border-radius: 10px; font-weight: 700; }

/* ---- Category tiles (filled, premium) ---- */
.ts-cat-tile {
  display: flex; align-items: center; gap: 12px;
  background: var(--bs-background-card); border: 1px solid var(--bs-border-color);
  border-radius: 14px; padding: 16px 18px; text-decoration: none; color: #16181d;
  font-weight: 700; transition: .18s; height: 100%;
}
.ts-cat-tile:hover { border-color: #16181d; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); color: #16181d; }
.ts-cat-ic {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tosset-accent-soft); color: var(--tosset-accent); font-weight: 800; font-size: 16px;
}

/* ---- Cards: stronger typography ---- */
.ts-card .ts-card-title { font-size: 17px; font-weight: 800; }
.ts-card .ts-meta { font-size: 13.5px; }
.ts-card.casting .ts-card-body { padding: 16px 18px 18px; }

/* ---- How it works: number medallions ---- */
.ts-step { text-align: center; padding: 30px 22px; border: 1px solid var(--bs-border-color); border-radius: 16px; height: 100%; background:#fff; }
.ts-step .ts-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: #16181d; color: #fff; font-weight: 800; font-size: 22px;
}
.ts-step h6 { font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.ts-step p { color: var(--bs-neutral-500); font-size: 14px; margin: 0; }

/* ---- Testimonials ---- */
.ts-quote { border: 1px solid var(--bs-border-color); border-radius: 16px; padding: 26px; height: 100%; background:#fff; }
.ts-quote .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; }

/* ---- CTA ---- */
.ts-cta { background: #16181d; color:#fff; border-radius: 22px; padding: 56px 30px; text-align:center; }
.ts-cta h2 { color:#fff; }
.ts-cta p { color: rgba(255,255,255,.7); }

/* View-all button */
.btn-viewall { border-radius: 10px; font-weight: 700; }

/* ---- Top models strip (legacy-style featured-models slider) ---- */
.ts-model-strip-section { position: relative; margin-bottom: 0; }
.ts-model-strip { display: flex; gap: 2px; overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ts-model-strip::-webkit-scrollbar { display: none; }
.ts-model-card { position: relative; flex: 0 0 20%; max-width: 20%; text-decoration: none; overflow: hidden; background: #11131a; }
.ts-model-img { width: 100%; height: 540px; object-fit: cover; display: block; transition: transform .4s ease; }
.ts-model-card:hover .ts-model-img { transform: scale(1.05); }
.ts-model-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; color: #fff; font-weight: 700;
  font-size: 15px; letter-spacing: .3px; background: linear-gradient(transparent, rgba(0,0,0,.8));
}
.ts-model-hover {
  position: absolute; inset: 0; background: rgba(10,12,18,.86); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  opacity: 0; transition: opacity .25s ease; padding: 20px; text-align: center;
}
.ts-model-card:hover .ts-model-hover { opacity: 1; }
.ts-model-hover ul { list-style: none; padding: 0; margin: 0; line-height: 1.9; font-size: 14px; }
.ts-model-hover strong { display: inline-block; min-width: 64px; color: var(--tosset-accent); font-weight: 700; }
.ts-model-view { background: var(--bs-brand-secondary); color: #000; font-weight: 700; padding: 8px 18px; border-radius: 30px; font-size: 13px; }
.ts-strip-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #11131a; font-size: 18px; cursor: pointer; z-index: 5;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center;
}
.ts-strip-nav.prev { left: 14px; } .ts-strip-nav.next { right: 14px; }
.ts-strip-nav:hover { background: #fff; }
@media (max-width: 1199px) { .ts-model-card { flex-basis: 25%; max-width: 25%; } .ts-model-img { height: 460px; } }
@media (max-width: 991px)  { .ts-model-card { flex-basis: 33.333%; max-width: 33.333%; } .ts-model-img { height: 360px; } }
@media (max-width: 767px)  { .ts-model-card { flex-basis: 60%; max-width: 60%; } .ts-model-img { height: 320px; } }

/* =====================================================================
   HEADER / NAVBAR POLISH
   ===================================================================== */
.header.sticky-bar { background: #fff; border-bottom: 1px solid #eef0f4; box-shadow: 0 2px 14px rgba(0,0,0,.04); }
.header .main-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.header .header-left { display: flex; align-items: center; gap: 36px; }
.header .tosset-logo { font-size: 26px; }
.nav-main-menu .main-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-main-menu .main-menu > li { position: relative; }
.nav-main-menu .main-menu > li > a {
  display: block; padding: 10px 14px; font-size: 15px; font-weight: 600; color: #2a2d35; text-decoration: none; border-radius: 8px; transition: .15s;
}
.nav-main-menu .main-menu > li > a:hover { color: var(--tosset-accent); background: var(--tosset-accent-soft); }
.nav-main-menu .main-menu > li > a.active { color: #fff; background: #11131a; }
/* dropdowns */
.nav-main-menu .has-children > .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border: 1px solid #eef0f4;
  border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.10); padding: 8px; list-style: none; margin: 6px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; z-index: 50;
}
.nav-main-menu .has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-main-menu .sub-menu > li > a { display: block; padding: 9px 12px; border-radius: 8px; color: #2a2d35; text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-main-menu .sub-menu > li > a:hover { background: var(--tosset-accent-soft); color: var(--tosset-accent); }

.header .header-right { display: flex; align-items: center; gap: 10px; }
.header .btn-signin { background: transparent; border: 1px solid #d7dae0; color: #11131a; font-weight: 700; border-radius: 10px; padding: 9px 18px; }
.header .btn-signin:hover { border-color: #11131a; }
.header .header-right .btn-brand-secondary { font-weight: 800; border-radius: 10px; padding: 9px 20px; }
.header .header-right .btn-default { border-radius: 10px; font-weight: 700; }

/* burger only on smaller screens */
.header .burger-icon { display: none; }
@media (max-width: 1100px) {
  .header .header-nav, .header .header-right .d-none { display: none !important; }
  .header .burger-icon { display: inline-block; }
}

/* remove default top gap so the model strip sits flush under header */
.main { padding-top: 0; }
.ts-model-strip-section { margin-top: 0; }

/* ---- Intro band (replaces banner hero; sits under model strip) ---- */
.ts-intro { padding: 56px 0 40px; background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%); }
.ts-intro .ts-eyebrow { display: inline-block; margin-bottom: 14px; }
.ts-intro-title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -1px; line-height: 1.08; margin-bottom: 14px; color: #11131a; }
.ts-intro-sub { font-size: 18px; color: var(--bs-neutral-500); max-width: 620px; margin: 0 auto 26px; }
.ts-intro .ts-hero-search { max-width: 920px; margin-top: 0 !important; }
.ts-intro-cta { margin-top: 20px; }
.ts-intro-cta .btn { font-weight: 700; border-radius: 12px; padding: 12px 26px; }

/* ---- Header logo (real wordmark) + auth buttons (clean inline pair) ---- */
.header .ts-logo { display: inline-flex; align-items: center; }
.header .ts-logo img { height: 34px; width: auto; display: block; }
.header .header-right { display: flex; align-items: center; gap: 10px; }
.ts-auth-btn { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; line-height: 1; transition: .15s; white-space: nowrap; }
.ts-btn-ghost { background: #fff; color: #11131a; border: 1px solid #d7dae0; }
.ts-btn-ghost:hover { border-color: #11131a; color: #11131a; }
.ts-btn-join { background: var(--bs-brand-secondary, #FEFA17); color: #11131a; border: 1px solid var(--bs-brand-secondary, #FEFA17); }
.ts-btn-join:hover { filter: brightness(.95); color: #11131a; }
@media (max-width: 1100px) {
  .header .header-nav { display: none !important; }
  .ts-auth-btn { display: none !important; }
  .header .burger-icon { display: inline-flex; }
}

/* Neutral placeholder for talent cards without a photo */
.ts-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e9edf5 0%, #dfe4ee 100%); }
.ts-noimg span { font-size: 52px; font-weight: 800; color: #aeb6c6; letter-spacing: 1px; }

/* ---- Anti-scam trust strip ---- */
.ts-trust { display:flex; flex-wrap:wrap; gap:8px 22px; align-items:center; background:#eef6ee; border:1px solid #cfe6cf;
  border-radius:12px; padding:12px 16px; margin-bottom:18px; font-size:13.5px; color:#1f3b1f; }
.ts-trust a { margin-left:auto; color:#b00020; font-weight:700; text-decoration:none; }
.ts-trust a:hover { text-decoration:underline; }
@media (max-width:600px){ .ts-trust a { margin-left:0; } }
