/* Campaign specific styles */
.performance-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}
.right-all p.active {
    font-weight: 600;
    color: #017EC4; /* or your brand colour */
    border-bottom: 2px solid #017EC4;
}
#customDatePicker.loading {
    opacity: 0.5;
    position: relative;
}

    #customDatePicker.loading::after {
        content: "";
        position: absolute;
        right: 10px;
        top: 10px;
        width: 16px;
        height: 16px;
        border: 2px solid #ccc;
        border-top: 2px solid #000;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.right-all p {
    cursor: pointer;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.icon-bg {
    height: 48px;
    width: 48px;
    background-color: #8BC4FF;
    border-radius: 16px;
}


/* Campaign table specific styles */
.table-heading {
    color: #050505;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.performance-table th {
    font-weight: 500;
    color: #666;
    padding: 16px;
}

.performance-table td {
    padding: 16px;
    vertical-align: middle;
}

.performance-name {
    font-weight: 500;
    color: #1A1A1A;
}

.performance-budget {
    font-weight: 500;
    color: #1A1A1A;
}

.performance-metrics {
    color: #666;
}

/* Campaign action buttons */
.performance-actions {
    display: flex;
    gap: 8px;
}

.btn-edit {
    background: #F5F5F5;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    color: #1A1A1A;
    font-size: 14px;
    cursor: pointer;
}

.btn-pause {
    background: #FFEBEE;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    color: #F13944;
    font-size: 14px;
    cursor: pointer;
}

/* Campaign filters */
.performance-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

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


/* Campaign search specific */
.performance-search {
    position: relative;
    max-width: 400px;
    width: 100%;
}

    .performance-search input {
        width: 100%;
        padding: 12px 12px 12px 44px;
        border: 1px solid #E6E6E6;
        border-radius: 8px;
        font-size: 14px;
        background-color: #fff;
    }

    .performance-search img {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
    }

/* Wizard Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-modal-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.12);
    padding: 32px 32px 24px 32px;
    min-width: 420px;
    max-width: 540px;
    width: 100%;
    position: relative;
}

.wizard-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    justify-content: space-between;
    border-radius: 16px;
    border: 1px solid #F0F0F0;
    background: #FFF;
    padding: 32px 24px;
}

.wizard-content {
    margin-bottom: 24px;
}

.wizard-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* step 0 */
.step0 {
    border-radius: 16px;
    border: 1px solid #F0F0F0;
    background: #FFF;
    padding: 24px;
}

.step-title {
    color: #050505;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 8px;
}


.form-check-input:checked {
    background-color: #8BC4FF;
    border-color: #8BC4FF;
}

    .form-check-input:checked[type=checkbox] {
        --bs-form-check-bg-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e);
    }

.form-check-input[type=radio] {
    border-radius: 6px;
}






@media (max-width: 1400px) {

    .performance-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1150px) {

    .performance-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .grid2 {
        grid-template-columns: repeat(1,1fr);
    }

    .responsiveClass {
        border-bottom: 1px solid #E6E6E6 !important;
    }
}

@media (max-width: 550px) {

    .performance-stats {
        grid-template-columns: repeat(1, 1fr);
    }
}


.wizard-tab {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

/* Wizard Stepper Styles */
.wizard-stepper-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.wizard-stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    min-width: 80px;
}

    .wizard-stepper-step::before {
        position: absolute;
        content: "";
        border-bottom: 2px solid #E6E6E6;
        width: 100%;
        top: 20px;
        left: -35%;
        z-index: 2;
    }

    .wizard-stepper-step.completed::before,
    .wizard-stepper-step.active::before {
        border-bottom: 2px solid #000;
    }

    .wizard-stepper-step::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #E6E6E6;
        width: 100%;
        top: 20px;
        left: 50%;
        z-index: 2;
    }

    .wizard-stepper-step.completed::after,
    .wizard-stepper-step.active::after {
        border-bottom: 2px solid #000;
    }

    .wizard-stepper-step:first-child::before {
        content: none;
    }

    .wizard-stepper-step:last-child::after {
        content: none;
    }


