﻿/* ==========================================================================
   ISHOST — لیست‌های ناحیه کاربری (ishost106)
   سرویس‌ها / دامنه‌ها / فاکتورها — کارت اختصاصی بدون DataTables
   ========================================================================== */

body.ishost-list-page .ish-breadcrumb,
body.ishost-list-page .master-breadcrumb,
body.ishost-list-page .primary-content > h1,
body.ishost-list-page .primary-content > .header-lined,
body.ishost-list-page .ish-page-hero {
    display: none !important;
}

body.ishost-list-page .primary-content > .card {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.ishost-list-page .primary-content > .card > .card-body {
    padding: 0 !important;
}

body.ishost-list-page .primary-content {
    background:
        radial-gradient(ellipse 70% 36% at 50% 0%, rgba(13, 62, 163, 0.04), transparent 62%);
}

.ish-list {
    --ish-blue: #0d3ea3;
    --ish-gold: #f5b400;
    --ish-ink: #0f172a;
    --ish-muted: #64748b;
    --ish-surface-radius: 14px;
    --ish-surface-border: #e5eaf1;
    direction: rtl;
    text-align: right;
    max-width: 920px;
    margin: 0 auto 2.5rem;
    padding: 0.9rem 1.1rem 0;
    font-family: "Vazir", "IRANSans", "IRANYekan", Tahoma, Arial, sans-serif;
    box-sizing: border-box;
}

.ish-list *,
.ish-list *::before,
.ish-list *::after {
    box-sizing: border-box;
}

.ish-list .ish-surface {
    background: #fff;
    border: 1px solid var(--ish-surface-border);
    border-radius: var(--ish-surface-radius);
    box-shadow: none;
}

.ish-list__hero {
    margin: 0 0 1.25rem !important;
    padding: 1rem 1.25rem 1.05rem;
    box-shadow: 0 8px 24px -22px rgba(15, 23, 42, 0.28);
}

.ish-list__hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.25rem;
}

.ish-list__hero-main {
    min-width: 0;
    flex: 1 1 auto;
}

.ish-list__kicker {
    margin: 0 0 0.28rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ish-blue);
}

.ish-list__title {
    margin: 0;
    font-size: clamp(1.15rem, 2.1vw, 1.4rem);
    font-weight: 700;
    color: var(--ish-ink);
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.ish-list__lead {
    margin: 0.2rem 0 0;
    max-width: 28rem;
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.6;
    color: #7c8aa0;
}

.ish-list__toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.4rem;
    padding-top: 0.15rem;
}

.ish-list__btn {
    min-height: 34px;
    padding: 0.3rem 0.9rem !important;
    border-radius: 8px !important;
    font-weight: 650 !important;
    font-size: 0.8rem !important;
    background: #0d3ea3 !important;
    border: none !important;
    box-shadow: none !important;
}

.ish-clist {
    padding: 1rem 1.1rem 1.1rem;
}

.ish-clist__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #eef2f7;
}

.ish-clist__search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.ish-clist__search-ico {
    position: absolute;
    right: 0.85rem;
    color: #94a3b8;
    font-size: 0.82rem;
    pointer-events: none;
}

.ish-clist__search-input {
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 2.4rem 0.55rem 0.9rem;
    border-radius: 11px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.88rem;
    box-shadow: none;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ish-clist__search-input::placeholder {
    color: #94a3b8;
}

.ish-clist__search-input:focus {
    background: #fff;
    border-color: rgba(13, 62, 163, 0.4);
    box-shadow: 0 0 0 3px rgba(13, 62, 163, 0.1);
}

.ish-clist__count {
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 650;
    color: #94a3b8;
    white-space: nowrap;
}

.ish-clist__bulk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.85rem;
}

.ish-clist__bulk .btn,
.ish-clist__bulk .btn-default {
    min-height: 34px;
    padding: 0.28rem 0.7rem !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: #334155 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.ish-clist__bulk .btn:hover,
.ish-clist__bulk .btn-default:hover {
    border-color: rgba(13, 62, 163, 0.28) !important;
    color: #0d3ea3 !important;
    background: #f8fafc !important;
}

.ish-clist__bulk .dropdown-menu {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px -18px rgba(15, 23, 42, 0.35);
    font-size: 0.84rem;
}

.ish-clist__selectall {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}

.ish-clist__selectall input {
    margin: 0;
}

.ish-clist__items {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ish-lcard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid #e8eef5;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.12s ease, background 0.12s ease;
}

a.ish-lcard:hover,
.ish-lcard:hover {
    border-color: rgba(13, 62, 163, 0.22);
    background: #f8fafc;
    text-decoration: none;
    color: inherit;
}

.ish-lcard.is-unpaid {
    border-color: #fde68a;
    background: #fffbeb;
}

.ish-lcard.is-unpaid:hover {
    border-color: #f5b400;
    background: #fff8e6;
}

.ish-lcard--domain {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    padding: 0;
    overflow: hidden;
}

.ish-lcard__check {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.15rem 0 0.85rem;
}

.ish-lcard__check input {
    margin: 0;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.ish-lcard__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.75rem 1rem;
    min-width: 0;
    padding: 0.9rem 1rem 0.9rem 0;
    text-decoration: none;
    color: inherit;
}

.ish-lcard__body:hover {
    text-decoration: none;
    color: inherit;
}

.ish-lcard__main {
    min-width: 0;
}

.ish-lcard__top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
}

.ish-lcard__id {
    font-size: 0.74rem;
    font-weight: 750;
    color: #0d3ea3;
}

