@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: "Public Sans", sans-serif;
    height: 100vh;
    display: flex;
    color: var(--text-primary);
    font-size: var(--body-text);
}

:root {
    --text-primary: #1C252E;
    --text-secondary: #637381;
    --btn-primary: #1C252E;
    --btn-secondary: rgba(145, 158, 171, 0.32);
    --btn-disabled: #F6F6F6;
    --btn-text-disabled: #A7A7A7;
    --dark: #111;
    --white: #FFFFFF;
    --checkbox: rgba(99, 115, 129, 1);
    --radius: 8px;
    --table-radius: 14px;
    --transition: all 0.3s ease;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 40px;
    --space-8: 48px;
    --space-9: 56px;
    --space-10: 64px;
    --body-text: 14px;
    --btn-text: 14px;
    --btn-mb-text: 12px;
    --nav-text: 12px;
    --nav-link: 14px;
    --h4: 24px;
    --h5: 20px;
    --h6: 18px;
    --mh4: 20px;
    --mh5: 18px;
    --mh6: 16px;
    --table-card: 0 0 2px 0 rgba(145 158 171 / 20%), 0 12px 24px -4px rgba(145 158 171 / 12%);
    --gap-s: 14px;
    --gap-m: 16px;
    --gap-l: 18px;
    --gap-xl: 24px;

}

/* Font Style Start */

h1 {
    font-weight: 700;
}

h4 {
    font-size: var(--h4);
    font-weight: 700;
}

h5 {
    font-size: var(--h5);
    font-weight: 700;
}

h6 {
    font-size: var(--h6);
}

p {
    font-size: 16px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
}

/* Font Style End */

/* Spacing Style Start */

.mb-1 {
    margin-bottom: var(--space-1);
}

.mb-2 {
    margin-bottom: var(--space-2);
}

