/* =========================================================
   ADMIN STORES
   Sadece magaza yonetimi sayfasi icin
   ========================================================= */

.admin-stores-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.admin-stores-page .admin-page-header {
    margin-bottom: 0;
}

.admin-stores-page .admin-page-title {
    margin: 0;
}

.admin-stores-page .admin-page-description {
    max-width: 860px;
}

/* =========================================================
   FILTER BAR
   ========================================================= */

.admin-stores-filter-section {
    display: block;
}

.admin-stores-filter-bar {
    align-items: end;
}

.admin-stores-filter-bar .admin-filter-group {
    min-width: 220px;
    flex: 1 1 220px;
}

.admin-stores-filter-bar .admin-toolbar__right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================================================
   LIST SECTION
   ========================================================= */

.admin-stores-list-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-stores-list-section .admin-section-header {
    margin-bottom: 0;
}

.admin-stores-list-section .admin-section-title {
    margin: 0;
}

/* =========================================================
   TABLE
   ========================================================= */

.admin-stores-list-section .admin-table-wrap {
    overflow: hidden;
}

.admin-stores-list-section .admin-table {
    min-width: 1680px;
}

.admin-stores-list-section .admin-table td {
    vertical-align: middle;
}

.admin-stores-list-section .admin-table th:nth-child(1),
.admin-stores-list-section .admin-table td:nth-child(1) {
    width: 70px;
    white-space: nowrap;
}

.admin-stores-list-section .admin-table th:nth-child(2),
.admin-stores-list-section .admin-table td:nth-child(2) {
    width: 86px;
    white-space: nowrap;
}

.admin-stores-list-section .admin-table th:nth-child(3),
.admin-stores-list-section .admin-table td:nth-child(3) {
    min-width: 180px;
}

.admin-stores-list-section .admin-table th:nth-child(4),
.admin-stores-list-section .admin-table td:nth-child(4) {
    min-width: 220px;
}

.admin-stores-list-section .admin-table th:nth-child(5),
.admin-stores-list-section .admin-table td:nth-child(5),
.admin-stores-list-section .admin-table th:nth-child(6),
.admin-stores-list-section .admin-table td:nth-child(6),
.admin-stores-list-section .admin-table th:nth-child(7),
.admin-stores-list-section .admin-table td:nth-child(7) {
    min-width: 140px;
}

.admin-stores-list-section .admin-table th:nth-child(8),
.admin-stores-list-section .admin-table td:nth-child(8) {
    min-width: 260px;
}

.admin-stores-list-section .admin-table th:nth-child(9),
.admin-stores-list-section .admin-table td:nth-child(9) {
    min-width: 220px;
}

.admin-stores-list-section .admin-table th:nth-child(10),
.admin-stores-list-section .admin-table td:nth-child(10) {
    width: 120px;
    white-space: nowrap;
}

.admin-stores-list-section .admin-table th:nth-child(11),
.admin-stores-list-section .admin-table td:nth-child(11) {
    width: 420px;
    white-space: nowrap;
}

.admin-stores-list-section .admin-table td:nth-child(3),
.admin-stores-list-section .admin-table td:nth-child(4),
.admin-stores-list-section .admin-table td:nth-child(5),
.admin-stores-list-section .admin-table td:nth-child(6),
.admin-stores-list-section .admin-table td:nth-child(7) {
    color: #222222;
    font-weight: 600;
    word-break: break-word;
}

/* =========================================================
   LOGO
   ========================================================= */

.admin-stores-table__logo {
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-stores-table__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-stores-table__logo--empty {
    background: #f7f7f7;
    color: #111111;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

/* =========================================================
   ADDRESS / SLUG
   ========================================================= */

.admin-stores-table__address {
    color: #333333;
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
    white-space: normal;
    max-width: 320px;
}

.admin-stores-table__slug {
    color: #333333;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
    white-space: normal;
}

/* =========================================================
   ACTIONS
   ========================================================= */

.admin-stores-list-section .admin-table__actions {
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-stores-list-section .admin-btn--sm {
    min-width: 78px;
}

/* =========================================================
   EMPTY
   ========================================================= */

.admin-stores-list-section .admin-empty {
    margin-top: 0;
}

/* =========================================================
   VISUAL POLISH
   ========================================================= */

.admin-stores-page .admin-table-wrap,
.admin-stores-page .admin-filter-bar {
    background: #ffffff;
}

.admin-stores-page .admin-section-title {
    color: #111111;
}

.admin-stores-page .admin-section-description {
    color: #666666;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
    .admin-stores-page {
        gap: 22px;
    }

    .admin-stores-list-section .admin-table {
        min-width: 1540px;
    }
}

@media (max-width: 992px) {
    .admin-stores-page {
        gap: 20px;
    }

    .admin-stores-filter-bar .admin-filter-group {
        min-width: 180px;
        flex: 1 1 180px;
    }

    .admin-stores-list-section .admin-table {
        min-width: 1440px;
    }
}

@media (max-width: 768px) {
    .admin-stores-list-section .admin-section-title {
        font-size: 18px;
    }

    .admin-stores-filter-bar .admin-toolbar__right {
        width: 100%;
    }

    .admin-stores-list-section .admin-table {
        min-width: 1320px;
    }

    .admin-stores-table__address,
    .admin-stores-table__slug {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .admin-stores-page {
        gap: 18px;
    }

    .admin-stores-filter-bar .admin-filter-group {
        min-width: 100%;
        flex: 1 1 100%;
    }

    .admin-stores-filter-bar .admin-toolbar__right {
        justify-content: flex-start;
    }

    .admin-stores-list-section .admin-table {
        min-width: 1220px;
    }

    .admin-stores-list-section .admin-btn--sm {
        min-width: 72px;
    }
}