.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: -66px;
}

#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) {
    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;
    }
    .society_input {
        width: 100%;
    }
    .society_input1 {
        width: 100%;
    }

    .button-5 {
        width: 100%;
        margin-top: 10px;
        align-self: center;
    }
}
