/* =========================================================
   ÇÖZÜMLER LİSTESİ  (ListPages/_Type2.cshtml)
========================================================= */

/* =========================================================
   FİLTRE + ARAMA
========================================================= */

.cz-list-section {
    padding: 56px 0 88px;
    background: #fff;
}

.cz-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
}

.cz-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cz-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border: 1px solid var(--tg-line);
    border-radius: 999px;
    background: #fff;
    font-family: var(--tg-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    color: var(--tg-text);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.cz-chip:hover {
    border-color: var(--tg-geyser);
}

.cz-chip.active {
    background: var(--tg-navy);
    border-color: var(--tg-navy);
    color: #fff;
}

.cz-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 282px;
    height: 46px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid var(--tg-line);
    border-radius: 8px;
    background: #fff;
    color: var(--tg-subtle);
    cursor: text;
}

.cz-search:focus-within {
    border-color: var(--tg-navy);
}

.cz-search svg {
    flex-shrink: 0;
}

.cz-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--tg-font);
    font-size: 15px;
    line-height: 18px;
    color: var(--tg-text);
}

.cz-search-input::placeholder {
    color: #757575;
}


/* =========================================================
   KARTLAR
========================================================= */

.cz-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.cz-empty {
    margin: 24px 0 0;
    font-size: 16px;
    color: var(--tg-muted);
}


/* =========================================================
   BULAMADINIZ MI?
========================================================= */

.cz-notfound {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding: 30px 32px;
    border-radius: 12px;
    background: var(--tg-soft);
}

.cz-notfound-text {
    max-width: 560px;
    font-size: 16px;
    line-height: 26px;
    color: var(--tg-text);
}

.cz-notfound .tg-btn {
    flex-shrink: 0;
}


/* =========================================================
   UZAK DESTEK DOSYALARI (Views/Shared/_UzakDestek)
========================================================= */

.cz-remote {
    padding: 64px 0;
}

.cz-remote-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 32px;
}

.cz-remote-titles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}

.cz-remote-title {
    margin: 0;
    font-family: var(--tg-display);
    font-size: 34px;
    font-weight: 800;
    line-height: 39px;
    letter-spacing: -1.02px;
    color: var(--tg-ink);
}

.cz-remote-desc {
    font-size: 16px;
    line-height: 26px;
    color: var(--tg-muted);
}

.cz-remote-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
    color: var(--tg-blue);
}

.cz-remote-link:hover {
    color: var(--tg-navy);
}

.cz-remote-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cz-remote-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--tg-line);
    border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cz-remote-card:hover {
    border-color: var(--tg-geyser);
    box-shadow: 0 16px 32px -24px rgba(15, 23, 42, 0.35);
}

.cz-remote-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--tg-icon-bg);
    font-family: var(--tg-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--tg-navy);
}

.cz-remote-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    margin-right: auto;
}

.cz-remote-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
    color: var(--tg-ink);
}

.cz-remote-platform {
    font-size: 13px;
    line-height: 16px;
    color: var(--tg-subtle);
}

.cz-remote-dl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--tg-line);
    border-radius: 8px;
    color: var(--tg-navy);
    transition: background-color .2s ease, color .2s ease;
}

.cz-remote-card:hover .cz-remote-dl {
    background: var(--tg-navy);
    border-color: var(--tg-navy);
    color: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
    .cz-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cz-search {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .cz-remote-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cz-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cz-remote {
        padding: 56px 0;
    }

    .cz-remote-title {
        font-size: 26px;
        line-height: 32px;
    }

    .cz-list-section {
        padding: 40px 0 64px;
    }

    .cz-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -20px;
        padding: 0 20px 4px;
        scrollbar-width: none;
    }

    .cz-filters::-webkit-scrollbar {
        display: none;
    }

    .cz-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }

    .cz-card {
        height: 190px;
    }

    .cz-notfound {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}
