/* =========================================================
   ADMIN SIDEBAR
   ========================================================= */

.admin-sidebar-collapsed .admin-profile {
    justify-content: center;

    padding-left: 0;
    padding-right: 0;
}

.admin-sidebar-collapsed .admin-profile-info {
    display: none;
}

.admin-sidebar-collapsed .admin-profile-chevron {
    display: none;
}
.admin-profile-container {
    position: relative;
    width: 100%;
}

.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;

    width: 250px;

    display: flex;
    flex-direction: column;

    background:
            linear-gradient(
                    180deg,
                    #101722 0%,
                    #0b111a 100%
            );

    border-right: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow:
            8px 0 30px rgba(0, 0, 0, 0.12);

    z-index: 1030;

    transition:
            width 0.22s ease,
            box-shadow 0.22s ease;
}


/* =========================================================
   HEADER
   ========================================================= */

.admin-sidebar-header {
    height: 76px;

    display: flex;
    align-items: center;

    padding: 0 14px 0 20px;

    flex-shrink: 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


/* =========================================================
   LOGO
   ========================================================= */

.admin-sidebar-logo {
    flex: 1;

    display: flex;
    align-items: center;

    min-width: 0;

    text-decoration: none;
}

.admin-sidebar-logo-full {
    display: block;

    width: 122px;
    height: auto;
}


/* =========================================================
   TOGGLE
   ========================================================= */

.admin-sidebar-toggle {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;

    background: #172334;

    color: #aebbd0;

    cursor: pointer;

    transition:
            background .18s ease,
            color .18s ease;
}

.admin-sidebar-toggle:hover {
    background: #20324a;
    color: #ffffff;
}

.admin-sidebar-toggle svg {
    width: 20px;
    height: 20px;
}

.admin-main-content {
    min-height: 100vh;

    margin-left: 72px;

    padding: 24px;

    background: #f5f7fa;

    transition: margin-left .22s ease;
}
/* =========================================================
   NAVIGATION
   ========================================================= */

.admin-sidebar-nav {
    flex: 1;

    padding: 18px 12px;

    overflow-y: auto;
    overflow-x: hidden;
}

.admin-sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}


/* =========================================================
   NAV LINK
   ========================================================= */

.admin-sidebar-link {
    position: relative;

    height: 48px;

    display: flex;
    align-items: center;

    padding: 0 13px;

    border-radius: 10px;

    color: #94a3b8;

    text-decoration: none;

    transition:
            background 0.18s ease,
            color 0.18s ease,
            transform 0.18s ease;
}

.admin-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.055);
    color: #e8eef8;

    text-decoration: none;
}


/* =========================================================
   ICON
   ========================================================= */

.admin-sidebar-icon {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #e8f0fd;

    transition: color 0.18s ease;
}

.admin-sidebar-icon svg {
    width: 21px;
    height: 21px;

    display: block;
}


/* =========================================================
   TEXT
   ========================================================= */

.admin-sidebar-text {
    margin-left: 14px;

    white-space: nowrap;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;

    opacity: 1;

    transition:
            opacity 0.15s ease,
            margin 0.2s ease;
}


/* =========================================================
   CHEVRON
   ========================================================= */

.admin-sidebar-chevron {
    margin-left: auto;

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #667892;

    transition:
            opacity 0.15s ease,
            transform 0.18s ease;
}

.admin-sidebar-chevron svg {
    width: 16px;
    height: 16px;
}


/* =========================================================
   ACTIVE
   ========================================================= */

.admin-sidebar-link.active {
    background:
            linear-gradient(
                    135deg,
                    #1976ed 0%,
                    #1764c4 100%
            );

    color: #ffffff;

    box-shadow:
            0 6px 18px rgba(25, 118, 237, 0.22);
}

.admin-sidebar-link.active .admin-sidebar-icon {
    color: #ffffff;
}

.admin-sidebar-link.active .admin-sidebar-chevron {
    color: rgba(255, 255, 255, 0.85);
}


/* =========================================================
   BOTTOM
   ========================================================= */

.admin-sidebar-bottom {
    flex-shrink: 0;

    padding: 12px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}


/* =========================================================
   PROFILE
   ========================================================= */

