@import url("dh-info-i-btn.css");
@import url("dh-components-gecemodu.css");

/* Zeplin: “haftanın testleri” — zpl.io/m81mm66 (varsayılan) */

.dh-week-tests {
    --dh-wt-accent: #f37829;
    --dh-wt-accent-soft: #f88d49;
    --dh-wt-score: #4a90e2;
    --dh-wt-muted: #999;
    --dh-wt-track: #dedede;
    --dh-wt-pill-bg: #f1f1f1;
    --dh-wt-rule: #f1f1f1;
    --dh-wt-thumb-bg: #dedede;
    --dh-wt-font: Arial, Helvetica, sans-serif;
    --dh-wt-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --dh-pg-bg: #fff;
    --dh-pg-radius: 3px;
    --dh-pg-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    --dh-pg-pad-x: 30px;
    --dh-pg-pad-y-top: 32px;
    --dh-pg-pad-y-bottom: 26px;
    box-sizing: border-box;
    font-family: var(--dh-wt-font-ui);
    width: 100%;
}

.dh-week-tests_panel {
    background: var(--dh-pg-bg);
    border-radius: var(--dh-pg-radius);
    box-shadow: var(--dh-pg-shadow);
    padding: var(--dh-pg-pad-y-top) var(--dh-pg-pad-x) var(--dh-pg-pad-y-bottom);
    width: 100%;
}

.dh-week-tests *,
.dh-week-tests *::before,
.dh-week-tests *::after {
    box-sizing: border-box;
}

.dh-week-tests__head {
    position: relative;
    padding: 0 0 12px;
    width: 100%;
    box-sizing: border-box;
}

.dh-week-tests__body {
    width: 100%;
    box-sizing: border-box;
}

.dh-week-tests__head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 10px;
}

.dh-week-tests__icon-wrap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: -2px;
    border-radius: 3px;
    background: var(--dh-wt-accent);
}

    .dh-week-tests__icon-wrap img {
        display: block;
        width: 16px;
        height: 16px;
        object-fit: contain;
    }

.dh-week-tests__titles {
    flex: 1;
    min-width: 0;
}

/* Zeplin ara başlık > ad: başlık + Rectangle (Hafta Detayı) + info — sağa yaslı değil */
.dh-week-tests__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.dh-week-tests__title {
    margin: 0;
    font-family: var(--dh-wt-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--dh-wt-accent);
}

/* Zeplin: Rectangle — 71×16, radius 3, #f37829, metin 11 beyaz */
.dh-week-tests__week-rect {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 16px;
    padding: 2px 8px;
    border-radius: 3px;
    background: var(--dh-wt-accent);
    color: #fff;
    font-family: var(--dh-wt-font-ui);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

    .dh-week-tests__week-rect:hover {
        filter: brightness(1.05);
    }

.dh-week-tests__subtitle {
    margin: 4px 0 0;
    font-family: var(--dh-wt-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.106px;
    color: var(--dh-wt-muted);
}

.dh-week-tests__rule {
    height: 1px;
    margin-top: 12px;
    background: var(--dh-wt-rule);
    border-radius: 3.5px;
    width: 100%;
    float: left;
}

.dh-week-tests__list {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .dh-week-tests__list::before {
        content: "";
        position: absolute;
        top: 35px;
        bottom: 35px;
        left: 34px;
        width: 3px;
        margin-left: -1.5px;
        background: var(--dh-wt-track);
        border-radius: 5px;
        pointer-events: none;
    }

.dh-week-tests__item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 0 15px;
    align-items: stretch;
    min-height: 70px;
    padding-bottom: 20px;
}

    .dh-week-tests__item:last-child {
        padding-bottom: 0;
    }

/* Turuncu çerçeve: inset box-shadow img altında kalıyordu — 2px turuncu halka + iç görsel */

.dh-week-tests__thumb {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    padding: 2px;
    border-radius: 7px;
    background: var(--dh-wt-accent-soft);
    overflow: hidden;
}

.dh-week-tests__item.passive .dh-week-tests__thumb:not(.dh-week-tests__thumb--placeholder) {
    background-color: transparent;
}

.dh-week-tests__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

.dh-week-tests__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--dh-wt-pill-bg);
    border-radius: 5px;
}

.dh-week-tests__item.active .dh-week-tests__thumb--placeholder {
    background-color: #4a90e2;
}

.dh-week-tests__thumb--placeholder img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.dh-week-tests__copy {
    display: flex;
    flex-direction: column;
    min-height: 70px;
    min-width: 0;
}

.dh-week-tests__item-title {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.44px;
    color: #000;
}

/* test-odullu.html sayfasına özel başlık boyutu */
.test-odullu-week-tests .dh-week-tests__item-title {
    font-size: 17px;
}

/* Puan rengi — mavi (varsayılan --dh-wt-score) */
.dh-week-tests--score-blue {
    --dh-wt-score: #4a90e2;
}

    .dh-week-tests--score-blue .dh-week-tests__score,
    .dh-week-tests--score-blue .dh-week-tests__item--muted-title .dh-week-tests__score {
        color: var(--dh-wt-score);
    }