.ish-lcard__ssl {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.ish-lcard__ssl img {
    width: 18px;
    height: 18px;
}

.ish-lcard__title {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    word-break: break-word;
}

.ish-lcard__sub {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 550;
    color: #94a3b8;
    word-break: break-word;
}

.ish-lcard__sub a {
    color: #64748b;
    text-decoration: none;
}

.ish-lcard__sub a:hover {
    color: #0d3ea3;
}

.ish-lcard__hint {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.25rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
}

.ish-lcard__hint .text-success {
    color: #16a34a !important;
}

.ish-lcard__hint .text-danger {
    color: #dc2626 !important;
}

.ish-lcard__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex: 0 0 auto;
}

.ish-lcard__amount {
    font-size: 0.86rem;
    font-weight: 750;
    color: #0f172a;
    white-space: nowrap;
}

.ish-lcard__amount small {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.72rem;
    font-weight: 550;
    color: #94a3b8;
}

.ish-lcard__status.label,
.ish-lcard__status {
    display: inline-flex !important;
    align-items: center;
    min-height: 26px;
    padding: 0.2rem 0.65rem !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border: none !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

.ish-lcard__date {
    font-size: 0.74rem;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
}

.ish-lcard__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    color: #cbd5e1;
    font-size: 0.75rem;
}

.ish-lcard:hover .ish-lcard__chevron,
.ish-lcard__body:hover .ish-lcard__chevron {
    color: #0d3ea3;
}

.ish-clist__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.25rem 1rem;
    text-align: center;
}

.ish-clist__empty p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.ish-clist__empty--search {
    padding: 1.25rem 0.5rem 0.5rem;
}

.ish-list__alert {
    margin: 0 0 1rem;
}

@media (max-width: 767.98px) {
    .ish-list {
        max-width: 100%;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .ish-list__hero-top {
        flex-direction: column;
        align-items: stretch;
    }

    .ish-list__toolbar {
        justify-content: flex-start;
    }

    .ish-clist {
        padding: 0.85rem 0.85rem 0.95rem;
    }

    .ish-clist__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ish-clist__count {
        align-self: flex-start;
    }

    .ish-lcard {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main chevron"
            "meta chevron";
        gap: 0.55rem 0.65rem;
        padding: 0.85rem 0.9rem;
    }

    .ish-lcard__main {
        grid-area: main;
    }

    .ish-lcard__meta {
        grid-area: meta;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .ish-lcard__chevron {
        grid-area: chevron;
        align-self: center;
    }

    .ish-lcard--domain {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: none;
    }

    .ish-lcard--domain .ish-lcard__check {
        align-self: start;
        padding: 0.95rem 0.15rem 0.95rem 0.65rem;
    }

    .ish-lcard__body {
        grid-column: 2;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main chevron"
            "meta chevron";
        padding: 0.85rem 0.9rem 0.85rem 0;
    }

    .ish-lcard__body .ish-lcard__main {
        grid-area: main;
    }

    .ish-lcard__body .ish-lcard__meta {
        grid-area: meta;
    }

    .ish-lcard__body .ish-lcard__chevron {
        grid-area: chevron;
    }
}
/* ==========================================================================
   ISHOST — مرکز دانلود (ishost124)
   ========================================================================== */

.ish-dl__search {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.ish-dl__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 1rem;
    border-radius: 12px;
    border: 1px solid #dfe7f2;
    background: #fff;
    font-family: inherit;
    font-size: 0.92rem;
}

.ish-dl__input:focus {
    outline: none;
    border-color: rgba(13, 62, 163, 0.35);
    box-shadow: 0 0 0 3px rgba(13, 62, 163, 0.06);
}

.ish-dl__btn {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 1.25rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #1148b8, #0d3ea3);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.ish-dl__back {
    flex-shrink: 0;
    align-self: flex-start;
    font-size: 0.84rem;
    font-weight: 700;
    color: #0d3ea3 !important;
    text-decoration: none !important;
}

.ish-dl__cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 1.5rem;
}

.ish-dl__cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.ish-dl__cat:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 62, 163, 0.28);
}

.ish-dl__cat-mono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(13, 62, 163, 0.07);
}

.ish-dl__cat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.ish-dl__cat-body strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.ish-dl__cat-body small {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
}

.ish-dl__cat-count {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(13, 62, 163, 0.08);
    color: #0d3ea3;
    font-size: 0.74rem;
    font-weight: 700;
}

.ish-dl__section {
    margin-bottom: 1.5rem;
}

.ish-dl__section-head {
    margin: 0 0 0.75rem;
}

.ish-dl__section-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.ish-dl__files {
    overflow: hidden;
}

.ish-dl__file {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid #f1f5f9;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.13s ease;
}

.ish-dl__file:first-child {
    border-top: none;
}

.ish-dl__file:hover {
    background: #f8fafc;
}

.ish-dl__file-mono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(13, 62, 163, 0.07);
}

.ish-dl__file-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1 1 auto;
}

.ish-dl__file-body strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}

.ish-dl__file-body small {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.55;
}

.ish-dl__file-meta {
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
}

.ish-dl__lock {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(176, 118, 0, 0.12);
    color: #9a6700;
    font-size: 0.72rem;
    font-weight: 700;
}

.ish-dl__empty,
.ish-dl__empty-inline {
    padding: 2rem 1.25rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .ish-dl__cats {
        grid-template-columns: 1fr;
    }

    .ish-dl__search {
        flex-direction: column;
    }
}