.mb-3 {
    margin-bottom: var(--space-3);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-5 {
    margin-bottom: var(--space-5);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-7 {
    margin-bottom: var(--space-7);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mb-9 {
    margin-bottom: var(--space-9);
}

.mb-10 {
    margin-bottom: var(--space-10);
}

/* Spacing Style End */

/* Form Style Start */

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(145, 158, 171, 0.2);
    border-radius: 8px;
    font-size: var(--body-text);
    outline: none;
    transition: border 0.2s ease;
}

.input-field:focus {
    border-color: var(--btn-primary);
}

.floating-label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #637381;
    pointer-events: none;
    transition: 0.2s ease;
    background: #fff;
    padding: 0 4px;
    font-weight: 600;
}

.btn {
    width: 100%;
    max-width: fit-content;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: var(--btn-text);
    line-height: 1.5;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    transition: all 0.3s ease;
}

.btn.btn-primary {
    border: 1px solid var(--btn-primary);
    background: var(--btn-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn.btn-primary:hover {
    background: #FFFFFF;
    color: var(--btn-primary);
}

.btn.btn-secondary {
    border: 1px solid var(--btn-secondary);
    background: #FFFFFF;
    color: var(--btn-primary);
}

.btn.btn-primary svg {
    width: 12px;
    height: 12px;
}

.btn-primary.btn:hover svg path {
    fill: var(--btn-primary);
}


.btn.btn-xs {
    padding: 6px 12px;
}

.btn-primary.btn[disabled] {
    background: var(--btn-disabled);
    color: var(--btn-text-disabled);
    border-color: transparent;
    cursor: no-drop;
}

/* Form Style End */

/* Table Style Start */

th {
    font-size: var(--body-text);
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px dotted rgba(145, 158, 171, 0.2);
}

td {
    font-size: var(--body-text);
    border-bottom: 1px dotted rgba(145, 158, 171, 0.2);
    color: var(--btn-primary);
}

td a {
    color: var(--btn-primary);
}

.grid article {
    display: flex;
    gap: var(--gap-m);
}

.grid .one-half {
    width: 50%;
}

/* Table Style End */

/* Badges Style Css */

.status.active {
    background: rgba(34, 197, 94, 0.16);
    color: #0C5132;
}

.status.failed {
    background: rgba(255, 86, 48, 0.16);
    color: #8E1F0B;
}

.status.draft {
    background: rgba(145, 158, 171, 0.16);
    color: #637381;
}

/* Badges Style End */

/* Card Style Start */

.card {
    background: var(--white);
    border-radius: var(--table-radius);
    box-shadow: var(--card-shadow, var(--table-card));
}

.card-header {
    padding: 14px 24px;
}

.card-body {
    padding: 14px 24px;
}

/* Card Style End */

.container {
    display: flex;
    width: 100%;
}

/* Login Page Css Start */

.left-login {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-align: center;
    background-image: url("../images/left-banner.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.left-login h1 {
    font-size: 32px;
    font-family: "Barlow", sans-serif;
}

.left-login p {
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
}

.illustration {
    width: 90%;
    max-width: 430px;
    border-radius: 10px;
}

.right-login {
    width: 100%;
    max-width: calc(100% - 480px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.form-box {
    width: 100%;
    max-width: 420px;
}

.form-box .btn {
    max-width: 100%;
}

.form-box h5 {
    margin-bottom: var(--space-6);
}

.password-box {
    position: relative;
}

.toggle-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #6b7280;
}

.input-group {
    position: relative;
}

.input-field:focus+.floating-label,
.input-field:not(:placeholder-shown)+.floating-label {
    top: 0px;
    font-size: 13px;
    color: #637381;
}

.input-field:-webkit-autofill,
.input-field:-webkit-autofill,
.input-field:-webkit-autofill:hover,
.input-field:-webkit-autofill:focus,
.input-field:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #6b7280;
}

/* Login Page Css Start */

/* Store Management Css Start  */

.dashboard-layout {
    display: flex;
    width: 100%;
}

/* Sidebar */

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: var(--nav-link);
}

.sidebar-link.active {
    background: rgba(28, 37, 46, 0.08);
    color: var(--text-primary);
}

.main-wrapper {
    width: 100%;
    max-width: calc(100% - 280px);
    padding: 40px;
}

.sidebar.collapsed+.main-wrapper {
    max-width: calc(100% - 80px);
}

.main-wrapper {
    max-width: calc(100% - 280px);
}

/* Page Header */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.page-header-dls p {
    font-size: var(--body-text);
    color: var(--text-secondary);
}

.page-header-dls p a {
    color: var(--btn-primary);
    margin-right: 10px;
}

.page-header-dls p span {
    margin-left: 10px;
}

/* TABLE CARD */

.table-wrap {
    background: #fff;
    border-radius: var(--table-radius);
    box-shadow: var(--card-shadow, var(--table-card));
}

.table-card {
    overflow-y: auto;
}

.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    white-space: nowrap;
}

.custom-table thead tr {
    background: #F4F6F8;
}

.custom-table th,
.custom-table td {
    padding: 16px;
    text-align: left;
}

.custom-table th:first-child,
.custom-table td:first-child {
    width: 40px;
}

.status {
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: calc(var(--body-text) - 2px);
}

.table-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px;
    align-items: center;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: var(--btn-text);
    color: var(--text-primary);
    overflow-x: auto;
    white-space: nowrap;
}

.rows-select {
    border: none;
    cursor: pointer;
    font-size: var(--btn-text);
}

.rows-select:focus-visible {
    outline: none;
}

.page-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: none;
    background: #fff;
    cursor: pointer;
}

.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--checkbox);
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.custom-checkbox:checked {
    background: var(--btn-primary);
    border-color: var(--btn-primary);
}