.admin-sidebar-profile {
    min-height: 64px;

    display: flex;
    align-items: center;

    padding: 8px 10px;

    border-radius: 11px;

    color: #ffffff;

    text-decoration: none;

    transition:
            background 0.18s ease;
}

.admin-sidebar-profile:hover {
    background: rgba(255, 255, 255, 0.055);

    text-decoration: none;
}


/* =========================================================
   AVATAR
   ========================================================= */

.admin-sidebar-avatar {
    position: relative;

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
            linear-gradient(
                    135deg,
                    #3c4d65,
                    #26354a
            );

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
}

.admin-sidebar-status {
    position: absolute;

    right: -1px;
    bottom: 1px;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #34d399;

    border: 2px solid #101722;
}


/* =========================================================
   PROFILE INFO
   ========================================================= */

.admin-sidebar-profile-info {
    min-width: 0;

    margin-left: 11px;

    display: flex;
    flex-direction: column;

    opacity: 1;

    transition:
            opacity 0.15s ease,
            margin 0.2s ease;
}

.admin-sidebar-profile-name {
    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;

    font-size: 13px;
    font-weight: 600;

    color: #edf2f7;
}

.admin-sidebar-profile-role {
    margin-top: 2px;

    font-size: 11px;

    color: #7f91aa;
}

.admin-sidebar-profile-arrow {
    margin-left: auto;

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8ea1ba;

    opacity: 1;

    transition: opacity 0.15s ease;
}

.admin-sidebar-profile-arrow svg {
    width: 16px;
    height: 16px;
}


/* =========================================================
   COLLAPSED STATE
   ========================================================= */

.admin-sidebar-collapsed {
    width: 72px;
}

.admin-sidebar-collapsed .admin-sidebar-toggle {
    flex: 0 0 38px;
}

/* HEADER */

.admin-sidebar-collapsed .admin-sidebar-header {
    justify-content: center;
    padding: 0;
}

.admin-sidebar-collapsed .admin-sidebar-logo {
    flex: 0;
}

.admin-sidebar-collapsed .admin-sidebar-logo-full {
    display: none;
}

.admin-sidebar-collapsed .admin-sidebar-logo-icon {
    display: block;
}


/* NAV */

.admin-sidebar-collapsed .admin-sidebar-nav {
    padding-left: 12px;
    padding-right: 12px;
}

.admin-sidebar-collapsed .admin-sidebar-link {
    justify-content: center;

    padding-left: 0;
    padding-right: 0;
}

.admin-sidebar-collapsed .admin-sidebar-text {
    width: 0;

    margin-left: 0;

    overflow: hidden;

    opacity: 0;
}

.admin-sidebar-collapsed .admin-sidebar-chevron {
    width: 0;

    margin: 0;

    overflow: hidden;

    opacity: 0;
}


/* PROFILE */

.admin-sidebar-collapsed .admin-sidebar-bottom {
    padding: 12px;
}

.admin-sidebar-collapsed .admin-sidebar-profile {
    justify-content: center;

    padding-left: 0;
    padding-right: 0;
}

.admin-sidebar-collapsed .admin-sidebar-profile-info {
    width: 0;

    margin-left: 0;

    overflow: hidden;

    opacity: 0;
}

.admin-sidebar-collapsed .admin-sidebar-profile-arrow {
    display: none;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

.admin-sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.admin-sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);

    border-radius: 10px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .admin-sidebar {
        width: 72px;
    }

    .admin-sidebar-logo-full {
        display: none;
    }

    .admin-sidebar-logo-icon {
        display: block;
    }

    .admin-sidebar-header {
        padding-left: 17px;
        padding-right: 17px;
    }

    .admin-sidebar-logo {
        flex: 0;
    }

    .admin-sidebar-text {
        width: 0;

        margin-left: 0;

        overflow: hidden;

        opacity: 0;
    }

    .admin-sidebar-chevron {
        width: 0;

        overflow: hidden;

        opacity: 0;
    }

    .admin-sidebar-link {
        justify-content: center;

        padding-left: 0;
        padding-right: 0;
    }

    .admin-sidebar-profile {
        justify-content: center;

        padding-left: 0;
        padding-right: 0;
    }

    .admin-sidebar-profile-info {
        width: 0;

        margin-left: 0;

        overflow: hidden;

        opacity: 0;
    }

    .admin-sidebar-profile-arrow {
        display: none;
    }
}