.wizard-stepper-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #EBEBEB;
    display: flex;
    padding: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: background 0.3s;
    position: relative;
    z-index: 7;
}

.wizard-stepper-label {
    color: #666;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
}

.wizard-stepper-step.active .wizard-stepper-circle {
    background: #8BC4FF;
}

.wizard-stepper-step.completed .wizard-stepper-circle {
    background: #000;
}

.wizard-stepper-step.active .wizard-stepper-label {
    font-weight: 500;
    color: #050505;
}

.wizard-stepper-step.completed .wizard-stepper-label {
    color: #050505;
    font-weight: 500;
}
/* Custom tabs for wizardStep1 */
.custom-tabs-container {
    margin: 0 0 24px 0;
}

.custom-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    padding-top: 24px;
}

.custom-tab {
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    color: #888;
    width: 50%;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    text-align: center;
}

    .custom-tab.active {
        color: #222;
        font-weight: 600;
        border-bottom: 2px solid #222;
    }

.custom-tab-content {
    padding: 24px;
}

.hoverMe {
    position: relative;
}

    .hoverMe p {
        background-color: #BDBDBD;
        height: 16px;
        width: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        cursor: pointer;
        color: #fff;
        font-style: italic;
        font-weight: 400;
        font-size: 12px;
        margin-bottom: 0px;
    }

    .hoverMe .tooltiptext {
        display: none;
        width: 328px;
        border: 1px solid #E6E6E6;
        background: #FFF;
        border-radius: 4px;
        position: absolute;
        z-index: 1;
        padding: 12px;
        top: -100px;
        box-shadow: 1px 0px 13px 2px rgb(110 110 110 / 19%);
        left: -154px;
    }

        .hoverMe .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #fff transparent transparent transparent;
        }

    .hoverMe:hover .tooltiptext {
        display: flex;
    }

    .hoverMe:hover p {
        background-color: #333333;
    }

.tab2-btn {
    border-radius: 8px;
    border: 1px solid #E6E6E6;
    background: #FFF;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: none;
    outline: none;
}

.body-copy {
    border-radius: 12px;
    background: #FFF;
    padding: 12px;
}

.copy-p {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 0px;
}

