.productHead {
    position: sticky;
    left: 0;
    z-index: 2;
}
.productHeadTH{
    z-index: 4 !important;
}
.th-color{
    background-color: #3b2e7d;
    color: #fff;
    vertical-align: middle;
    font-weight: 400;
    padding: 8px;
    position: sticky;
    top: 0;
    z-index: 3;
}
/* .card-style{
    border-radius: 10px;
    background: #ebf6f8;
    border: none !important;
    border-style: none !important;
} */
.ms_indicater_box {
    color: #000;
    margin-bottom: 0;
    border-radius: 7px;
    background: #ebf6f8;
}
.blue_box {
    background-image: linear-gradient(43deg, #fff 93%, #3a2e7d 0);
    border: 5px solid #3a2e7d;
    padding: 10px;
}
.blue_box_txt{
    color: #3a2e7d !important;
}
.orange_box {
    background-image: linear-gradient(43deg, #fff 93%, #e66f25 0);
    border: 5px solid #e66f25;
    padding: 10px;
}
.orange_box_txt{
    color: #e66f25;
}
.green_box {
    background-image: linear-gradient(43deg, #fff 93%, #10b466 0);
    border: 5px solid #10b466;
    padding: 10px;
}
.green_box_txt{
    color: #10b466;
}
.red_box {
    background-image: linear-gradient(43deg, #fff 93%, #ff5858 0);
    border: 5px solid #ff5858;
    padding: 10px;
}
.red_box_txt{
    color:rgb(241, 11, 11);
}

/* Style the search input */
.dataTables_filter input {
    padding: 6px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Optional: style the label ("Search:") */
.dataTables_filter label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

/* .dataTables_paginate > ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
} */

.dataTables_paginate li.paginate_button {
    background-color: #3a2e7d;
    color: white !important;
    padding: 6px 12px;
    margin: 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

/* Hover effect */
.dataTables_paginate li.paginate_button:hover {
    background-color: #2a2262;
}

/* Active/Current Page */
.dataTables_paginate li.paginate_button.current {
    background-color: #261d59 !important;
    color: white !important;
    font-weight: bold;
}

.dataTables_paginate ul {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0;
    list-style: none;
}


/* General style for all export buttons */
.dt-button {
    background-color: #3a2e7d !important;
    color: white !important;
    border: none !important;
    padding: 6px 12px;
    margin-right: 6px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover effect */
.dt-button:hover {
    background-color: #2a2262 !important;
}

/* Optional: style button container spacing */
.dt-buttons {
    margin-bottom: 10px;
}

/* Increase row height and center content */
#tableIndices tbody tr td, #tableIndicesBSE tbody tr td{
    padding: 8px 8px;
    text-align: center;
    vertical-align: middle;
}

/* Also apply to header if needed */
#tableIndices thead tr th, #tableIndicesBSE thead tr th {
    padding: 8px 8px;
    text-align: center;
    vertical-align: middle;
}
.subtitle_text_blue{
    color: #3a2e7d;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    position: relative;
}

.subtitle_text_red{
    color:rgb(241, 11, 11);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    position: relative;
}




.dashboard *, .dashboard ::before, .dashboard ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: transparent;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f7fa;
}

.dashboard {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    flex: 1 1 calc(25% - 1rem);
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card::before {

    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 25px solid;
    border-left: 25px solid transparent;
    border-radius: 0 10px 0 0;
}


.stat-card.blue { border-left: 4px solid #4f46e5; }
.stat-card.blue::before { border-top-color: #4f46e5; }

.stat-card.green { border-left: 4px solid #10b981; }
.stat-card.green::before { border-top-color: #10b981; }

.stat-card.red { border-left: 4px solid #ef4444; }
.stat-card.red::before { border-top-color: #ef4444; }

.stat-card.orange { border-left: 4px solid #f97316; }
.stat-card.orange::before { border-top-color: #f97316; }

.stat-card.yellow { border-left: 4px solid #facc15; }
.stat-card.yellow::before { border-top-color: #facc15; }

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.stat-title {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
}

.turnover-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 0.5rem;
    overflow: hidden;
}

.turnover-table th, .turnover-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.875rem;
}

.turnover-table thead {
    background-color: #3730a3;
    color: white;
}

.turnover-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.turnover-footer {
    font-weight: bold;
    background-color: #f3f4f6;
}

@media (max-width: 768px) {
    .stat-card {
    flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .stat-card {
    flex: 1 1 100%;
    }
}







.illu-wrapper {
    font-family: Arial, sans-serif;
    background-color: #eaf9f7;
    padding: 2rem;
    color: #111827;
}
.illu-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.illu-note {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 2rem;
}
.illu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.illu-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 1.25rem 1.25rem;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}
.illu-card:hover {
    transform: translateY(-3px);
}
.illu-logo {
    height: 40px;
    margin: 0 auto 0.25rem;
    display: block;
}
.illu-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.5rem 0 1rem;
}
.illu-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #374151;
}
.illu-left,
.illu-right {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.illu-left {
    text-align: left;
}
.illu-right {
    text-align: right;
}
.illu-label {
    font-weight: bold;
    color: #6b7280;
    font-size: 0.75rem;
    padding-bottom: 15px;
}
.illu-price{
    color: #3a2e7d !important;
    font-weight: bold;
    font-size: 1rem; 
}
.illu-gain {
    font-weight: bold;
    font-size: 1rem;
    color: rgb(0, 136, 57) !important;
}
.illu-price {
    color: #1f2937;
}
.illu-gain {
    color: #10b981;
}
.illu-date {
    font-size: 0.8rem;
    color: #6b7280;
}
@media (max-width: 480px) {
    .illu-content {
        flex-direction: column;
        gap: 1rem;
    }
    .illu-left,
    .illu-right {
        text-align: left;
        width: 100%;
    }
}


.whatsapp_float{
    position:fixed;
    bottom:40px;
    left:20px;
    z-index: 99999;
}