.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    top: 60px; 
}
 
.full-width-form1 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-top: 55px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
    background: rgba(255, 255, 255, 0.04);
    color: #afb7c6;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 0 auto;
    /* display: flex; */
    align-items: start; 
    position: relative;
}

/* .box-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    flex: 1;
    padding-top: 5px;
} */

/* .box-content1 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    flex: 1;
    padding-top: 5px;
} */

.additional-content {
    display: flex;
    justify-content: flex-start;
    margin-top: 5px;
}

.additionalContent {
    color: #afb7c6;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    margin-top: -63px;
}
.additionalContent1 {
    color: #afb7c6;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    margin-top: -57px;
}
#toggleIcon {
    background-color: rgba(255, 255, 255, 0.04);
    color:#afb7c6;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 10px;
    position: absolute;
    top: 20px;
    right: 20px;
}

#toggleIcon:focus {
    outline: none;
}
#toggleIcon1 {
    background-color: rgba(255, 255, 255, 0.04);
    color:#afb7c6;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 10px;
    position: absolute;
    top: 20px;
    right: 20px;
}

#toggleIcon1:focus {
    outline: none;
}
.main_box{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    color: #afb7c6;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    margin-top: 30px;
}
.main_box_search {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.main_box_select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255,  0.05);
    color: #afb7c6;
    padding: 8px;
    border-radius: 0px;
    width: 26%;
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
    transition: border 0.3s, background-color 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.main_box_select:focus {
    border-color: #afb7c6;
    outline: none;
}

.main_box_select:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: #afb7c6;
}

.main_box_select option {
    background-color: #070e2b;
    color: #afb7c6;
}

.main_box_select::after {
    content: '\25BC';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.main_box_select {
    padding-right: 30px;
}

.main_box_input {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: #afb7c6;
    padding: 10px;
    border-radius: 0px;
    width: 74%;
    font-size: 16px;
}

.main_box_input:focus {
    border: 0.5px solid #afb7c6;
    outline: none;
}
.society_form{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: #afb7c6;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  flex-direction: row;
  justify-content:space-between;
  margin-top: 30px;
}

.society_input{
  background-color:  rgba(255, 255, 255, 0.04);
  border: 1px solid  rgba(255, 255, 255, 0.04);
  color:#afb7c6;
  padding: 8px;
  border-radius: 0px;
  width:30%;
  font-size: 15px;
}
.society_input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}
.society_input[type="date"] {
  cursor: pointer;
}
.society_input:focus {
  border:0.5px solid #afb7c6; 
  outline: none;
}
.society_input1{
  background-color:  rgba(255, 255, 255, 0.04);
  border: 1px solid  rgba(255, 255, 255, 0.04);
  color:#afb7c6;
  padding: 8px;
  border-radius: 0px;
  width:18%;
  font-size: 15px;
}
.society_input1[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}
.society_input1[type="date"] {
  cursor: pointer;
}
.society_input1:focus {
  border:0.5px solid #afb7c6; 
  outline: none;
}
.society_span{
  font-weight: bold;
}

.button-5 {
align-items: center;
background-clip: padding-box;
background-color: #db5800;
border: 1px solid transparent;
border-radius: .25rem;
box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
box-sizing: border-box;
color: #fff;
cursor: pointer;
display: inline-flex;
font-size: 15px;
justify-content: center;
line-height: 1.25;
margin: 0;
min-height: 3rem;
padding: calc(.875rem - 1px) calc(1.5rem - 1px);
position: relative;
text-decoration: none;
transition: all 250ms;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
vertical-align: baseline;
width: auto;
}

.button-5:hover,
.button-5:focus {
background-color: #db5800de;
box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
border:0.5px solid #db5800de; 
outline: none;
}

.button-5:hover {
transform: translateY(-1px);
}