/* =========================================================
   PROFILE BUTTON
   ========================================================= */

.admin-profile {
    width: 100%;
    min-height: 62px;

    display: flex;
    align-items: center;

    padding: 8px 9px;

    border: 0;
    border-radius: 11px;

    background: transparent;

    color: #ffffff;

    text-align: left;

    cursor: pointer;

    transition:
            background .18s ease;
}

.admin-profile:hover {
    background: rgba(255, 255, 255, .055);
}


/* =========================================================
   AVATAR
   ========================================================= */

.admin-profile-avatar {
    position: relative;

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
            linear-gradient(
                    135deg,
                    #3e506a,
                    #25344a
            );

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
}

.admin-profile-status {
    position: absolute;

    right: -1px;
    bottom: 1px;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #34d399;

    border: 2px solid #101722;
}


/* =========================================================
   USER INFO
   ========================================================= */

.admin-profile-info {
    min-width: 0;

    flex: 1;

    margin-left: 11px;

    display: flex;
    flex-direction: column;
}

.admin-profile-name {
    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;

    color: #edf2f7;

    font-size: 13px;
    font-weight: 600;
}

.admin-profile-role {
    margin-top: 2px;

    color: #7f91aa;

    font-size: 11px;
}


/* =========================================================
   CHEVRON
   ========================================================= */

.admin-profile-chevron {
    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8ea1ba;

    transition:
            transform .18s ease;
}

.admin-profile-chevron svg {
    width: 16px;
    height: 16px;
}

.admin-profile-chevron.open {
    transform: rotate(180deg);
}


/* =========================================================
   PROFILE MENU
   ========================================================= */

.admin-profile-menu {
    position: absolute;

    left: calc(100% + 10px);
    bottom: 0;

    width: 235px;

    padding: 8px;

    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;

    background: #111a27;

    box-shadow:
            0 16px 40px rgba(0, 0, 0, .30);

    z-index: 1100;

    animation:
            admin-profile-menu-in .15s ease-out;
}

