/* Talent marketplace inside the business dashboard. Uses the dashboard variables, so dark and light themes and RTL follow the app. */
#page-talent{min-width:0}
.tk *{box-sizing:border-box}
.tk{min-width:0}
.tk h1,.tk h2,.tk h3,.tk h4{overflow-wrap:anywhere}
.tk-note{font-size:13px;color:var(--text-dim);margin:6px 0}
.tk-err{color:#c0392b;font-size:14px;margin:8px 0;min-height:1.2em}
.tk-ok{color:var(--green,#1E9E68)}
.tk-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.tk-spacer{flex:1 1 auto}
.tk-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-md,18px);background:var(--surface);margin-bottom:18px}
.tk-filters label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--text-dim);min-width:0}
.tk input[type=text],.tk input[type=number],.tk input[type=date],.tk input[type=time],.tk select,.tk textarea{width:100%;min-width:0;min-height:42px;padding:9px 11px;border-radius:10px;border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text);font:inherit}
.tk textarea{min-height:84px;resize:vertical}
.tk select option{color:#241A0C;background:#fff}
.tk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.tk-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border);border-radius:var(--radius-md,18px);background:var(--surface);overflow:hidden;box-shadow:0 10px 34px rgba(0,0,0,.18);transition:transform .15s,border-color .15s}
.tk-card:hover{transform:translateY(-3px);border-color:var(--border-glow,#F5B544)}
.tk-photo{position:relative;aspect-ratio:3/4;background:var(--surface-2);overflow:hidden}
.tk-photo img{width:100%;height:100%;object-fit:cover;display:block}
.tk-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:44px;font-weight:700;color:var(--text-faint)}
.tk-heart{position:absolute;top:10px;inset-inline-end:10px;width:40px;height:40px;border-radius:999px;border:0;background:rgba(20,16,24,.62);color:#fff;font-size:20px;cursor:pointer;line-height:1}
.tk-heart.on{color:#ff6b81}
.tk-verified{position:absolute;top:10px;inset-inline-start:10px;padding:3px 10px;border-radius:999px;background:rgba(20,16,24,.7);color:#7DD3FC;font-size:12px;font-weight:700}
.tk-body{padding:14px;display:flex;flex-direction:column;gap:9px;flex:1}
.tk-name{font-family:var(--font-display,inherit);font-weight:700;font-size:18px;margin:0}
.tk-meta{color:var(--text-dim);font-size:13.5px}
.tk-chips{display:flex;flex-wrap:wrap;gap:6px}
.tk-chip{display:inline-block;padding:2px 10px;border-radius:999px;border:1px solid var(--border-strong);font-size:12.5px;color:var(--text-dim)}
.tk-chip.on{background:var(--grad);color:#1F1608;border-color:transparent;font-weight:700;cursor:pointer}
button.tk-chip{cursor:pointer;background:transparent;font:inherit;font-size:12.5px;min-height:34px}
button.tk-chip.on{background:var(--grad)}
.tk-tag{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:700;background:rgba(95,237,186,.16);color:var(--green,#1E9E68);border:1px solid var(--green,#1E9E68)}
.tk-svc{font-size:13.5px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:6px 0;border-top:1px solid var(--border)}
.tk-svc b{font-weight:600}
.tk-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}
.tk-actions .btn{flex:1 1 auto;min-height:42px}
.tk-pager{display:flex;gap:10px;justify-content:center;align-items:center;margin-top:20px}
.tk-panel{border:1px solid var(--border);border-radius:var(--radius-md,18px);background:var(--surface);padding:18px;margin-bottom:16px;min-width:0}
.tk-profile{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:22px}
.tk-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}
.tk-gallery img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px;cursor:pointer}
.tk-main-photo{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:16px;display:block}
.tk-video{width:100%;border-radius:14px;margin-top:10px;max-height:340px;background:#000}
.tk-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px);gap:20px;align-items:start}
.tk-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.tk-fields .full{grid-column:1/-1}
.tk-field{display:flex;flex-direction:column;gap:5px;font-size:13.5px;min-width:0}
.tk-field>span{color:var(--text-dim)}
.tk-field small{color:var(--text-faint);font-size:12px}
.tk-sum{position:sticky;top:12px}
.tk-line{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:14px}
.tk-line.total{border-top:1px solid var(--border-strong);margin-top:6px;padding-top:10px;font-weight:700;font-size:16px}
.tk-line small{display:block;color:var(--text-faint);font-weight:400}
.tk-mode{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.tk-mode .btn.on{background:var(--grad);color:#1F1608;border-color:transparent}
.tk-status{display:inline-block;padding:2px 11px;border-radius:999px;font-size:12.5px;font-weight:700;border:1px solid var(--border-strong);text-transform:capitalize}
.tk-status.requested,.tk-status.negotiating,.tk-status.accepted{border-color:#F5B544}
.tk-status.confirmed,.tk-status.completed{border-color:var(--green,#1E9E68);color:var(--green,#1E9E68)}
.tk-status.declined,.tk-status.cancelled,.tk-status.expired{border-color:#c0392b;color:#c0392b}
.tk-list{display:flex;flex-direction:column;gap:10px}
.tk-item{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);cursor:pointer;text-align:start;color:var(--text);font:inherit;width:100%}
.tk-item:hover{border-color:var(--border-glow,#F5B544)}
.tk-thumb{width:52px;height:68px;border-radius:10px;object-fit:cover;background:var(--surface-2);flex:none}
.tk-item .tk-grow{flex:1;min-width:0}
.tk-timeline{list-style:none;margin:8px 0 0;padding:0;border-inline-start:2px solid var(--border-strong)}
.tk-timeline li{padding:6px 0 10px 14px;position:relative;font-size:14px}
[dir=rtl] .tk-timeline li{padding:6px 14px 10px 0}
.tk-timeline li::before{content:'';position:absolute;inset-inline-start:-6px;top:11px;width:10px;height:10px;border-radius:50%;background:var(--violet,#F5B544)}
.tk-timeline small{color:var(--text-faint);display:block}
.tk-compare{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.tk-subtabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.tk-file{display:inline-flex;gap:6px;align-items:center;font-size:13px;margin-inline-end:10px}
@media (max-width:860px){.tk-profile,.tk-form{grid-template-columns:minmax(0,1fr)}.tk-sum{position:static}}
@media (max-width:520px){.tk-grid{grid-template-columns:minmax(0,1fr)}.tk-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.tk-panel{padding:14px}}

.tk-files{display:flex;flex-wrap:wrap;gap:8px}.tk-fileitem{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border-strong);border-radius:999px;padding:4px 6px 4px 12px;font-size:13px}.tk-x{border:0;background:var(--surface-2);color:inherit;border-radius:999px;width:24px;height:24px;line-height:1;cursor:pointer;font-size:16px}


/* ===================================================================== marketplace browse: compact search, chips, drawer, premium cards */
.tk-ico{display:inline-flex;align-items:center;justify-content:center;flex:none;line-height:0}
.tk-bar{display:flex;align-items:center;gap:8px;padding:6px;border:1px solid var(--border-strong);border-radius:999px;background:var(--surface-solid);margin-bottom:12px}
.tk-bar label{display:flex;align-items:center;gap:8px;min-width:0;color:var(--text-faint)}
.tk-bar-q{flex:1 1 220px}.tk-bar-sel{flex:0 1 170px;border-inline-start:1px solid var(--border-strong);padding-inline-start:12px}
.tk-bar input[type=text],.tk-bar select{border:0!important;background:transparent!important;min-height:38px!important;padding:0 4px!important;box-shadow:none!important;color:var(--text);font-size:14.5px;outline:none}
.tk-bar select{cursor:pointer;text-overflow:ellipsis}
.tk-bar:focus-within{border-color:var(--violet);box-shadow:0 0 0 3px color-mix(in srgb,var(--violet) 22%,transparent)}
.tk-fbtn,.tk-sbtn{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 16px;border-radius:999px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.tk-fbtn{background:transparent;color:var(--text);border:1px solid var(--border-strong)}
.tk-fbtn:hover{background:var(--hover-tint)}
.tk-sbtn{border:0;background:var(--grad);color:#1F1608}
.tk-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--violet);color:#1F1608;font-size:12px}
.tk-quick{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
.tk-quick::-webkit-scrollbar{display:none}
.tk-qchip{flex:none;min-height:36px;padding:0 16px;border-radius:999px;border:1px solid var(--border-strong);background:transparent;color:var(--text-dim);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;transition:background .15s,color .15s}
.tk-qchip:hover{background:var(--hover-tint);color:var(--text)}
.tk-qchip.on{background:var(--grad);border-color:transparent;color:#1F1608}
.tk-actives{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tk-actives:not(:empty){margin-bottom:10px}
.tk-achip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px 0 12px;border-radius:999px;border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text);font:inherit;font-size:12.5px;cursor:pointer}
.tk-achip:hover{border-color:var(--violet)}
.tk-link{background:none;border:0;padding:4px 2px;color:var(--violet);font:inherit;font-size:13px;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tk-resulthead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:6px 0 14px}
.tk-count{font-weight:700;font-size:15px}
.tk-sort{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-dim)}
.tk-sort select{min-height:36px!important;width:auto!important;border-radius:999px!important;padding:0 28px 0 12px!important}
.tk-results{container-type:inline-size;min-width:0}

/* the grid: 4 columns on large desktops, 3 on smaller desktops, 2 on tablets, 2 (1 when very narrow) on phones; a single card keeps its column width */
.tk-mgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 18px}
@container (max-width:999px){.tk-mgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (max-width:859px){.tk-mgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}}
@container (max-width:329px){.tk-mgrid{grid-template-columns:minmax(0,1fr)}}
.tk-mgrid>.tk-empty{grid-column:1/-1}
.tk-card.mk{border:0;background:transparent;box-shadow:none;border-radius:16px;overflow:visible;transition:transform .18s}
.tk-card.mk:hover{transform:translateY(-3px);border:0}
.tk-card.mk .tk-photo{border-radius:16px;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.tk-card.mk .tk-photo img{transition:transform .35s}
.tk-card.mk:hover .tk-photo img{transform:scale(1.03)}
.tk-card.mk .tk-body{padding:12px 2px 0;gap:6px}
.tk-card.mk .tk-name{font-size:16.5px;letter-spacing:-.01em}
.tk-card.mk .tk-verified{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;font-size:11px;background:rgba(20,16,24,.62);backdrop-filter:blur(6px);color:#fff;top:10px;inset-inline-start:10px}
.tk-card.mk .tk-verified .tk-ico{color:#6EE7B7}
.tk-card.mk .tk-heart{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:rgba(20,16,24,.5);backdrop-filter:blur(6px);transition:transform .15s,background .15s}
.tk-card.mk .tk-heart:hover{transform:scale(1.08)}
.tk-card.mk .tk-heart.on{background:#fff;color:#e5484d}.tk-card.mk .tk-heart.on svg{fill:currentColor}
.tk-loc{display:flex;align-items:center;gap:6px;color:var(--text-dim);font-size:13px;min-width:0}
.tk-loc span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-svcs{display:flex;gap:6px;flex-wrap:wrap;margin-top:2px}
.tk-svc-chip{padding:2px 9px;border-radius:999px;font-size:11.5px;font-weight:600;background:var(--surface-2);color:var(--text-dim)}
.tk-prices{display:grid;gap:6px;margin-top:2px}
.tk-price{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border-radius:10px;background:var(--surface-2);font-size:12.5px}
.tk-price-l{display:inline-flex;align-items:center;gap:5px;color:var(--text-dim);min-width:0}
.tk-price-v{text-align:end}
.tk-price-v b{font-size:14.5px;color:var(--text)}
.tk-price-v small{color:var(--text-faint);margin-inline-start:3px;font-size:11.5px}
.tk-price.video .tk-price-l .tk-ico{color:var(--blue)}.tk-price.hour .tk-price-l .tk-ico{color:var(--violet)}
.tk-card.mk .tk-prices{margin-bottom:6px}
.tk-card.mk .tk-actions{margin-top:auto;gap:6px}
.tk-card.mk .tk-actions .btn{min-height:38px;padding:0 10px;font-size:13px}
.tk-card.mk .tk-link{align-self:flex-start}
.tk-skel .tk-body i{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,var(--surface-2),var(--hover-tint),var(--surface-2));background-size:200% 100%;animation:tkshim 1.3s linear infinite}
.tk-skel .tk-photo{background:linear-gradient(90deg,var(--surface-2),var(--hover-tint),var(--surface-2));background-size:200% 100%;animation:tkshim 1.3s linear infinite}
@keyframes tkshim{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.tk-skel .tk-body i,.tk-skel .tk-photo{animation:none}.tk-card.mk,.tk-card.mk .tk-photo img{transition:none}}
.tk-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:56px 16px;color:var(--text-dim);border:1px dashed var(--border-strong);border-radius:18px}
.tk-empty h3{margin:6px 0 0;color:var(--text);font-size:18px}.tk-empty p{margin:0 0 8px;max-width:360px}

/* the filter drawer slides in from the reading-end edge (right in English, left in Arabic) */
.tk-veil{position:fixed;inset:0;background:rgba(10,8,14,.5);opacity:0;transition:opacity .2s;z-index:9990}
.tk-veil.on{opacity:1}
.tk-drawer{position:fixed;top:0;bottom:0;inset-inline-end:0;width:min(420px,100vw);display:flex;flex-direction:column;background:var(--surface-solid);color:var(--text);border-inline-start:1px solid var(--border-strong);box-shadow:-12px 0 40px rgba(0,0,0,.25);transform:translateX(100%);transition:transform .22s ease;z-index:9991;outline:none}
[dir=rtl] .tk-drawer{transform:translateX(-100%);box-shadow:12px 0 40px rgba(0,0,0,.25)}
.tk-drawer.on,[dir=rtl] .tk-drawer.on{transform:none}
.tk-drawer[hidden],.tk-veil[hidden]{display:none}
.tk-dhead{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--border)}
.tk-dhead h3{margin:0;font-size:18px}
.tk-x{width:36px;height:36px;border-radius:50%;border:0;background:var(--surface-2);color:var(--text);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.tk-dbody{flex:1;overflow-y:auto;padding:16px 18px;display:grid;gap:16px;align-content:start}
.tk-dgroup{display:grid;gap:6px;font-size:13px;color:var(--text-dim)}
.tk-dgroup>span:first-child{font-weight:600;color:var(--text)}
.tk-dfoot{display:flex;gap:10px;justify-content:space-between;padding:14px 18px;border-top:1px solid var(--border)}
.tk-dfoot .btn{flex:1;min-height:44px}
.tk-range-v{font-size:13.5px;font-weight:600;color:var(--text);direction:ltr;unicode-bidi:isolate;display:block}
[dir=rtl] .tk-range-v{text-align:right}
.tk-range-box{position:relative;height:26px}
.tk-range-track{position:absolute;inset-inline:0;top:11px;height:4px;border-radius:4px;background:var(--border-strong)}
.tk-range-fill{position:absolute;top:11px;height:4px;border-radius:4px;background:var(--grad)}
.tk-range-box input[type=range]{position:absolute;inset:0;width:100%;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none;min-height:26px!important;padding:0!important;border:0!important}
.tk-range-box input[type=range]::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;border:2px solid var(--violet);box-shadow:0 1px 4px rgba(0,0,0,.3);cursor:grab}
.tk-range-box input[type=range]::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid var(--violet);box-shadow:0 1px 4px rgba(0,0,0,.3);cursor:grab}
.tk-range-box input[type=range]::-webkit-slider-runnable-track{background:transparent}.tk-range-box input[type=range]::-moz-range-track{background:transparent}
.tk-range-box input[type=range]:focus-visible::-webkit-slider-thumb{outline:3px solid color-mix(in srgb,var(--violet) 40%,transparent)}

/* phones: the bar wraps into two rows, the drawer takes the whole width */
@media (max-width:720px){
  .tk-bar{flex-wrap:wrap;border-radius:18px;padding:8px}
  .tk-bar-q{flex:1 1 100%}.tk-bar-sel{flex:1 1 calc(50% - 8px);border-inline-start:0;padding-inline-start:0;border-top:1px solid var(--border-strong);padding-top:6px}
  .tk-fbtn,.tk-sbtn{flex:1 1 calc(50% - 4px);justify-content:center}
  .tk-resulthead{margin-top:2px}
}

@container (max-width:520px){.tk-price{flex-direction:column;align-items:flex-start;gap:2px;padding:7px 9px}.tk-price-v{text-align:start}.tk-price-v small{display:block;margin:0}.tk-card.mk .tk-actions{flex-direction:column}.tk-card.mk .tk-actions .btn{width:100%}}

.tk-card.mk .tk-name,.tk-loc span:last-child{unicode-bidi:plaintext}

/* the Whish button carries the Whish logo on a white pill (the logo is red and grey); the name stays for screen readers */
.tk-pay-whish{min-height:46px;padding:0 18px;display:inline-flex;align-items:center;gap:8px;background:#fff;color:#241A0C;border:1px solid var(--border-strong);font-weight:600}
.tk-pay-whish:hover{border-color:var(--violet)}
.tk-paylogo{height:28px;width:auto;display:block}
.tk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* both payment buttons have the same size */
.tk-pay{width:100%;min-height:46px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box}