.button-5:active {
background-color: #db5800b6;
box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
transform: translateY(0);
}
.society_form1{
  margin-top: 20px;
}
/* Responsive table styles */
@media (max-width: 768px) {
    .input-row {
        flex-direction: column; /* Stack inputs on smaller screens */
    }
    /* table {
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    th, td {
        white-space: nowrap;
    }
    
    tbody, thead, tfoot {
        display: block;
        overflow-y: auto;
        width: 100%;
    } 

    tfoot {
        font-size: 15px;
    } */

    .main_box_search {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .main_box_input,
    .main_box_select {
        width: 100%;
        margin-bottom: 10px;
        padding: 8px;
    }

    .society_form {
        display: flex;
        flex-direction: column;
        gap: 5px;
       
    }
    .dealer_input {
        width: 100%;
    }
    #name_estate{
        margin-left: 0px;
    }
    #number_dealer1{
        margin-left:0px;
    }

    .button-5 {
        width: 100%;
        margin-top: 10px;
        align-self: center;
        font-size: 13px;
    }
    .society_input{
      width:100%;
    }
}

#societiesTable1 {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    overflow: hidden;
    /* table-layout: fixed; */
  }
  
  #societiesTable1 th, 
  #societiesTable1 td {
    padding: 8px;
    text-align: left;
    border: 1px solid #070e2b;
    cursor: pointer;
    overflow: hidden;
    word-wrap: break-word; 
    white-space: normal; /* Allow wrapping */
    max-width: 200px; /* Optional: set a max width */
  }
  
  #societiesTable1 tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border: 0px solid rgba(255, 255, 255, 0.03);
  }
  
  #societiesTable1 tbody {
    font-size: 13px;
  }
  
  #societiesTable1 th {
    background-color: #db5800;
    border: 1px solid #db5800;
    color: white;
    font-size: 15px;
    font-weight: normal;
  }
  
  /* #societiesTable1 th:nth-child(1) {
    width: auto;
  } */
  
  #societiesTable1 th:nth-child(1) {
    width:100%;
  }
  
  /* #societiesTable1 th:nth-child(3) {
    width: 19%; 
  }
  #societiesTable1 th:nth-child(4) {
    width: 10%; 
  }
  #societiesTable1 th:nth-child(5) {
    width: 10%; 
  } 
  #societiesTable1 th:nth-child(6) {
    width: 10%; 
  } 
  #societiesTable1 th:nth-child(7) {
    width: 10%; 
  } 
  #societiesTable1 th:nth-child(8) {
    width: 10%; 
  } 
  #societiesTable1 th:nth-child(9) {
    width: 10%; 
  } 
  #societiesTable1 th:nth-child(10) {
    width: 10%; 
  } 

  #societiesTable1 th:nth-child(11) {
    width: 10%; 
  }   
  #societiesTable1 th:nth-child(12) {
    width: 10%; 
  }
  
  #societiesTable1 th:nth-child(13) {
    width: 10%; 
  }   
  #societiesTable1 th:nth-child(14) {
    width: 10%; 
  } 
    */
 
    .switch {
      position: relative;
      display: inline-block;
      width: 30px;
      height: 15px;
  }
  
  .switch input {
      opacity: 0;
      width: 0;
      height: 0;
  }
  
  .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #070e2b;
      transition: .4s;
      border-radius: 20px;
  }
  
  .slider:before {
      position: absolute;
      content: "";
      height: 11px;
      width: 11px;
      left: 3px;
      bottom: 2px;
      background-color: #db5800;
      border-radius: 50%;
      transition: .4s;
  }
  
  input:checked + .slider {
      background-color: #afb7c6;
  }
  
  input:checked + .slider:before {
      transform: translateX(14px);
      background-color: #070e2b;
  }
/* Basic checkbox styles */
input[type="checkbox"] {
  cursor: pointer;
  width: 15px; /* Adjust size */
  height: 15px; /* Adjust size */
  accent-color: #db5800; /* Change checkbox color */
}

/* To customize the checkbox appearance */
input[type="checkbox"] {
  -webkit-appearance: none; /* Remove default styling */
  -moz-appearance: none; /* Remove default styling */
  appearance: none; /* Remove default styling */
  border: 1px solid #afb7c6; /* Border color */
  background-color: #afb7c6;
  border-radius: 4px; /* Rounded corners */
  outline: none; /* Remove outline */
  position: relative; /* Position for the checkmark */
}

