/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.custom-reseller-wrapper {
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: #333;
  }
  .custom-reseller-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
  .custom-reseller-wrapper select {
    padding: 10px 15px;
    margin-bottom: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
  }
  #reseller-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 50px;
    font-size: 14px;
  }
  #reseller-table thead th {
    background-color: #337ab7;
    color: #fff;
    font-family: 'Lato', sans-serif;
    padding: 12px 10px;
    text-align: left;
    border: 1px solid #ccc;
  }
  #reseller-table tbody td {
    padding: 12px 10px;
    border: 1px solid #ddd;
    vertical-align: top;
    color: #333;
  }
  #reseller-table .country-row td {
    background-color: #e9eef5;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    color: #333;
    padding: 14px 12px;
    border-top: 2px solid #337ab7;
    border-bottom: 1px solid #ccc;
  }
  #reseller-table .state-row td {
    background-color: #f5f7fa;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    color: #333;
    padding: 12px 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
  #reseller-table .reseller-row td {
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    color: #333;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
  }
  #reseller-table .reseller-row:hover td{
    background-color: #f9f9f9;
  }
  #reseller-table tbody td span {
    display: block;
    margin: 2px 0;
    color: #337ab7;
    font-weight: 500;
/*    word-break: break-word;*/
  }
  
  @media screen and (max-width: 767px) {
    .custom-reseller-wrapper select {
       flex: 1 auto; 
       max-width: 100%;
    }
    #reseller-table thead {
      display: none;
    }
  
    #reseller-table, 
    #reseller-table tbody, 
    #reseller-table tr, 
    #reseller-table td {
      display: block;
      width: 100%;
    }
 #reseller-table tbody .country-row td, 
 #reseller-table tbody .state-row td{
    border:none;
  }
    #reseller-table tbody tr {
      margin-bottom: 15px;
      border: 1px solid #ddd;
      border-radius: 5px;
      overflow: hidden;
    }
    #reseller-table tbody .reseller-row td:before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        font-family: 'Lato', sans-serif;
        color: #333;
      }    
    #reseller-table tbody td {
      padding: 10px;
      border: none;
      border-bottom: 1px solid #eee;
      position: relative;
    }
    #reseller-table tbody tr:last-child td {
      border-bottom: none;
    }
    #reseller-table .country-row {
      background-color: #e9eef5;
    }
    #reseller-table .country-row td:not(:first-child),#reseller-table .state-row td:not(:first-child){
      display:none;
    }
    #reseller-table .state-row {
      background-color: #f5f7fa;
    }
  }
  