/* UZMANLAR SAYFASI CSS */
/* Quick chips */
.chips {
    display: flex;
    gap: .38rem;
    flex-wrap: wrap;
}

.chip {
    font-size: .71rem;
    font-weight: 700;
    color: var(--ink3);
    background: var(--white);
    border: 1.5px solid var(--bg3);
    padding: .32rem .8rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all .14s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .32rem;
}

.chip:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

.chip.on {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* UZMAN LİSTESİ */
.list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0 .75rem;
}

.list-count {
    font-size: .8rem;
    font-weight: 700;
    color: var(--ink3);
}

.list-count span {
    color: var(--brand-dark);
}

.card-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-bottom: 4rem;
}

@media(max-width:720px) {
    .card-list {
        grid-template-columns: 1fr;
    }
}

/* KART */
.ecard {
    background: var(--white);
    border: 1.5px solid var(--bg3);
    border-radius: 18px;
    padding: 1.2rem 1.3rem;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s, transform .16s;
    position: relative;
    overflow: hidden;
}

.ecard::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
    background: transparent;
    transition: background .16s;
}

.ecard:hover {
    border-color: var(--brand-dark);
    box-shadow: 0 5px 24px rgba(155, 0, 255, .09);
    transform: translateY(-2px);
}

.ecard:hover::before {
    background: var(--brand-dark);
}

.ecard.gone {
    display: none !important;
}

/* Kart üst satır: avatar + isim + müsait badge */
.card-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .75rem;
}

.av {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--brand-dark);
}

.card-info {
    flex: 1;
    min-width: 0;
}

.card-name-row {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
    margin-bottom: .18rem;
}

.card-name {
    font-family: 'Outfit', sans-serif;
    font-size: .98rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.025em;
}

.avail-badge {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .04em;
    padding: .18rem .55rem;
    border-radius: 100px;
}

.ab-today {
    background: #dcfce7;
    color: #15803d;
}

.ab-today::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
}

.ab-week {
    background: #fef9c3;
    color: #854d0e;
}

.ab-week::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ca8a04;
    flex-shrink: 0;
}

.card-sub {
    font-size: .72rem;
    color: var(--ink3);
}

/* Ücretsiz ön görüşme butonu - kart içinde */
.card-mid-row {
    margin-bottom: .8rem;
}

.free-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .68rem;
    font-weight: 800;
    color: #fff;
    background: #9b00ff;
    /* Mor renk */
    padding: .35rem .85rem;
    border-radius: 100px;
    box-shadow: 0 3px 10px rgba(155, 0, 255, .25);
    transition: transform .15s;
    cursor: pointer;
}

.free-cta-btn:hover {
    transform: scale(1.02);
}

.free-cta-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Uzmanlık etiketleri */
.specs {
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
    margin-bottom: .65rem;
}

.stag {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .15rem .5rem;
    border-radius: 100px;
}

.stag-p {
    color: var(--brand-dark);
    background: var(--bg2);
}

.stag-s {
    color: var(--ink3);
    background: var(--bg);
}

/* Yorum */
.card-review {
    background: var(--bg);
    border-radius: 9px;
    border-left: 2.5px solid var(--bg3);
    padding: .5rem .7rem;
    margin-bottom: .75rem;
}

.review-text {
    font-size: .73rem;
    color: var(--ink3);
    line-height: 1.6;
    padding-left: .6rem;
    position: relative;
}

.review-text::before {
    content: '"';
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--brand-dark);
    opacity: .25;
    position: absolute;
    left: 0;
    top: -.1rem;
    line-height: 1;
}

.review-author {
    font-size: .63rem;
    font-weight: 700;
    color: var(--ink3);
    opacity: .6;
    margin-top: .25rem;
    padding-left: .6rem;
}

/* Puan */
.card-rating {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: .85rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.s {
    width: 11px;
    height: 11px;
}

.sf {
    fill: #f59e0b;
}

.se {
    fill: #e5d0f8;
}

.rval {
    font-size: .76rem;
    font-weight: 700;
    color: var(--ink);
}

.rcnt {
    font-size: .7rem;
    color: var(--ink3);
}

/* Kart alt butonlar */
.card-actions {
    display: flex;
    gap: .6rem;
    align-items: center;
}

.btn-appt {
    font-family: 'Outfit', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand-dark);
    padding: .6rem 1.3rem;
    border-radius: 100px;
    box-shadow: 0 2px 10px rgba(155, 0, 255, .24);
    transition: box-shadow .16s, transform .16s;
    white-space: nowrap;
    border: none;
}