@keyframes admin-profile-menu-in {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================================
   MENU HEADER
   ========================================================= */

.admin-profile-menu-header {
    display: flex;
    align-items: center;

    padding: 9px;
}

.admin-profile-menu-avatar {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #26364d;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
}

.admin-profile-menu-user {
    min-width: 0;

    margin-left: 10px;
}

.admin-profile-menu-name {
    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;

    color: #f1f5f9;

    font-size: 13px;
    font-weight: 600;
}

.admin-profile-menu-role {
    margin-top: 2px;
    color: #7f91aa;
    font-size: 11px;
}


/* =========================================================
   SEPARATOR
   ========================================================= */

.admin-profile-menu-separator {
    height: 1px;
    margin: 6px 4px;
    background: rgba(255, 255, 255, .07);
}


/* =========================================================
   MENU ITEM
   ========================================================= */

.admin-profile-menu-item {
    width: 100%;
    min-height: 40px;

    display: flex;
    align-items: center;

    padding: 0 10px;

    border: 0;
    border-radius: 8px;

    background: transparent;

    color: #aab8ca;

    text-decoration: none;

    font-size: 13px;

    cursor: pointer;

    transition:
            background .15s ease,
            color .15s ease;
}

.admin-profile-menu-item:hover {
    background: rgba(255, 255, 255, .055);

    color: #ffffff;

    text-decoration: none;
}

.admin-profile-menu-item svg {
    width: 18px;
    height: 18px;

    margin-right: 10px;

    flex: 0 0 18px;
}

.admin-profile-menu-danger {
    color: #ef8f8f;
}

.admin-profile-menu-danger:hover {
    color: #ffaaaa;
    background: rgba(239, 68, 68, .08);
}


/* =========================================================
    ETail ADMIN - SHARED
========================================================= */

.admin-page {
    /*padding: 24px;*/
    min-height: 100%;
    background: #f5f7fb;
}


/* =========================================================
   HERO
   ========================================================= */

.admin-hero {
    padding: 18px 30px;
    margin-bottom: 24px;

    background: linear-gradient(
            135deg,
            #ffffff 0%,
            #f3f7ff 100%
    );

    border: 1px solid #dce6f3;
    border-radius: 14px;

    box-shadow:
            0 1px 2px rgba(16, 24, 40, 0.03),
            0 7px 24px rgba(35, 72, 130, 0.05);
}

.admin-hero-main {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.admin-hero-left {
    min-width: 0;
}

.admin-hero-pill {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    min-height: 64px;

    padding: 0 24px;

    background: #eaf2ff;
    color: #1f5fe0;

    border: 1px solid #d7e5ff;
    border-radius: 999px;

    font-size: 1.25rem;
    font-weight: 700;
}

.admin-hero-pill svg {
    width: 28px;
    height: 28px;

    fill: currentColor;
}

.admin-hero-subtitle {
    margin: 18px 0 0;

    color: #73809a;

    font-size: 1rem;
}

/* =========================================================
   HERO PILLS UPDATES
   ========================================================= */

.admin-hero-pills {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
}

.admin-hero-pill svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.admin-hero-pill-blue {
    background: #eaf2ff;
    color: #2b61d6;
    border: 1px solid #d0e1fd;
}

.admin-hero-pill-green {
    background: #e8f7ed;
    color: #1b8744;
    border: 1px solid #ccecd6;
}

.admin-hero-subtitle {
    margin: 14px 0 0;
    color: #73809a;
    font-size: 0.9rem;
}

/* =========================================================
   SECTION TILES INNER LAYOUT
   ========================================================= */

.admin-section-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e4e9f2;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02), 0 6px 18px rgba(16, 24, 40, 0.03);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.admin-tile-title {
    margin: 16px 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1b253a;
}

.admin-tile-desc {
    margin: 0 0 20px;
    font-size: 0.88rem;
    color: #73809a;
    line-height: 1.45;
    flex-grow: 1;
}

.admin-tile-btn {
    width: 100%;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.admin-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    flex: 0 0 auto;

    height: 46px;

    padding: 0 20px;

    background: #3478ed;
    color: #ffffff;

    border: 1px solid #3478ed;
    border-radius: 9px;

    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;

    box-shadow:
            0 4px 12px rgba(52, 120, 237, 0.16);

    transition:
            background-color 0.15s ease,
            border-color 0.15s ease,
            transform 0.15s ease,
            box-shadow 0.15s ease;
}

.admin-primary-button svg {
    width: 20px;
    height: 20px;

    fill: currentColor;
}

.admin-primary-button:hover {
    background: #2868d8;
    border-color: #2868d8;

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
            0 6px 16px rgba(52, 120, 237, 0.20);
}

.admin-primary-button:active {
    transform: translateY(0);
}

.admin-primary-button:focus-visible {
    outline: 2px solid #8eb4f5;
    outline-offset: 3px;
}


/* =========================================================
   SECONDARY / BACK BUTTON
   ========================================================= */

.admin-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    height: 40px;

    padding: 0 14px;

    background: #ffffff;
    color: #4e5c73;

    border: 1px solid #dbe2ec;
    border-radius: 8px;

    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;

    cursor: pointer;

    transition:
            background-color 0.15s ease,
            border-color 0.15s ease,
            color 0.15s ease;
}

.admin-secondary-button svg {
    width: 17px;
    height: 17px;

    fill: currentColor;
}

.admin-secondary-button:hover {
    background: #f1f6ff;
    border-color: #b8cae9;

    color: #3478ed;
}


/* =========================================================
   CARD
   ========================================================= */

.admin-card {
    background: #ffffff;

    border: 1px solid #e4e9f2;
    border-radius: 14px;

    box-shadow:
            0 1px 2px rgba(16, 24, 40, 0.02),
            0 8px 28px rgba(16, 24, 40, 0.04);
}


/* =========================================================
   LIST CARD
   ========================================================= */

.admin-list-card {
    overflow: hidden;

    padding: 0;
}

/* =========================================================
   FORM CONTROLS & INPUTS (GENERIC SHARED)
========================================================= */