/* Checkmark styling */
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 0px; /* Adjust to center vertically */
  left: 3px; /* Adjust to center horizontally */
  width: 4px; /* Size of the checkmark */
  height: 8px; /* Size of the checkmark */
  border: solid #fff; /* Checkmark color */
  border-width: 0 2px 2px 0; /* Create a checkmark shape */
  transform: rotate(45deg); /* Rotate to form a checkmark */
}

/* Change background color when checked */
input[type="checkbox"]:checked {
  background-color: #db5800; /* Background color when checked */
  border: 1px solid #db5800;
}

  .delete-btn1{
    text-align: center;
    color: #afb7c6;
    font-size: 14px;
  }
  
  .delete-btn1:hover {
    color: #fff;
    text-shadow: 
        0 0 5px #afb7c6, 
        0 0 10px #afb7c6, 
        0 0 15px #afb7c6, 
        0 0 20px #afb7c6, 
        0 0 25px #afb7c6, 
        0 0 30px #afb7c6, 
        0 0 35px #afb7c6;
  } 
  
  /* Pagination styles */
  #societiesTable1 tfoot {
    background-color: #070e2b; /* Background color for the footer */
    border: 1px solid #070e2b; /* Border color */
    font-size: 13px;
  }
  
  #societiesTable1 tfoot td {
    padding: 10px;
    text-align: center;
    border: none;
    background-color: #070e2b; /* Match footer background */
  }
  
  #societiesTable1 .pagination-controls {
    text-align: right;
  }
  
  #societiesTable1 .pagination-controls a {
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
    color: #afb7c6; /* Text color */
    border-radius: 3px;
    background-color: #070e2b; /* Background color */
    display: inline-block; /* Ensure padding and border are applied */
    min-height: 13px; /* Minimum height */
    line-height: 13px; /* Align text vertically */
  }
  
  #societiesTable1 .pagination-controls a.active {
    background-color: #070e2b; 
    color: #fff; 
    text-shadow: 
        0 0 5px #afb7c6, 
        0 0 10px #afb7c6, 
        0 0 15px #afb7c6, 
        0 0 20px #afb7c6, 
        0 0 25px #afb7c6, 
        0 0 30px #afb7c6, 
        0 0 35px #afb7c6; 
  }
  
  #societiesTable1 .pagination-controls a:hover {
    background-color: #070e2b; 
    color: #fff; 
    text-shadow: 
        0 0 5px #afb7c6, 
        0 0 10px #afb7c6, 
        0 0 15px #afb7c6, 
        0 0 20px #afb7c6, 
        0 0 25px #afb7c6, 
        0 0 30px #afb7c6, 
        0 0 35px #afb7c6;
  }
  .dealer_input option {
  background-color: #070e2b;
  color: #afb7c6;
  }
  
  .suggestion-box {
  background-color: #070e2b; 
  border: 1px solid #070e2b; 
  color: #afb7c6;
  position: absolute;
  top: 100%; /* Positions it directly under the input */
  left: 0; /* Aligns it to the left of the input */
  width: 100%; /* Makes the suggestion box the same width as the input */
  max-height: 200px; /* Increased height */
  overflow-y: auto;
  z-index: 1000;
  }
  
  .suggestion-item {
  padding: 10px;
  cursor: pointer;
  }
  
  .suggestion-item:hover {
  background-color: #db5800;
  }
  #society-container{
  position: relative;  
  width: 18%;
  }
  @media (max-width: 768px) {
  #society-container{
  width: 100%;
  }

  .main_box{
    padding:0px;
    background: none;
  }
  .society_form1 {
    width: 100%; /* Ensure full width */
    padding: 0; /* Remove padding if needed */
}
.form-container {
  background: none;
}
.full-width-form1{
  padding: 0; 
  padding-top: 35px;
  background: none;
}
/* #societiesTable1 th, 
#societiesTable1 td {
  max-width: 310px; 
} */


  }
  .toast-success {
      background-color: #f16100 !important;
      color: white !important;
      box-shadow: 0 0 15px #f16100 !important;
      }
    .toast-progress {
          background-color: white !important; 
      }