/* General styling for the product coverage table */
.product-coverage-table-main {
    margin: 20px auto;
    /*max-width: 1200px;*/
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Search form styling */
.search-form {
    margin-bottom: 20px;
}

.search-input {
    padding: 10px 15px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s ease;
}

.search-input:focus {
    border-color: #7e7e7e;
}

.search-button {
    padding: 10px 20px;
    background-color: #043679;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.search-button:hover {
    background-color: #555;
}

/* Table styling */
/*.user-orders-table, .vendor-products-table {
    color: #666;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}*/

/*.user-orders-table th, .user-orders-table td, .vendor-products-table th, .vendor-products-table td {
    padding: 12px;
    text-align: left;
    /*border-bottom: 1px solid #e0e0e0;
}*/

/*.user-orders-table th, .vendor-products-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.user-orders-table td, .vendor-products-table td {
    background-color: white;
}

.user-orders-table tr:hover, .vendor-products-table tr:hover {
    background-color: #f5f5f5;
}*/

/* Dropdown and input field styling */
.coverage-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #333;
    /*border-radius: 4px;*/
    background-color: #fff;
    font-size: 14px;
}

.days_count {
    width: 60px;
    padding: 6px;
    border: 2px solid #333;
    /*border-radius: 4px;*/
    text-align: center;
}

td.woocommerce-orders-table__cell.woocommerce-order-table_cell_action_col{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
/* Add to cart button styling */
.add_to_cart_button,
.toggle_status_button {
    padding: 10px 20px;
    background-color: #043679;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
}
.add_to_cart_btn{
    padding: 10px 20px;
    background-color: #555;
    color: white;
    border: none;
    cursor: not-allowed !important;
    font-size: 12px;
}

.add_to_cart_button:hover,
.add_to_cart_btn:hover,
.toggle_status_button:hover {
    background-color: #555;
}

/* Add to cart button styling */
.add_to_cart_button {
    padding: 10px 20px;
    background-color: #043679;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.add_to_cart_button:hover {
    background-color: #555;
}

/* Price column */
.product_coverage-price {
    color: black;
    font-weight: bold;
    text-align: center;
}

/* Responsive styling for smaller devices */
@media (max-width: 768px) {
    .product-coverage-table-main {
        padding: 15px;
    }

    /*.search-input {
        width: 100%;
    }*/

    .search-button {
        width: 100%;
        margin-top: 10px;
    }

    .user-orders-table th, .user-orders-table td, .vendor-products-table th, .vendor-products-table td {
        padding: 10px;
    }

    .days_count {
        width: 100%;
    }

    .add_to_cart_button {
        /*width: 100%;
        text-align: center;*/
    }
}



/* Style for hovered option */
.select2-results__option--highlighted {
    background-color: #777 !important; /* Change the hover background */
    color: white !important;           /* Text color for hover */
}

/* Style for selected option */
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #333 !important; /* Selected option background */
    color: white !important;           /* Text color for selected */
}

/**/
/* ---------- user-orders-table -------------- */

.user-orders-table, .vendor-products-table {
    width: 100%;
    /*max-width: 1200px;*/ /* Limit maximum width for larger screens */
    border-collapse: collapse;
    margin: 20px auto; /* Center the table */
    
}

.vendor-products-table td{
    /*border: 1px solid #ddd;*/
    padding: 10px; /* Increased padding for better spacing */
    text-align: left;
}
.vendor-products-table td:last-child {
    text-align: center;
}
.vendor-products-table th:last-child {
    border-left: 1px solid #ddd;
}

/*.user-orders-table .days_count{
    font-size: large;
    padding: 15px;
    border-radius: 4px;
    max-width: 80px;
    /*border-width: thin;
}

.user-orders-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.user-orders-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.user-orders-table tbody tr:hover {
    background-color: #f1f1f1;
}*/