/* test-samsung-haftasi-testler.html sayfasına özel başlık boyutu */
.dh-week-tests--samsung-haftasi-testler .dh-week-tests__item-title {
    font-size: 17px;
}

.dh-week-tests__item-title--emph {
    font-weight: 700;
}

.dh-week-tests__item--muted-title .dh-week-tests__item-title {
    font-weight: 700;
    color: var(--dh-wt-muted);
}

.dh-week-tests__item--muted-title.active .dh-week-tests__item-title {
    color: #4a90e2;
}

.dh-week-tests__item--muted-title .dh-week-tests__score {
    color: #ccc;
}

.dh-week-tests__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    row-gap: 4px;
    margin-top: auto;
    padding-top: 10px;
}

.dh-week-tests__meta-end {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.dh-week-tests__date {
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: -0.38px;
    color: var(--dh-wt-muted);
}

.dh-week-tests__score-pill {
    display: inline-flex;
    align-items: center;
    min-height: 17px;
    padding: 2px 9px;
    border-radius: 10px;
    background: var(--dh-wt-pill-bg);
}

.dh-week-tests__score {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: -0.29px;
    color: var(--dh-wt-score);
}

.dh-week-tests__item.passive .dh-week-tests__score {
    color: #ccc;
}

.dh-week-tests__score strong {
    font-weight: 700;
}

.dh-week-tests__progress {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.dh-week-tests__meta-end .dh-week-tests__progress {
    margin-left: 0;
}

.dh-week-tests__progress img {
    display: block;
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.dh-week-tests__fraction {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.38px;
    color: var(--dh-wt-accent-soft);
    white-space: nowrap;
}

.dh-week-tests__item.passive .dh-week-tests__fraction {
    color: #999;
}

.dh-week-tests__active-tag {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.38px;
    color: var(--dh-wt-score);
    white-space: nowrap;
}

.dh-week-tests__score-pill--wide {
    min-width: 0;
}

/* ——— zpl.io/y1JRR79 — puan “-”, kesir #999, saat ikonu yok, kapakta turuncu halka yok ——— */

.dh-week-tests--scores-dash .dh-week-tests__item:not(.active) .dh-week-tests__thumb {
    padding: 0;
    background: #f1f1f1;
    border-radius: 5px;
}

    .dh-week-tests--scores-dash .dh-week-tests__item:not(.active) .dh-week-tests__thumb img {
        border-radius: 5px;
    }

.dh-week-tests--scores-dash .dh-week-tests__item:not(.active) .dh-week-tests__progress .dh-week-tests__fraction {
    color: #999;
}

.dh-week-tests--scores-dash .dh-week-tests__item:not(.active) .dh-week-tests__progress img {
    display: none;
}

.dh-week-tests--scores-dash .dh-week-tests__score-pill--inactive .dh-week-tests__score,
.dh-week-tests--scores-dash .dh-week-tests__score-pill--inactive .dh-week-tests__score strong {
    color: #ccc;
    font-weight: 400;
}

.dh-week-tests__item-title--status-muted {
    color: #999;
    font-weight: 400;
}

.dh-week-tests__item-title--status-muted-bold {
    color: #999;
    font-weight: 700;
}

.dh-week-tests__item-line2 {
    margin: 0;
    font-size: 13px;
    line-height: 1.31;
    letter-spacing: -0.38px;
    color: var(--dh-wt-score);
    font-weight: 400;
}

.dh-week-tests__item-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    min-width: 0;
    width: 100%;
    margin-top: auto;
    gap: 8px;
}

    .dh-week-tests__item-bottom .dh-week-tests__meta {
        margin-top: 0;
        padding-top: 0;
    }

.dh-week-tests-v2 .dh-week-tests__heading {
    justify-content: space-between;
}

    .dh-week-tests-v2 .dh-week-tests__heading .dh-week-tests__heading-right {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-right: -9px;
    }

.dh-week-tests-v2 .dh-week-tests__title {
    font-size: 22px;
    letter-spacing: -0.64px;
    line-height: 26px;
}

.dh-week-tests-v2 .dh-week-tests__subtitle {
    letter-spacing: 0.3px;
    color: #000;
    font-size: 14px;
}

/* Zeplin: “Yeni mesajlar” listeler arası ayırıcı — zpl.io/YPWzzAE */
.dh-week-tests-new-messages {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 33px 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    justify-content: center;
}

.dh-week-tests-new-messages__rule {
    min-width: 0;
    height: 2px;
    background: #999;
    width: 50px;
}

.dh-week-tests-new-messages__label {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: bold;
    color: #999;
    text-transform: none;
}

.dh-week-tests__heading-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

    .dh-week-tests__heading-bottom .award {
        font-size: 13px;
        font-weight: bold;
        line-height: 1.31;
        letter-spacing: -0.38px;
        text-align: right;
        color: #f88d49;
        margin-right: -7px;
    }

/* test-samsung-haftasi-testler.html alt CTA (Zeplin BUTON) */
.samsung-haftasi-bottom-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 28px 0 34px;
}

.samsung-haftasi-bottom-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 266px;
    height: 45px;
    border-radius: 5px;
    background-color: #f4792b;
    color: #fff;
    font-family: "SFProDisplay", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.16px;
    line-height: 1;
    text-decoration: none;
}
