/* @import "tailwindcss"; */

* {
    font-family: "Figtree", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* styles.css */

:root {
    --corner-4: 4px;
    --corner-6: 6px;
    --corner-12: 12px;
}


/* Smooth scroll everywhere */
html, body { scroll-behavior: smooth; }

/* If a sticky header exists, keep layout stable when scrollbar shows */
html { scrollbar-gutter: stable; }

/* Make overflow areas scroll smoothly too (e.g., modals / side panels) */
.overflow-auto, .overflow-y-auto, .overflow-x-auto { scroll-behavior: smooth; }

/* iOS momentum scrolling for inner scroll containers */
@supports (-webkit-overflow-scrolling: touch) {
  .overflow-auto, .overflow-y-auto { -webkit-overflow-scrolling: touch; }
}

button:hover {
    cursor: pointer;
}
  /* Default border on all items */
    .analytics-item {
        @apply border-r-2 border-[#E8E8E8] pr-4;
    }

    /* Remove border for last item */
    #analytics-container .analytics-item:last-child {
        border-right: none;
    }

    #analytics-container {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }

input{
    color: #474747!important;
    font-size: 14px!important;
    font-weight: 400!important;
}

 .loader-bar {
    background: linear-gradient(90deg, #E02424 0%, #F9D2D2 50%, #E02424 100%);
    width: 100%;
    height: 100%;
    animation: slide 1.5s linear infinite;
  }

  @keyframes slide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }

.customgray {
    color: #656565!important;
}

#posts-grid::-webkit-scrollbar {
    display: none;
}
.filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border: 1px solid #e8e8e8;
    border-radius: 0.375rem;
    color: #656565;
    width: 100%;
    /* Makes it take full available width */
    max-width: 161px;
    /* Optional: limit max width for desktop */
    cursor: pointer;
    height: 32px;
    transition: background-color 0.2s ease-in-out;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .filter-btn {
        max-width: 100%;
        /* Allow full width on smaller screens */
        margin-top: 10px;
    }
}


.select-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.5rem;
    /* px-2 py-1 */
    background-color: #ffffff;
    /* bg-white */
    border: 1px solid #e8e8e8;
    /* border border-[#E8E8E8] */
    border-radius: 0.375rem;
    /* rounded-md */
    color: #656565;
    /* text-[#656565] */
    width: 100%;
    /* w-full */
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;

}

/* Keep your SVG arrow spaced nicely */
.select-btn svg {
    margin-left: 0.25rem;
    /* ml-1 */
    width: 1rem;
    /* w-4 (16px) */
    height: 1rem;
    /* h-4 (16px) */
    stroke: currentColor;
    /* inherit the text color */
}

.filter-btn:hover {
    background-color: #f9fafb;
    /* Tailwind’s gray-50 */
}

.filter-btn:focus {
    outline: none;
    /* focus:outline-none */
    /* if you want a focus ring: */
    /* box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5); */
}

/* Keep your SVG arrow spaced nicely */
.filter-btn svg {
    margin-left: 0.25rem;
    /* ml-1 */
    width: 1rem;
    /* w-4 (16px) */
    height: 1rem;
    /* h-4 (16px) */
    stroke: currentColor;
    /* inherit the text color */
}

.double-shadow {
    box-shadow: 0px 2px 4px -2px #1018280f;
    box-shadow: 0px 4px 8px -2px #1018281a;
}

.discovery-border-gray {
    border: 1px solid #e8e8e8;
}

.rounded-super {
    /* fallback for old browsers */
    border-radius: var(--corner);

    /* modern WebKit/Blink superellipse via clip‑path */
    -webkit-clip-path: path(M var(--corner) 0 H calc(100% - var(--corner)) C 100% 0 100% var(--corner) 100% var(--corner) V calc(100% - var(--corner)) C 100% 100% calc(100% - var(--corner)) 100% calc(100% - var(--corner)) H var(--corner) C 0 100% 0 calc(100% - var(--corner)) 0 calc(100% - var(--corner)) V var(--corner) C 0 0 var(--corner) 0 var(--corner) 0 Z);
    clip-path: path(M var(--corner) 0 H calc(100% - var(--corner)) C 100% 0 100% var(--corner) 100% var(--corner) V calc(100% - var(--corner)) C 100% 100% calc(100% - var(--corner)) 100% calc(100% - var(--corner)) H var(--corner) C 0 100% 0 calc(100% - var(--corner)) 0 calc(100% - var(--corner)) V var(--corner) C 0 0 var(--corner) 0 var(--corner) 0 Z);
}