.custom-checkbox:checked::after {
    content: "✔";
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: -1px;
    left: 3px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-btn {
    padding: 6px 14px;
    border: 1px solid rgba(145, 158, 171, 0.3);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.page-btn:hover {
    background: #1C252E;
    color: #fff;
}

#pageInfo {
    font-weight: 600;
}

/* Sidebar Collapse */

.sidebar {
    width: 100%;
    max-width: 280px;
    transition: var(--transition);
    position: relative;
    padding: 16px;
    background-color: #FFFFFF;
    border-right: 1px solid rgba(145, 158, 171, 0.12);
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed .link-text {
    display: none;
}

.sidebar-top h6 {
    color: var(--text-secondary);
    font-size: var(--nav-text);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.sidebar.collapsed .sidebar-top h6 {
    opacity: 0;
    transform: translateY(-5px);
    pointer-events: none;
}

.collapse-btn {
    position: absolute;
    top: 28px;
    right: -18px;
    background: #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(145, 158, 171, 0.3);
    cursor: pointer;
}

.collapse-btn svg {
    vertical-align: middle;
}

.sidebar.collapsed .collapse-btn {
    transform: rotate(180deg);
}

/* MODAL */

.modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .45);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.25s ease;
    padding-inline: 16px;
    overflow-y: auto;
}

.modal-overlay {
    display: none;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-overlay.show {
    display: flex;
}

.btn-group {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: end;
    padding: 8px 0 0;
}

.modal-box {
    background: #fff;
    padding: 24px;
    width: 100%;
    max-width: 720px;
    border-radius: 12px;
    box-shadow: var(--card-shadow, var(--table-card));
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-overlay.show .modal-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal-overlay.show .modal-box h6 {
    padding-bottom: 24px;
}

.top-mobile-bar {
    display: none;
    width: 100%;
    margin-bottom: 16px;
}

.hamburger-btn {
    border: none;
    background: #fff;
    padding: 10px 14px;
    font-size: 22px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    z-index: 998;
}

.sidebar-overlay.show {
    display: block;
}

/* Store Management Css End  */

/* Dashboard Css Start  */

/* TAB HEADER */
.tab-header {
    display: flex;
    gap: 40px;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 13px 0;
    font-size: var(--body-text);
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    border-radius: var(--radius);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn::after,
.sync-filter-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--btn-primary);
    border-radius: var(--radius);
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.tab-btn.active::after,
.sync-filter-btn.active::after {
    width: 100%;
}

.sync-filter-btn:focus-visible,
.tab-btn:focus-visible {
    outline: none;
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active svg path {
    fill: var(--text-primary);
}

/* CONTENT */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Fetch Boxes */

.fetch-section .card-body button {
    max-width: 100%;
}

.fetch-section .card-header {
    border-bottom: 1px dotted rgba(145, 158, 171, 0.2);
}

.fetch-section article {
    gap: 40px;
}

.product-title-wrap h6 {
    font-size: var(--body-text);
    text-align: center;
    padding: 0 0 20px;
}

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

.field-box label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.select-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.custom-select {
    position: relative;
}

.select-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-icon svg {
    width: 20px;
    height: 20px;
}

/* Progress card */

.sync-progress-card .card-header {
    padding-bottom: 0;
}

.sync-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sync-progress-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.sync-progress-bar {
    margin-top: 8px;
}

.sync-progress-track {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #E5E7EB;
    overflow: hidden;
}

.sync-progress-fill {
    height: 100%;
    background: #111827;
    border-radius: 999px;
}

.sync-progress-meta {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Filter tabs above table */
.sync-filter-tabs {
    display: flex;
    gap: 40px;
    padding: 0 16px;
    overflow-y: auto;
}

.sync-filter-btn {
    border: none;
    background: transparent;
    padding: 18px 14px;
    font-size: var(--body-text);
    line-height: 1.2;
    border-radius: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    position: relative;
    font-weight: 500;
    font-family: "Inter", sans-serif;
}

.sync-filter-btn.active {
    color: var(--text-primary);
}

/* Product cell */
.sync-product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-thumb img {
    width: 40px;
}

/* Dashboard Css End  */

/*==================================================================
    Responsive Css 
==================================================================*/

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

@media (min-width: 993px) {
    .sidebar.collapsed:hover {
        width: 260px;
    }

    .sidebar.collapsed:hover .link-text {
        display: inline-block;
    }
}

@media(max-width: 992px) {

    .top-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .sidebar {
        left: -260px;
    }

    .sidebar.show {
        left: 0;
    }

    .dashboard-layout {
        flex-direction: column;
        padding-left: 0;
    }

    .sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        width: 260px;
        height: 100vh;
        z-index: 999;
        transition: var(--transition);
    }

    .sidebar.show {
        left: 0;
    }

    .collapse-btn {
        display: none;
    }

    .main-wrapper {
        padding: 16px;
        max-width: 100%;
    }

    .sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        height: 100vh;
        z-index: 999;
    }

    .sidebar.show {
        left: 0;
    }
}


@media (max-width: 900px) {
    .left-login {
        display: none;
    }

    .right-login {
        width: 100%;
        max-width: 100%;
    }

    .form-box h5 {
        text-align: center;
    }
}

@media (max-width: 767px) {

    h4 {
        font-size: var(--mh4);

    }

    h5 {
        font-size: var(--mh5);

    }

    h6 {
        font-size: var(--mh6);
    }

    p {
        font-size: 14px;
    }

    .btn {
        font-size: var(--btn-mb-text);
    }

    .right-login {
        padding: 16px;
    }

    .modal-box {
        padding: 16px;
    }

    .grid article {
        flex-wrap: wrap;
        gap: 0;
    }

    .grid .one-half {
        width: 100%;
    }

    .grid .one-half:last-child {
        margin-left: 0%;
    }

    .modal-box {
        overflow-y: auto;
        max-height: 90vh
    }

    .fetch-section.grid article {
        gap: 24px;
    }

    .sync-filter-tabs,
    .tab-header {
        gap: 24px;
    }

    .sync-progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .table-footer {
        justify-content: center;
    }

    .tab-btn svg {
        width: 20px;
        height: 20px;
    }

}