.admin-input,
.admin-select {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-input[readonly] {
    background: #f8fafc;
    color: #475569;
}

.admin-input:focus:not([readonly]),
.admin-select:focus {
    background: #ffffff;
    border-color: #3478ed;
    box-shadow: 0 0 0 3px rgba(52, 120, 237, 0.09);
}

/* =========================================================
   ROW LIST LAYOUT (EXTERNAL APPS & SERVICES)
========================================================= */

.admin-row-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-row-item {
    display: grid;
    grid-template-columns: 160px 1fr 90px 1fr;
    align-items: center;
    gap: 12px;
}

.admin-row-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.admin-row-sublabel {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-align: right;
}

.admin-row-spacer {
    display: block;
}


/* =========================================================
   TABLE WRAPPER
   ========================================================= */

.admin-table-wrapper {
    width: 100%;

    overflow-x: auto;

    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.admin-table-wrapper::-webkit-scrollbar {
    height: 7px;
}

.admin-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.admin-table-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;

    border-radius: 10px;
}

.admin-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #aeb9c9;
}


/* =========================================================
   TABLE
   ========================================================= */

.admin-table {
    width: 100%;

    min-width: 1250px;

    border-collapse: separate;
    border-spacing: 0;
}


/* =========================================================
   TABLE HEADER
   ========================================================= */

.admin-table thead tr {
    background: #fbfcfe;
}

.admin-table thead th {
    padding: 0;

    vertical-align: top;

    background: #fbfcfe;

    border-bottom: 1px solid #e4e9f2;

    color: #59667d;

    font-size: 0.78rem;
    font-weight: 700;
}


/* =========================================================
   COLUMN HEADER
   ========================================================= */

.admin-column-header {
    display: flex;
    flex-direction: column;

    gap: 10px;

    min-height: 82px;

    padding: 14px 16px 12px;
}

.admin-column-title {
    display: flex;
    align-items: center;

    min-height: 20px;

    color: #4c5970;

    font-size: 0.76rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.025em;
}


/* =========================================================
   COLUMN SEARCH
   ========================================================= */

.admin-column-search {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
}

.admin-column-search svg {
    position: absolute;

    left: 10px;

    width: 15px;
    height: 15px;

    fill: #9aa5b7;

    pointer-events: none;
}

.admin-column-search input {
    width: 100%;

    height: 32px;

    padding: 0 9px 0 31px;

    background: #ffffff;

    border: 1px solid #dce3ed;
    border-radius: 7px;

    color: #27344d;

    font-family: inherit;
    font-size: 0.78rem;

    outline: none;

    transition:
            border-color 0.15s ease,
            box-shadow 0.15s ease,
            background-color 0.15s ease;
}

.admin-column-search input::placeholder {
    color: #a3adbc;
}

.admin-column-search input:hover {
    border-color: #cbd5e3;
}

.admin-column-search input:focus {
    background: #ffffff;

    border-color: #8eb4f5;

    box-shadow:
            0 0 0 3px rgba(52, 120, 237, 0.09);
}


/* =========================================================
   TABLE BODY
   ========================================================= */

.admin-table tbody tr {
    background: #ffffff;

    transition:
            background-color 0.12s ease;
}

.admin-table tbody tr:hover {
    background: #f9fbff;
    box-shadow: inset 4px 0 0 #3478ed;
}

.admin-table tbody td {
    height: 68px;

    padding: 10px 16px;

    border-bottom: 1px solid #edf0f5;

    color: #344054;

    font-size: 0.88rem;

    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   QUICKGRID SORTING
   ========================================================= */

.admin-table th[aria-sort] {
    cursor: pointer;
}

.admin-table th[aria-sort]:hover {
    background: #f6f9fd;
}

.admin-table th button {
    color: inherit;
}

.admin-table th button:hover {
    color: #3478ed;
}


/* =========================================================
   STORE NAME COLUMN
   ========================================================= */

.store-name-column {
    min-width: 220px;
}


/* =========================================================
   STORE NAME CELL
   ========================================================= */

.admin-name-cell {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 0;
}

.admin-name-cell-button {
    width: 100%;

    padding: 0;

    background: transparent;

    border: 0;

    color: inherit;

    font-family: inherit;

    text-align: left;

    cursor: pointer;
}

.admin-name-cell-button:hover .admin-name-content strong {
    color: #3478ed;
}

.admin-name-cell-button:focus-visible {
    outline: 2px solid #8eb4f5;
    outline-offset: 3px;

    border-radius: 5px;
}


/* =========================================================
   STORE STATUS ICON
   ========================================================= */

.pos-store-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 24px;

    width: 24px;
    height: 24px;

    border-radius: 50%;
}