.textDiv {
    padding: 24px;
    border-top: 1px solid #E6E6E6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.target-heading {
    color: var(--color-text-neutral-secondary, #333);
    max-width: 292px;
    width: 100%;
    /* Label/large-16/Medium */
    font-family: var(--type-family-label, "Space Grotesk");
    font-size: var(--type-size-label-large, 16px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-line-height-label-large, 24px); /* 150% */
    letter-spacing: var(--type-letter-spacing-label-large, 0px);
}

.target-para {
    color: var(--color-text-neutral-tertiary, #666);
    flex: 1;
    /* Paragraph/large-16/Regular */
    font-family: var(--type-family-paragraph, "Space Grotesk");
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 175% */
    letter-spacing: var(--type-letter-spacing-paragraph-medium, 0px);
}

.right-panel {
    padding: 20px 20px;
    border-bottom: 1px solid #F0F0F0;
}

.right-panel-heading {
    color: var(--color-text-neutral-primary, #050505);
    /* Label/medium-14/Regular */
    font-family: var(--type-family-label, "Space Grotesk");
    font-size: var(--type-size-label-medium, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-line-height-label-medium, 20px); /* 142.857% */
    letter-spacing: var(--type-letter-spacing-label-medium, 0px);
}

.right-all {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}



.inner-content {
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.more-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 9px;
}

.keyword {
    color: var(--color-text-neutral-primary, #050505);
    /* Label/medium-14/Medium */
    font-family: var(--type-family-label, "Space Grotesk");
    font-size: var(--type-size-label-medium, 14px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-line-height-label-medium, 20px); /* 142.857% */
    letter-spacing: var(--type-letter-spacing-label-medium, 0px);
}

.bg-key {
    border-radius: var(--2xs, 4px);
    background: var(--color-bg-brand-clear-default, #E1ECFB);
    display: flex;
    padding: var(--vertical-0125-rem-2-px, 2px) var(--horizontal-025-rem-4-px, 4px);
    justify-content: center;
    align-items: center;
    gap: var(--gap-025-rem-4-px, 4px);
    color: var(--color-text-info-primary, #005CC8);
    text-align: center;
    /* Label/small-12/Medium */
    font-family: var(--type-family-label, "Space Grotesk");
    font-size: var(--type-size-label-small, 12px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-line-height-label-small, 16px); /* 133.333% */
    letter-spacing: var(--type-letter-spacing-label-small, 0px);
}

.gray {
    overflow: hidden;
    color: var(--color-text-neutral-tertiary, #666);
    text-overflow: ellipsis;
    /* Label/medium-14/Regular */
    font-family: var(--type-family-label, "Space Grotesk");
    font-size: var(--type-size-label-medium, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-line-height-label-medium, 20px); /* 142.857% */
    letter-spacing: var(--type-letter-spacing-label-medium, 0px);
}

.red {
    color: var(--color-text-danger-secondary, #F13944);
    text-align: center;
    cursor: pointer;
    justify-content: flex-end;
    /* Label/small-12/Medium */
    font-family: var(--type-family-label, "Space Grotesk");
    font-size: var(--type-size-label-small, 12px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-line-height-label-small, 16px); /* 133.333% */
    letter-spacing: var(--type-letter-spacing-label-small, 0px);
    display: flex;
    align-items: center;
    gap: 4px;
}

.remove-btn {
    display: flex;
    padding: var(--vertical-05-rem-8-px, 8px) var(--horizontal-1-rem-16-px, 16px);
    justify-content: center;
    align-items: center;
    gap: var(--gap-025-rem-4-px, 4px);
    display: flex;
    border: none;
    box-shadow: none;
    border-radius: var(--xs, 6px);
    background: var(--color-bg-danger-clear-default, #FFECEA);
    outline: none;
    color: var(--color-text-danger-primary, #B2242E);
    text-align: center;
    /* Label/small-12/Medium */
    font-family: var(--type-family-label, "Space Grotesk");
    font-size: var(--type-size-label-small, 12px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-line-height-label-small, 16px); /* 133.333% */
    letter-spacing: var(--type-letter-spacing-label-small, 0px);
}

.remove-add {
    border-radius: var(--xs, 6px);
    background: #F5F5F5;
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: var(--gap-025-rem-4-px, 4px);
    color: var(--color-text-neutral-primary, #050505);
    text-align: center;
    border: none;
    /* Label/small-12/Medium */
    font-family: var(--type-family-label, "Space Grotesk");
    font-size: var(--type-size-label-small, 12px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-line-height-label-small, 16px); /* 133.333% */
    letter-spacing: var(--type-letter-spacing-label-small, 0px);
}

.sort-by {
    display: flex;
    align-items: center;
    color: var(--color-text-neutral-primary, #050505);
    text-align: center;
    /* Label/medium-14/Medium */
    font-family: var(--type-family-label, "Space Grotesk");
    font-size: var(--type-size-label-medium, 14px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-line-height-label-medium, 20px); /* 142.857% */
    letter-spacing: var(--type-letter-spacing-label-medium, 0px);
    gap: 4px;
}

@media (max-width: 1200px) {
    .wizard-stepper-container {
        padding: 0 10px;
    }

    .wizard-stepper-step {
        min-width: 70px;
    }

    .wizard-stepper-circle {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .wizard-stepper-label {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .wizard-stepper-container {
        padding: 0 5px;
    }

    .wizard-stepper-step {
        min-width: 60px;
    }

    .wizard-stepper-circle {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .wizard-stepper-label {
        font-size: 12px;
        line-height: 16px;
    }

    .gridClass {
        grid-template-columns: repeat(1,1fr);
    }
}

@media (max-width: 768px) {
    .wizard-stepper-container {
        overflow-x: auto;
        padding: 0;
        justify-content: flex-start;
        gap: 10px;
    }

    .wizard-stepper-step {
        min-width: 50px;
        flex: 0 0 auto;
    }

    .wizard-stepper-circle {
        width: 32px;
        height: 32px;
        padding: 6px;
        margin-bottom: 8px;
    }

    .wizard-stepper-label {
        font-size: 11px;
        line-height: 14px;
    }

    .wizard-stepper-step::before,
    .wizard-stepper-step::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .wizard-stepper-container {
        gap: 5px;
    }

    .wizard-stepper-step {
        min-width: 45px;
    }

    .wizard-stepper-circle {
        width: 28px;
        height: 28px;
        padding: 5px;
        margin-bottom: 6px;
    }

    .wizard-stepper-label {
        font-size: 10px;
        line-height: 12px;
    }
}

.bgClass {
    border-radius: 16px;
    border: 1px solid #F0F0F0;
    background: #FFF;
}

.section1 {
    padding: 24px;
    border-bottom: 1px solid #E6E6E6;
}

.headingsection {
    color: #050505;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.orangeDiv {
    border-radius: 8px;
    border: 1px solid #FEDBC3;
    background: #FEEEE3;
    padding: 12px 16px;
    color: #050505;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.para {
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    margin-top: 24px;
    margin-bottom: 0px;
}

.cardClass {
    border-radius: 16px;
    border: 1px solid #E6E6E6;
    background: #FFF;
    padding: 24px;
}

.cardHeading {
    color: #050505;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.cardPara {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 8px;
}


/* Quill editor custom styles */
.bold-text-area {
    margin-top: 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E6E6E6;
    padding: 0;
}

    .bold-text-area .ql-toolbar {
        border-radius: 8px 8px 0 0 !important;
        border: none;
        border-bottom: 1px solid #E6E6E6 !important;
        background: #f5f5f5 !important;
        padding: 10px !important;
    }

    .bold-text-area .ql-container {
        border-radius: 0 0 8px 8px;
        border: none;
        min-height: 100px;
        font-size: 15px;
        padding: 8px 12px;
    }

    .bold-text-area .ql-editor {
        min-height: 80px;
        font-size: 15px;
        padding: 8px 0;
    }

    .bold-text-area .ql-toolbar button {
        border-radius: 4px;
    }

    .bold-text-area .ql-toolbar .ql-picker-label {
        border-radius: 4px;
    }

    .bold-text-area .ql-toolbar .ql-active {
        background: #f0f0f0;
    }

    .bold-text-area .ql-toolbar .ql-picker {
        margin-right: 8px;
    }

    .bold-text-area .ql-toolbar .ql-formats {
        margin-right: 12px;
    }

/* Summary Step 5 Styles */
.summary-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.summary-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    padding: 24px;
    margin-bottom: 0;
}

.summary-title {
    font-size: 18px;
    font-weight: 400;
    color: #050505;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 230px;
    width: 100%;
}

.summary-icon {
    width: 40px;
    height: 40px;
}

.summary-label {
    color: #050505;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0px;
}

.summary-value {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 0px;
}

.summary-products {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

.summary-product {
    border-radius: 12px;
    border: 1px solid #E6E6E6;
    display: flex;
    align-items: flex-start;
    width: 100%;
}

    .summary-product img {
        width: 72px;
        height: 100%;
        border-radius: 12px 0px 0px 12px;
    }

.summary-product-desc {
    overflow: hidden;
    color: #050505;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.summary-product-meta {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

@media (max-width: 1300px) {
    .summary-products {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 900px) {
    .summary-row, .summary-products {
        flex-wrap: wrap;
        gap: 12px;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-products {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 600px) {
    .summary-products {
        grid-template-columns: repeat(1,1fr);
    }

    .summary-section {
        gap: 16px;
    }

    .summary-card {
        padding: 10px;
        border-radius: 10px;
    }

    .summary-row, .summary-products {
        gap: 8px;
    }

    .summary-title {
        font-size: 15px;
    }
}
@media (max-width: 1024px) {
    .profile-modal-container {
        width: 90%;
    }

    .search-toggle-btn {
        display: flex; /* Show the toggle button on mobile */
    }

    .top-right-controls {
        flex-wrap: nowrap;
    }
}

@media (max-width: 650px) {
    .profile-modal-container {
        width: 90%;
    }
}

/* Responsive search toggle */
.search-toggle-btn {
    display: none;
}

@media (max-width: 1024px) {
    .search-box {
        display: none;
        width: 100%;
        
        top: 60px; /* Adjust as needed */
        left: 0;
        right: 0;
        
        padding: 12px 24px;
        background-color: #f8f9fa;
        border-radius: 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

        .search-box.active {
            display: flex;
        }

    .search-toggle-btn {
        display: flex;
    }

    .top-right-controls {
        flex: none;
    }
}

.search-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}




/*.search-bar button {
    padding: 8px 16px;
    background-color: #1DA1F2;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;*/ /* distance from previous element */
    /*margin-right: 10px;*/ /* move button slightly inward from right edge */
/*}*/

.select-with-icon {
    position: relative;
    display: inline-block;
}


    .select-with-icon select {
        appearance: none; /* native arrow hide */
        -webkit-appearance: none;
        -moz-appearance: none;
        padding: 8px 30px 8px 12px; /* right padding for custom icon */
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        outline: none;
        background-color: #fff;
    }

    .select-with-icon svg {
        position: absolute;
        right: 10px; /* icon inside select on right */
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none; /* select remains clickable */
    }


.mb-16 {
    margin-bottom: 16px;
}
/* Hide the native select */
.region-select {
    display: none;
}

.selected-option {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #E5E7EB;
}

/*.search-bar button {
    display: none;*/ /* hidden in image */
/*}*/


.lighter-text {
    color: #999; /* light gray */
}

.table-wrapper {
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    
}
#performanceByRegionTbl {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: 600px;
}

    #performanceByRegionTbl thead {
        background-color: #f9f9f9;
    }

    #performanceByRegionTbl th,
    #performanceByRegionTbl td {
        padding: 12px 14px;
        border-bottom: 1px solid #eee;
    }

    #performanceByRegionTbl th {
        font-weight: 600;
        white-space: nowrap;
    }

.progress-bar {
    background: #eee;
    border-radius: 10px;
    height: 10px;
    position: relative;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #007bff;
    border-radius: 10px;
}

.status-positive {
    color: green;
    font-weight: bold;
}

.status-negative {
    color: red;
    font-weight: bold;
}


.good {
    background-color: #e0f0ff;
    color: #007bff;
}

.excellent {
    background-color: #d4edda;
    color: #28a745;
}

.average {
    background-color: #fff3cd;
    color: #856404;
}

.attention {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
 
    th, td {
        padding: 8px 10px;
        font-size: 14px;
    }

    th {
        font-size: 13px;
    }

    .progress-bar {
        height: 8px;
    }

   
    /* Hide less critical columns on small screens */
    th:nth-child(4), td:nth-child(4), /* Engagement */
    th:nth-child(7), td:nth-child(7) /* Avg. Order Value */ {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    th, td {
        padding: 6px 8px;
        font-size: 12px;
    }

    th {
        font-size: 11px;
    }

}

.label-text {
    font-weight: 600;
}

.label-write {
    font-size: 12px;
    color: #777;
}

.container {
    background: #fff;
    border: 1px solid #ccc;
    padding: 30px;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: none !important;
    margin-bottom: 15px;
}

    .form-control:focus {
        border: 1px solid #34495e;
    }
.bar-fill {
    transition: height 0.4s ease, background-color 0.4s ease;
}