.rounded-super-sm {
    --corner: var(--corner-4);
}

.rounded-super-md {
    --corner: var(--corner-6);
}

.rounded-super-xl {
    --corner: var(--corner-12);
}

.border,
.border-b,
.border-t,
.border-l,
.border-r {
    border-color: #e8e8e8;
    /* border-width: 1px !important;
  border-style: solid !important; */
}

*::-webkit-scrollbar {
    width: 0.3rem;
    height: 0.3rem;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: #d8cdcd;
    border-radius: 0.7rem;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #a1a1a1;
}

* {
    font-family: "Figtree", sans-serif !important;
    font-optical-sizing: auto !important;
}
::placeholder {
  font-size: 0.75rem !important; /* 12px (Tailwind's text-xs) */
}
input:not([type="checkbox"], [type="radio"],  [type="email",  [type="password"]]) {
  height: 31px !important;
  border: 0.5px solid #B8B8B8;
}
:root {
    --primary-color: #ff3131;
    --sidebar-bg: #111111;
    --main-bg: #ffffff;
    --text-primary: #000000;
    --text-secondary: #E8E8E8;
    --border-color: #e5e5e5;
    --ph-color: #959595;
}

.dropdown-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.dropdown-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); 
}


.ph-caret-down {
    transition: transform 0.3s ease;
}

.dropdown-menu {
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
    background-color: white;
    border: 1px solid #E8E8E8;
    box-shadow: 0px 8px 24px 0px #0000001F;
    padding: 8px;
    border-radius: 6px;

}

.dropdown-menu:not(.hidden) {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
}

.sidebar {
    background-color: var(--sidebar-bg);
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: width 0.3s ease;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.sidebar-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: opacity 0.3s ease;
}

.content {
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: margin-left 0.3s ease, width 0.3s ease;
}

.content::-webkit-scrollbar {
    display: none;
}

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

.sidebar .ph {
    color: var(--ph-color);
    width: 12px;
}

.top-navigation {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 20;
    border-bottom: 1px solid var(--border-color);
    transition: border-bottom 0.3s ease;
}