.pos-store-status-icon.is-active {
    background: #e9f8ef;
    color: #198754;
}

.pos-store-status-icon.is-inactive {
    background: #f1f3f5;
    color: #8b95a5;
}


/* =========================================================
   STORE NAME CONTENT
   ========================================================= */

.admin-name-content {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.admin-name-content strong {
    overflow: hidden;

    color: #202b43;

    font-size: 0.9rem;
    font-weight: 650;

    text-overflow: ellipsis;
    white-space: nowrap;

    transition: color 0.15s ease;
}

.admin-name-content span {
    margin-top: 3px;

    overflow: hidden;

    color: #98a2b3;

    font-size: 0.72rem;
    font-weight: 500;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   STANDARD CELL TEXT
   ========================================================= */

.admin-column-text {
    display: block;

    overflow: hidden;

    max-width: 100%;

    color: #46536a;

    font-size: 0.86rem;
    font-weight: 500;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-email-text {
    color: #3f4d66;
}

.admin-address-text {
    max-width: 220px;
}


/* =========================================================
   STATUS
   ========================================================= */

.admin-status {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 6px 10px;

    border-radius: 999px;

    font-size: 0.78rem;
    font-weight: 600;

    white-space: nowrap;
}

.admin-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
}

.admin-status-active {
    background: #e9f8ef;
    color: #187a43;

    border: 1px solid #d1f0dc;
}

.admin-status-active .admin-status-dot {
    background: #198754;
}

.admin-status-inactive {
    background: #f1f3f5;
    color: #667085;

    border: 1px solid #e1e5e9;
}

.admin-status-inactive .admin-status-dot {
    background: #6c757d;
}


/* =========================================================
   LIST FOOTER
   ========================================================= */

.admin-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 76px;
    font-family: inherit;
    font-size: 0.84rem;

    padding: 15px 20px;

    background: #ffffff;

    border-top: 1px solid #e8ecf2;
}


/* =========================================================
   PAGE SIZE
   ========================================================= */

.admin-page-size {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #4e5c73;

    font-size: 0.84rem;
    font-weight: 500;
}

.admin-page-size select {
    width: 70px;
    height: 36px;

    padding: 0 10px;

    background: #ffffff;

    border: 1px solid #dbe2ec;
    border-radius: 7px;

    color: #27334c;

    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;

    outline: none;
    cursor: pointer;

    transition:
            background-color 0.15s ease,
            border-color 0.15s ease,
            color 0.15s ease;
}

.admin-page-size select:hover {
    border-color: #cbd5e3;
}

.admin-page-size select:focus {
    background: #f1f6ff;

    border-color: #b8cae9;

    color: #3478ed;
}
.admin-page-size select:focus {
    border-color: #3478ed;

    box-shadow: 0 0 0 3px rgba(52, 120, 237, 0.09);
}


/* =========================================================
   PAGINATOR
   ========================================================= */

.admin-list-footer .paginator {
    display: flex;
    align-items: center;

    gap: 5px;
}

.admin-list-footer .paginator button {
    min-width: 34px;
    height: 34px;

    padding: 0 9px;

    color: #59667d;

    font-family: inherit;
    font-size: 0.8rem;

    cursor: pointer;

    transition:
            background-color 0.15s ease,
            border-color 0.15s ease,
            color 0.15s ease;
}

.admin-list-footer .paginator button:hover:not(:disabled) {
    color: #3478ed;
}

.admin-list-footer .paginator button:disabled {
    opacity: 0.45;
    cursor: default;
}
.admin-pagination{
    width: 100%;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.admin-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 300px;

    padding: 48px 24px;

    text-align: center;

    background: #ffffff;

    border-top: 1px solid #edf0f5;
}

.admin-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 16px;

    background: #edf4ff;

    border-radius: 50%;

    color: #3478ed;
}

.admin-empty-icon svg {
    width: 28px;
    height: 28px;

    fill: currentColor;
}

.admin-empty h3 {
    margin: 0;

    color: #27344d;

    font-size: 1rem;
    font-weight: 700;
}