.btn-appt:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(155, 0, 255, .34);
}

.btn-profile {
    font-family: 'Outfit', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    color: var(--brand-dark);
    border: 1.5px solid var(--bg3);
    background: transparent;
    padding: .58rem 1.1rem;
    border-radius: 100px;
    transition: border-color .15s;
    white-space: nowrap;
    cursor: pointer;
}

.btn-profile:hover {
    border-color: var(--brand-dark);
}

/* Sonuç yok */
.nores {
    text-align: center;
    padding: 3.5rem 1rem;
    display: none;
}

.nores.vis {
    display: block;
}

.nores-ico {
    font-size: 2.2rem;
    margin-bottom: .6rem;
}

.nores-t {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .3rem;
}

.nores-s {
    font-size: .82rem;
    color: var(--ink3);
}

.nores-btn {
    display: inline-block;
    margin-top: .85rem;
    font-family: 'Outfit', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand-dark);
    padding: .62rem 1.3rem;
    border-radius: 100px;
    cursor: pointer;
    border: none;
}

/* Animasyon */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ecard {
    animation: fadeUp .3s ease both;
}

/* ── MODERN HERO (TESTLER SAYFASI STİLİ) ── */
.tests-hero {
    background: var(--bg);
    border-bottom: 1px solid var(--bg3);
    padding-top: 140px;
    /* Testler sayfasıyla aynı ferahlık */
}

.tests-hero-inner {
    padding: clamp(4rem, 6vw, 6rem) 0 clamp(2.5rem, 4vw, 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.tests-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-dark);
    background: var(--bg2);
    border: 1px solid var(--bg3);
    padding: .35rem .9rem;
    border-radius: 100px;
}

.tests-hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-dark);
}

.tests-hero-h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.1;
    color: var(--ink);
}

.tests-hero-h1 em {
    font-style: normal;
    color: var(--brand-dark);
}

.tests-hero-p {
    font-size: .975rem;
    color: var(--ink3);
    line-height: 1.75;
    max-width: 520px;
    font-weight: 400;
}

.tests-hero-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.ths {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    align-items: center;
}

.ths-n {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.03em;
}

.ths-n em {
    font-style: normal;
    color: var(--brand-dark);
}

.ths-l {
    font-size: .72rem;
    color: var(--ink3);
    font-weight: 500;
}

/* Chips container optimization */
.chips-container {
    background: var(--white);
    border: 1.5px solid var(--bg3);
    border-radius: 20px;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.chips {
    justify-content: center;
}

/* ── MOBİL ── */
@media(max-width:600px) {
    .ecard {
        padding: 1rem;
    }

    .av {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .card-name {
        font-size: .9rem;
    }

    .avail-badge {
        font-size: .57rem;
        padding: .15rem .45rem;
    }

    .card-actions {
        gap: .5rem;
    }

    .btn-appt,
    .btn-profile {
        flex: 1;
        padding: .6rem .5rem;
        font-size: .75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tests-hero-h1 {
        font-size: 1.5rem;
    }

    .tests-hero-inner {
        padding: 3rem 0 2.5rem;
    }

    .chips {
        gap: .3rem;
    }

    .chip {
        font-size: .68rem;
        padding: .28rem .65rem;
    }

    .review-text {
        font-size: .7rem;
    }

    .rval {
        font-size: .72rem;
    }

    .rcnt {
        font-size: .66rem;
    }
}

/* ARAMA KUTUSU (TESTLER SAYFASIYLA AYNI) */
.test-search-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.test-search-box {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--white);
    border: 1.5px solid var(--bg3);
    border-radius: 14px;
    padding: .85rem 1.25rem;
    transition: border-color .2s, box-shadow .2s;
}

.test-search-box:focus-within {
    border-color: var(--brand-dark);
    box-shadow: 0 0 0 3px rgba(155, 0, 255, .08);
}

.test-search-box>svg {
    width: 18px;
    height: 18px;
    stroke: var(--ink3);
    flex-shrink: 0;
}

.test-search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: .95rem;
    color: var(--ink);
}

.test-search-box input::placeholder {
    color: var(--ink3);
}

.test-search-clear {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
}

.test-search-clear svg {
    width: 14px;
    height: 14px;
    stroke: var(--ink3);
}

.test-search-clear:hover svg {
    stroke: var(--ink);
}

.test-search-count {
    font-size: .8rem;
    color: var(--ink3);
    font-weight: 500;
    white-space: nowrap;
}