.liner-c1,
.liner-c2,
.liner-c3 {
    background: linear-gradient(90.32deg, #1927B3 0.87%, #F50000 55.91%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-purple {
    background-image: url('../img/BlueBG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gradient-green {
    background-image: url('../img/GreenBG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gradient-dark {
    background-image: url('../img/BlackBG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gradient-purple:hover,
.gradient-green:hover,
.gradient-dark:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.avatar-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.avatar-circle:hover {
    transform: scale(1.2);
    opacity: 0.9;
}

.avatar-circle:first-child {
    margin-left: 0;
}

/* .search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(255, 49, 49, 0.2);
    outline: none;
} */
.language-suggestions {
  position: absolute;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 30;
}
.language-suggestions div:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.leading-tight {
    color: #0B0B0B;
    font-size: 14px;
    font-weight: 400;
}

.filter-tag {
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.filter-tag:hover {
    transform: translateY(-2px);
    background-color: #e5e5e5;
}

/* Layout for 1080px and above */
.sidebar {
    width: 216px;
}

/* .content {
    margin-left: 216px;
    width: calc(100% - 216px);
}

@media (min-width: 1280px) {
    .sidebar {
        width: 240px;
    }

    .content {
        margin-left: 240px;
        width: calc(100% - 240px);
    }
} */




.dropdown-container-border {
    border: 0.5px solid #B8B8B8;
    border-radius: 4px;
    height: 31px;
    padding: 6px 10px;
}

.ph-x:hover {
    color: #E02424;
    cursor: pointer;

}

.d-hover:hover {
    background-color: #FDEDED!important;
    border-radius: 4px!important;
    color: #191919!important;
}

.search-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FAFAFA;
    border: 1px solid #E8E8E8;
    color: #474747;
    padding: 6px 12px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    height: 24px;
}

.search-influencer-profile {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* discover influncer tabel start */
/* Header Styles */
.profile-count-header {
    font-size: 14px;
    color: #191919;
}

/* Button Styles */
.followers-filter-btn {
    display: flex;
    justify-content: center;
    border: 1px solid #E8E8E8;
    color: #656565;
    padding: 6px 12px;
    height: 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    align-items: center;
}

.add-to-list-btn {
    display: flex;
    justify-content: center;
    border: 1px solid #E02424;
    background: #FCE9E9;
    color: #191919;
    padding: 6px 12px;
    height: 28px;
    border-radius: 6px 0px 0px 6px;
    font-size: 12px;
    font-weight: 400;
    align-items: center;
    box-shadow: 0px 4px 6px -2px #10182808;
}

.list-dropdown-toggle {
    border: 1px solid #E02424;
    color: #191919;
    padding: 6px 12px;
    background: #FCE9E9;
    height: 28px;
    border-radius: 0px 6px 6px 0px;
    display: flex;
    justify-content: center;
    font-size: 12px;
    font-weight: 400;
    align-items: center;
}

.csv-export-btn {
    display: flex;
    justify-content: center;
    border: 1px solid #E8E8E8;
    color: #474747;
    padding: 6px 12px;
    height: 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    align-items: center;
}

/* Dropdown Styles */
.list-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 20;
}

.list-dropdown-container.dropdown-active .list-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Table Styles */
.table-header-row {
    border-radius: 6px;
    border-bottom: none !important;
    position: sticky;
    top: 0;
    z-index: 1;
    background: #F7F7F7;
}

/* Custom Checkbox Styles */
.table-scroll-container input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid #191919;
    border-radius: 4px;
    background-color: #FAFAFA;
    cursor: pointer;
    position: relative;
    outline: none;
}

.table-scroll-container input[type="checkbox"]:checked {
    background-color: #FAFAFA;
}

.table-scroll-container input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #191919;
    font-size: 8px;
    font-weight: bold;
}
#resultsTableBody input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid #191919;
    border-radius: 4px;
    background-color: #FAFAFA;
    cursor: pointer;
    position: relative;
    outline: none;
}

#resultsTableBody input[type="checkbox"]:checked {
    background-color: #FAFAFA;
}

#resultsTableBody input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #191919;
    font-size: 8px;
    font-weight: bold;
}
/* Custom scrollbar for better UX */
.table-scroll-container::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.table-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.table-scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.table-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.customborder{
    border: 1px solid #E8E8E8;
    border-radius: 6px;
}
/* Table container with fixed height for scrolling */
.table-scroll-container {
    height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive table layout */
.table-grid {
    display: grid;
    grid-template-columns: minmax(40px, 50px) minmax(140px, 1fr) minmax(60px, 80px) minmax(71px, 150px) minmax(80px, 150px) minmax(80px, 150px) minmax(80px, 170px) minmax(120px, 172px);
    gap: 8px;
    align-items: center;
    width: 100%;
}

/* Ensure consistent cell styling */
.table-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.table-cell.profile-cell {
    justify-content: flex-start;
    text-align: left;
    padding-left: 12px;
}

.table-cell.checkbox-cell {
    justify-content: center;
    padding: 4px;
}

.table-cell.followers1,
.table-cell.engagement,
.table-cell.audience,
.table-cell.mumbai {
    justify-content: center;
    text-align: center;
}

.table-header-row {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table-grid {
        grid-template-columns: minmax(40px, 50px) minmax(100px, 1fr) minmax(50px, 70px) minmax(70px, 100px) minmax(70px, 100px) minmax(70px, 100px) minmax(70px, 100px) minmax(100px, 140px);
    }

    .table-cell {
        font-size: 10px;
        padding: 2px 6px;
    }

    .table-cell.profile-cell {
        padding-left: 8px;
    }

    .table-cell.mumbai .view-profile-btn,
    .table-cell.mumbai .remove-unlocked-btn {
        font-size: 10px;
        padding: 2px 4px;
        height: 24px;
    }

    .table-cell.mumbai .view-profile-btn i,
    .table-cell.mumbai .remove-unlocked-btn i {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .table-grid {
        grid-template-columns: minmax(30px, 40px) minmax(80px, 1fr) minmax(40px, 60px) minmax(60px, 80px) minmax(60px, 80px) minmax(60px, 80px) minmax(60px, 80px) minmax(80px, 120px);
    }

    .table-cell {
        font-size: 9px;
        padding: 2px 4px;
    }

    .table-cell.profile-cell {
        padding-left: 6px;
    }

    .table-cell.profile-cell img {
        width: 24px;
        height: 24px;
    }

    .table-cell.followers1 img {
        width: 20px;
        height: 20px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Hide scrollbars but keep scroll functionality */
.table-scroll-container::-webkit-scrollbar {
    display: none;
}
.table-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Responsive adjustments */
@media (max-width: 1080px) {
    .table-grid {
        /* grid-template-columns: minmax(40px, 50px) minmax(150px, 1fr) repeat(5, minmax(80px, 120px)); */
          grid-template-columns: minmax(40px, 50px) minmax(110px, 0.95fr) repeat(6, minmax(62px, 155px));
        min-width: 600px;
        gap: 6px;
    }

    .table-cell {
        font-size: 11px;
        padding: 3px;
    }

    .table-cell.profile-cell {
        padding-left: 6px;
    }
}

@media (max-width: 768px) {
    .table-grid {
        grid-template-columns: minmax(35px, 45px) minmax(120px, 1fr) repeat(5, minmax(70px, 100px));
        min-width: 500px;
        gap: 4px;
    }

    .table-cell {
        font-size: 10px;
        padding: 2px;
    }

    .table-cell.profile-cell {
        padding-left: 4px;
    }
}

@media (max-width: 640px) {
    .table-grid {
        grid-template-columns: minmax(30px, 40px) minmax(100px, 1fr) repeat(5, minmax(60px, 80px));
        min-width: 450px;
        gap: 2px;
    }

    .table-cell {
        font-size: 9px;
        padding: 2px;
    }

    .table-cell.profile-cell {
        padding-left: 4px;
    }
}

.divide-y> :not([hidden])~ :not([hidden]) {
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
}

.progress-bar {
    background: linear-gradient(90deg, var(--color) 0%, var(--color) var(--width), #f3f4f6 var(--width), #f3f4f6 100%);
    border-radius: 4px;
    height: 8px;
    transition: all 0.3s ease;
}

.progress-bar:hover {
    transform: scaleY(1.2);
}

.progress-bar-red {
    background-color: #E02424 !important;
}

.progress-bar-lime {
    background-color: #B0D747 !important;
}

.progress-bar-green {
    background-color: #83A624 !important;
}

.progress-bar-blue {
    background-color: #BABDFE !important;
}

.progress-bar-darkblue {
    background-color: #686FFD !important;
}


.border-font-top-bottom {
    border-radius: 4px 0px 0px 4px;
}

.border-last-top-bottom {
    border-radius: 0px 4px 4px 0px;
}

.progress-bar {
    position: relative;
    height: 20px;
    display: flex;
    gap: 4px;
}

.progress-segment {
    height: 100%;
    flex: 1;

    background-color: #E8E8E8;
}

.progress-indicator {
    position: absolute;
    top: -3px;
    /* Changed from top to bottom */
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #191919;
    /* Changed from border-bottom to border-top */
    transform: translateX(-50%);
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Custom radio button styles */
input[type="radio"]:not(:checked) {
    background-color: #E5E7EB;
    /* Gray when not active */
    border-color: #D1D5DB;
    /* Gray border */
}

input[type="radio"]:checked {
    background-color: #FCE9E9;
    /* Red background when active */
    border-color: #E02424;
    /* Red border */
    color: #E02424;
    /* Red color */
}

input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid;
    outline: none;
    cursor: pointer;
    position: relative;
}

input[type="radio"]:checked::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #E02424;
    /* Red dot in center */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* discover influncer tabel modal end */




/* Custom Red Checkbox Styles for Manage Columns */
.columns-dropdown input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #D0D5DD; /* Default unchecked */
    border-radius: 4px;
    background-color: #FFFFFF; /* Default unchecked */
    cursor: pointer;
    position: relative;
    outline: none;
    flex-shrink: 0;
}

.columns-dropdown input[type="checkbox"]:checked {
    background-color: #FCE9E9;
    border: 2px solid #E02424;
}

.columns-dropdown input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #E02424;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}





/* influncer details  graph , and details css start */
.chart-container {
    position: relative;
    height: 200px;
    width: 100%;
}

.mini-chart-container {
    position: relative;
    height: 200px;
    width: 100%;
}
/* .dashboard-card {
    background: white;
    border-radius: 6px;
    border: 0.5px solid #E8E8E8;
    box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
    min-height: 290px;
    max-height: 290px;
    height: 290px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;

    -ms-overflow-style: none;  
    scrollbar-width: none;   
} */

body.pdf-export {
    /* Hide interactive elements for clean PDF */
    .download-pdf-btn, .favorite-btn, button[onclick], .interactive-element { display: none !important; }
}

.pdf-export-content { 
    box-shadow: none !important; 
    width: 1200px !important; 
    font-family: 'Figtree', sans-serif !important; /* Match Chart.js font */
}

.pdf-export-content .chart-export-img,
.pdf-export-content .chart-container,
.pdf-export-content .dashboard-card,
.pdf-export-content .table-grid,
.pdf-export-content tr { 
    page-break-inside: avoid !important; 
    break-inside: avoid !important; 
    break-after: avoid !important;
    min-height: 250px !important; /* Ample space for charts/tables */
    max-width: 100% !important;
}

.pdf-export-content canvas { display: none !important; } /* Hide originals during export */
.pdf-export-content img { max-height: none !important; } /* Allow full image height */



.dashboard-card {
    background: white;
    border-radius: 6px;
    border: 0.5px solid #E8E8E8;
    box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
    min-height: 290px;
    height: 290px;
    display: flex;
    flex-direction: column;
    overflow: visible;
}


@media (max-width: 640px) {

.dashboard-card {
    background: white;
    border-radius: 6px;
    border: 0.5px solid #E8E8E8;
    box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
    height: auto;
    min-height: auto;
    max-height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
}
}


.dashboard-card::-webkit-scrollbar {
    width: 0; /* hidden initially */
}

.dashboard-card:hover {
    scrollbar-width: thin;      /* Firefox: thin scrollbar on hover */
}

.dashboard-card:hover::-webkit-scrollbar {
    width: 6px; /* show thin scrollbar on hover */
}

.dashboard-card:hover::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.3); 
    border-radius: 4px;
}


.dashboard-card::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari */
}

.card-header {
    font-family: 'Figtree', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #474747;
    text-align: right;
}

.progress-bar {
    background: linear-gradient(90deg, var(--color) 0%, var(--color) var(--width), #f3f4f6 var(--width), #f3f4f6 100%);
    border-radius: 4px;
    height: 8px;
    transition: all 0.3s ease;
}

.progress-bar:hover {
    transform: scaleY(1.2);
}

@media (max-width: 1080px) {
    .dashboard-card {
        min-height: 290px;
    }

    .chart-container {
        height: 180px;
    }

    .mini-chart-container {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .chart-container {
        height: 160px;
    }

    .mini-chart-container {
        height: 160px;
    }
}

.chart-scroll::-webkit-scrollbar {
    height: 4px;
}

.chart-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.chart-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.bar-bg {
    background: linear-gradient(90deg, rgba(151, 71, 255, 0.4) 35.4%, rgba(151, 71, 255, 0) 100%);
    height: 8px;
    border-radius: 60px;
    overflow: hidden;
}

.bar-fill {
    background-color: #9747FF;
    height: 8px;
    border-radius: 60px;
    width: 0;
    transition: width 1s ease-in-out;
}

.bar-bg-green {
    background: linear-gradient(90deg, rgba(131, 166, 36, 0.4) 35.4%, rgba(131, 166, 36, 0) 100%);
    height: 8px;
    border-radius: 60px;
    overflow: hidden;
}

.bar-fill-green {
    background-color: #83A624;
    height: 8px;
    border-radius: 60px;
    width: 0;
    transition: width 1s ease-in-out;
}

.bar-bg-red {
    background: linear-gradient(90deg, rgba(224, 36, 36, 0.4) 35.4%, rgba(224, 36, 36, 0) 100%);
    height: 8px;
    border-radius: 60px;
    overflow: hidden;
}

.bar-fill-red {
    background-color: #E02424;
    height: 8px;
    border-radius: 60px;
    width: 0;
    transition: width 1s ease-in-out;
}

.shadow-line-purple {
    filter: drop-shadow(0px 13px 21px #9747FF8F);
}

.shadow-line-green {
    filter: drop-shadow(0px 13px 21px #83A6245C);
}

.brand-tag {
    border: 0.5px solid #E4E4E4;
    border-radius: 16px;
    background-color: #F7F7F7;
    color: #191919;
    font-size: 12px;
    font-weight: 400;
    height: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid>.dashboard-card {
    align-self: stretch;
}


.img-shadow {
    box-shadow: 0px 2px 4px -2px #1018280F;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scrollbar-width: none;
    /* Firefox */
}

.ph-instagram-logo {
    background: linear-gradient(89.11deg, #FEDA77 1.81%, #F58529 23.16%, #DD2A7B 48.88%, #515BD4 75.04%, #8134AF 95.27%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

@media (max-width: 1023px) {
    .mobile-sidebar-hidden {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .mobile-sidebar-visible {
        transform: translateX(0);
        transition: transform 0.3s ease-in-out;
    }
}

.progress-bar-red {
    background-color: #E02424 !important;
}

.progress-bar-lime {
    background-color: #B0D747 !important;
}

.progress-bar-green {
    background-color: #83A624 !important;
}

.progress-bar-blue {
    background-color: #BABDFE !important;
}

.progress-bar-darkblue {
    background-color: #686FFD !important;
}


.border-font-top-bottom {
    border-radius: 4px 0px 0px 4px;
}

.border-last-top-bottom {
    border-radius: 0px 4px 4px 0px;
}

.progress-bar {
    position: relative;
    height: 20px;
    display: flex;
    gap: 4px;
}

.progress-segment {
    height: 100%;
    flex: 1;

    background-color: #E8E8E8;
}

.progress-indicator {
    position: absolute;
    top: -3px;
    /* Changed from top to bottom */
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #191919;
    /* Changed from border-bottom to border-top */
    transform: translateX(-50%);
}

@media (max-width: 640px) {
    .container-responsive {
        padding: 1rem;
    }

    .rate-text {
        font-size: 1.25rem;
    }

    .good-text {
        font-size: 0.75rem;
    }
}

@media (min-width: 641px) and (max-width: 1079px) {
    .container-responsive {
        padding: 1.5rem;
    }
}

@media (min-width: 1080px) {
    .container-responsive {
        padding: 2rem;
    }
}

/* influncer details  graph , and details css end */

.view-profile-btn {
    white-space: nowrap;
}

.favorite-btn.favorited .ph-star {
    color: #191919 !important;
    /* Black color */
}

.favorite-btn.favorited .ph-star::before {
    content: '\e0ae';
    /* Phosphor Icons 'ph-star-fill' unicode (adjust if using a different version) */
}

/* loader */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #191919;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



* {
    box-sizing: border-box;
    font-family: 'Figtree', sans-serif;
}

/* Hide scrollbar but keep functionality */
.overflow-x-auto::-webkit-scrollbar {
    display: none;
}

.overflow-x-auto {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.animate-fadeIn {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Adding transition for smooth background and text color change */
#activePlansTab,
#archivedPlansTab {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ensure tables have a fade transition */
#activePlansTable,
#archivedPlansTable {
    transition: opacity 0.3s ease;
}

#activePlansTable.hidden,
#archivedPlansTable.hidden {
    opacity: 0;
    display: none;
}

#activePlansTable,
#archivedPlansTable {
    opacity: 1;
}

.table-container {
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.table-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.sticky-col {
    position: sticky;
    left: 0;
    z-index: 10;
    background: white;
}

.sticky-col-profile {
    position: sticky;
    left: 40px;
    z-index: 10;
    background: white;
}

.modal {
    display: none;
}

.modal.active {
    display: flex;
}

.dropdown {
    display: none;
}

.dropdown.active {
    display: block;
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip.visible {
    visibility: visible;
    opacity: 1;
}

.hidden {
    display: none;
}

tr:hover .hover-hidden {
    display: none;
}

tr:hover .hover-visible {
    display: inline-block;
}

.hover-visible {
    display: none;
}

tr {
    overflow-x: auto;
    white-space: nowrap;
}

tr:hover {
    overflow-x: auto;
}

@media (max-width: 640px) {
    .table-container {
        max-width: 100%;
    }

    table {
        min-width: 800px;
    }

    tr {
        overflow-x: auto;
    }
}

input[type="checkbox"]:checked {
    accent-color: #E02424;
}

input[type="checkbox"] {
    margin-right: 8px;
}

@media (max-width: 1080px) {
    #columnsModal .grid-cols-3 {
        grid-template-columns: 1fr;
    }

}

/* Custom checkbox styles */
.custom-checkbox {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    position: relative;
}

.custom-checkbox:checked {
    /* background-color: #E02424; */
    border-color: #E02424;
}

.custom-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: #E02424;
    font-size: 12px;
    font-weight: bold;
}

@keyframes progress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.progress-bar {
    transition: width 2s ease-in-out;
}

.social-buttons .active {
    border-color: #E02424 !important;
    background-color: #FCE9E9 !important;
    color: #474747 !important;
}

.csv-download-btn .active {
    color: #FFFFFF !important;
    background-color: #191919 !important;
}


.toast-container{
    z-index: 999999!important;
}

/* tast animation css start */
  @keyframes slideInRight {
      0% { transform: translateX(120%); opacity: 0; }
      100% { transform: translateX(0); opacity: 1; }
    }
    .toast-enter {
      animation: slideInRight 0.4s ease forwards;
    }
    @keyframes fadeOut {
  0% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(120%); }
}
.toast-exit {
  animation: fadeOut 0.4s ease forwards;
}
/* tast  animation css end */


/* shimmer ui css start */
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.shimmer-line {
  position: relative;
  overflow: hidden;
  background-color: #f1f1f1;
}

.shimmer-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: shimmer 1.2s infinite;
}
/* shimmer ui css end */



      /* From Uiverse.io by PriyanshuGupta28 */ 
.spinner {
  position: absolute;
  width: 9px;
  height: 9px;
}

.spinner div {
  position: absolute;
  width: 50%;
  height: 150%;
  background: #000000;
  transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1%));
  animation: spinner-fzua35 1s calc(var(--delay) * 1s) infinite ease;
}

.spinner div:nth-child(1) {
  --delay: 0.1;
  --rotation: 36;
  --translation: 150;
}

.spinner div:nth-child(2) {
  --delay: 0.2;
  --rotation: 72;
  --translation: 150;
}

.spinner div:nth-child(3) {
  --delay: 0.3;
  --rotation: 108;
  --translation: 150;
}

.spinner div:nth-child(4) {
  --delay: 0.4;
  --rotation: 144;
  --translation: 150;
}

.spinner div:nth-child(5) {
  --delay: 0.5;
  --rotation: 180;
  --translation: 150;
}

.spinner div:nth-child(6) {
  --delay: 0.6;
  --rotation: 216;
  --translation: 150;
}

.spinner div:nth-child(7) {
  --delay: 0.7;
  --rotation: 252;
  --translation: 150;
}

.spinner div:nth-child(8) {
  --delay: 0.8;
  --rotation: 288;
  --translation: 150;
}

.spinner div:nth-child(9) {
  --delay: 0.9;
  --rotation: 324;
  --translation: 150;
}

.spinner div:nth-child(10) {
  --delay: 1;
  --rotation: 360;
  --translation: 150;
}

@keyframes spinner-fzua35 {
  0%, 10%, 20%, 30%, 50%, 60%, 70%, 80%, 90%, 100% {
    transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1%));
  }

  50% {
    transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1.5%));
  }
}

/* Skeleton loading styles */
.skeleton {
    background: #e8e8e8;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.skeleton-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .skeleton-row {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
}

.skeleton-select {
    height: 34px;
    width: 100%;
}

.skeleton-quantity {
    height: 34px;
    width: 100%;
}

.skeleton-cost {
    height: 34px;
    width: 100%;
}

.skeleton-remove {
    height: 20px;
    width: 20px;
    border-radius: 50%;
}

@media (min-width: 768px) {
    .skeleton-select {
        width: 33.33%;
    }
    .skeleton-quantity {
        width: 25%;
    }
    .skeleton-cost {
        width: 33.33%;
    }
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.custumcolorgray{
color: #656565;
}

.dropdown-btn.active {
    border-color: #000000 !important;     /* Optional: slightly darker border for contrast */
}

.dropdown-btn.active i {
    color: #000000 !important;            /* Red icon (caret) */
}