.admin-empty p {
    margin: 7px 0 0;

    color: #8a96aa;

    font-size: 0.86rem;
}


/* =========================================================
   DETAILS
   ========================================================= */

.admin-details-card {
    padding: 24px;
}

.admin-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 24px;
    padding-bottom: 18px;

    border-bottom: 1px solid #e8ecf2;
}

.admin-details-title {
    margin: 0;

    color: #111a37;

    font-size: 1.15rem;
    font-weight: 700;
}

.admin-details-subtitle {
    margin: 5px 0 0;

    color: #73809a;

    font-size: 0.88rem;
}

.admin-details-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}



.admin-details-section {
    padding: 20px;

    background: #fbfcfe;

    border: 1px solid #e4e9f2;
    border-radius: 12px;
}

.admin-details-section-full {
    grid-column: 1 / -1;
}

.admin-details-section-title {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: #17213e;

    font-size: 0.98rem;
    font-weight: 700;
}

.admin-details-section-title svg {
    width: 20px;
    height: 20px;

    fill: #3478ed;
}

.admin-details-fields {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px 24px;
}

.admin-details-field {
    min-width: 0;
}

.admin-details-field-label {
    display: block;

    margin-bottom: 1px;

    color: #8a96aa;

    font-size: 0.76rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.admin-details-field-value {
    display: block;

    overflow: hidden;

    color: #25314b;

    font-size: 0.92rem;
    font-weight: 500;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   SECTION TILES
   ========================================================= */

.admin-sections-card {
    /*padding: 20px;*/
}

.admin-sections-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.admin-section-tile {
    display: flex;
    flex-direction: column;

    min-height: 240px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e4e9f2;
    border-radius: 14px;

    box-shadow:
            0 1px 2px rgba(16, 24, 40, 0.02),
            0 6px 18px rgba(16, 24, 40, 0.03);

    transition:
            border-color 0.15s ease,
            box-shadow 0.15s ease,
            transform 0.15s ease;
}

.admin-section-tile:hover {
    border-color: #d5e1f2;

    box-shadow:
            0 2px 4px rgba(16, 24, 40, 0.03),
            0 10px 24px rgba(16, 24, 40, 0.06);

    transform: translateY(-1px);
}

.admin-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    background: #edf4ff;

    border-radius: 50%;
}

.admin-icon-wrap svg {
    width: 28px;
    height: 28px;

    fill: #3478ed;
}

/* =========================================================
   DETAILS SUBSECTIONS
   ========================================================= */

.admin-details-subsection {
    margin-top: 22px;

    padding: 18px 20px;

    background: #fbfcfe;

    border: 1px solid #e4e9f2;
    border-radius: 12px;
}


/* =========================================================
   SUBSECTION HEADER
   ========================================================= */

.admin-details-subsection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 14px;
}

.admin-details-subsection-title {
    color: #17213e;

    font-size: 0.92rem;
    font-weight: 700;
}

.admin-details-subsection-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 24px;
    height: 24px;

    padding: 0 7px;

    background: #edf4ff;

    border: 1px solid #d7e5ff;
    border-radius: 999px;

    color: #3478ed;

    font-size: 0.72rem;
    font-weight: 700;
}


/* =========================================================
   DETAILS LIST
   ========================================================= */

.admin-details-list {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.admin-details-list-item {
    display: grid;

    grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);

    align-items: center;

    gap: 16px;

    min-height: 38px;

    padding: 8px 10px;

    background: #ffffff;

    border: 1px solid #edf0f5;
    border-radius: 7px;
}

