/**
 * TGD Bulk Discount Accordion Styles
 */

/* Header styling */
.wdp_table_outter {
    margin: 20px 0;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tgd-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f7f7f7;
    margin: 0 !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
    user-select: none;
}

.tgd-accordion-header:hover {
    background-color: #efefef;
}

.tgd-accordion-active {
    background-color: #e7e7e7;
}

/* Arrow indicator */
.tgd-accordion-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.tgd-accordion-active .tgd-accordion-arrow {
    transform: rotate(180deg);
}

/* Table styling */
.tgd-accordion-content {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.wdp_table {
    margin: 0 !important;
    border: none !important;
}

.wdp_table thead tr {
    background-color: #f2f2f2;
}

.wdp_table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e5e5e5;
}

.wdp_table tr:last-child td {
    border-bottom: none;
}

/* Highlight discount rows */
.wdp_table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Responsive styles */
@media (max-width: 767px) {
    .tgd-accordion-content {
        overflow-x: auto;
    }
    
    .tgd-accordion-header {
        padding: 12px;
        font-size: 14px;
    }
    
    .wdp_table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}
