.toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-slider.active {
    background-color: #dc3545; /* Red color like your image */
}

.toggle-slider.active:before {
    transform: translateX(26px);
}

.toggle-slider.inactive {
    background-color: #6c757d;
}

/* Disabled state */
.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.toggle-label {
    font-size: 12px;
    font-weight: 500;
    color: #495057;
}

.status-toggle-cell {
    padding: 8px 12px;
    vertical-align: middle;
}

/* Hover effects */
.toggle-slider:hover {
    opacity: 0.8;
}

.toggle-switch input:disabled + .toggle-slider:hover {
    opacity: 0.6;
}


.nav-pills .nav-link.active {
    background-color: #0d6efd;
}

/* Reduce spacing inside the modal */
#bulkSimActionModal .modal-body {
  padding: 1rem !important;
}

#bulkSimActionModal .form-check {
  margin-bottom: 0.3rem;
}

#bulkSimActionModal label {
  margin-bottom: 0.2rem;
  font-size: 0.875rem;
}

/* Reduce spacing between toggle sections */
#bulkSimActionModal h6 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Reduce footer padding */
#bulkSimActionModal .modal-footer {
  padding: 0.5rem 1rem;
}
#bulkSimActionModal .form-check-inline {
  margin-right: 0.5rem;
}

/* Mobile Statistics Toggle */
@media (max-width: 767.98px) {
    #statisticsCards {
        display: none;
    }
    
    #statisticsCards.show {
        display: block;
    }
}


    .toggle-section {
        background-color: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
    }

    .toggle-section h6 {
        color: #495057;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .form-check {
        margin-bottom: 10px;
    }

    .form-check-label {
        font-weight: 500;
    }

    .form-switch .form-check-input:checked {
        background-color: #28a745;
        border-color: #28a745;
    }

    .volume-toggles {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