.admin-details-list-key {
    overflow: hidden;

    color: #64748b;

    font-size: 0.78rem;
    font-weight: 600;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-details-list-value {
    overflow: hidden;

    color: #344054;

    font-size: 0.82rem;
    font-weight: 500;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-details-empty-value {
    color: #98a2b3;

    font-size: 0.82rem;
    font-style: italic;
}


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

@media (max-width: 760px) {

    .admin-details-list-item {
        grid-template-columns: 1fr;

        gap: 3px;
    }

    .admin-details-list-key {
        font-size: 0.72rem;
    }

    .admin-details-list-value {
        white-space: normal;
        word-break: break-word;
    }
}

/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1100px) {

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

    .admin-details-grid {
        grid-template-columns: 1fr;
    }

    .admin-list-footer {
        align-items: flex-start;

        flex-direction: column;
    }

    .admin-list-footer .paginator {
        width: 100%;
    }
}

/* =========================================================
   COLLAPSIBLE DETAILS
   ========================================================= */

.admin-details-collapsible {
    margin-top: 12px;

    background: #fbfcfe;

    border: 1px solid #e4e9f2;
    border-radius: 12px;

    /*overflow: hidden;*/
}

.admin-details-collapsible-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 56px;

    padding: 0 18px;

    cursor: pointer;

    list-style: none;

    color: #17213e;

    font-size: 0.92rem;
    font-weight: 700;

    transition:
            background-color 0.15s ease;
}

.admin-details-collapsible-header::-webkit-details-marker {
    display: none;
}

.admin-details-collapsible-header:hover {
    background: #f6f9fd;
}

.admin-details-collapsible-title {
    display: flex;
    align-items: center;

    gap: 10px;
}

.admin-details-collapsible-icon {
    width: 18px;
    height: 18px;

    fill: #73809a;

    transition:
            transform 0.15s ease;
}

.admin-details-collapsible[open]
.admin-details-collapsible-icon {
    transform: rotate(180deg);
}

.admin-details-collapsible-content {
    padding: 0 18px 18px;
}


/* =========================================================
   SCHEDULE TABLE
   ========================================================= */

.admin-schedule-table-wrapper {
    width: 100%;

    overflow-x: auto;

    border: 1px solid #e4e9f2;
    border-radius: 9px;

    background: #ffffff;
}

.admin-schedule-table {
    width: 100%;

    border-collapse: collapse;
}

.admin-schedule-table th {
    padding: 11px 14px;

    background: #f8fafc;

    border-bottom: 1px solid #e4e9f2;

    color: #59667d;

    font-size: 0.73rem;
    font-weight: 700;

    text-align: left;

    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.admin-schedule-table td {
    padding: 12px 14px;

    border-bottom: 1px solid #edf0f5;

    vertical-align: top;
}

.admin-schedule-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-schedule-table tbody tr:hover {
    background: #f9fbff;
}


/* =========================================================
   SCHEDULE NAME
   ========================================================= */

.admin-schedule-name {
    display: block;

    color: #344054;

    font-size: 0.84rem;
    font-weight: 600;
}


/* =========================================================
   CRON
   ========================================================= */

.admin-cron-value {
    display: inline-block;

    padding: 3px 7px;

    background: #f1f4f8;

    border: 1px solid #e1e6ed;
    border-radius: 5px;

    color: #475569;

    font-family: Consolas, "Courier New", monospace;
    font-size: 0.76rem;
}

.admin-cron-description {
    margin-top: 5px;

    color: #8a96aa;

    font-size: 0.73rem;
    line-height: 1.35;
}

.admin-schedule-na {
    color: #98a2b3;

    font-size: 0.8rem;
    font-style: italic;
}

/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .admin-page {
        padding: 16px;
    }

    .admin-hero {
        padding: 20px;
    }

    .admin-hero-main {
        align-items: stretch;

        flex-direction: column;
    }

    .admin-hero-pill {
        width: 100%;

        min-height: 58px;

        padding: 0 20px;

        justify-content: flex-start;
    }

    .admin-primary-button {
        width: 100%;
    }

    .admin-sections-grid {
        grid-template-columns: 1fr;
    }

    .admin-details-card {
        padding: 16px;
    }

    .admin-details-fields {
        grid-template-columns: 1fr;
    }

    .admin-details-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .admin-list-footer {
        padding: 14px 16px;
    }

    .admin-page-size {
        width: 100%;

        justify-content: flex-start;
    }
}



/* =========================================================
   RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .admin-page {
        padding: 10px;
    }

    .admin-hero {
        margin-bottom: 16px;

        padding: 16px;
    }

    .admin-hero-pill {
        font-size: 1.05rem;
    }

    .admin-hero-subtitle {
        margin-top: 14px;

        font-size: 0.88rem;

        line-height: 1.45;
    }

    .admin-empty {
        min-height: 240px;

        padding: 36px 18px;
    }
}