/* You can add global styles to this file, and also import other style files */
.mat-calendar-content {
  background-color: #f4f2f2 !important;
}

.mat-datepicker-content-container {
  height: 350px !important;
  width: 300px !important;
}

:root {
  --mat-datepicker-calendar-container-background-color: #f4f2f2;
}


mat-form-field {
  width: 98%;
  height: 40px;
  /*border: 1px solid red;*/
}

.mat-mdc-form-field-infix input.mat-input-element {
  /* Set line-height equal to the height of the visual input area */
  line-height: 36px !important;
  height: 36px !important; /* Make sure height matches line-height */
  /* Remove default padding which pushes the text down */
  padding: 0 !important;
  box-sizing: border-box !important; /* Ensures padding/border are included in the 36px */
}

/* Ensure the container around the input has no extra padding pushing content down */
.mat-mdc-form-field-infix {
  min-height: 36px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  background-color: #fff;
}

/* Adjust the container heights based on appearance (e.g., outline or fill) */
.mat-mdc-form-field-appearance-outline .mat-mdc-form-field-flex,
.mat-mdc-form-field-appearance-fill .mat-mdc-form-field-flex {
  height: 48px !important; /* Example total height */
}

.mat-mdc-form-field-flex {
  display: flex !important; /* Ensure it is flex */
  align-items: center !important; /* Vertically center all child items */
}

/* 2. Adjust the infix padding/height as you had it previously to control total size */
.mat-mdc-form-field-infix {
  min-height: 36px !important; /* Your desired height */
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

  /* 3. Ensure the input element itself doesn't have conflicting styles */
  .mat-mdc-form-field-infix input.mat-input-element {
    height: auto !important; /* Let flexbox control the height */
    line-height: normal !important; /* Reset line-height */
    padding: 0 !important;
  }

/* 4. Fix alignment for the label when it floats (if using appearance="outline" or "fill") */
.mat-mdc-form-field-label-wrapper {
  display: flex !important;
  align-items: center !important;
  top: 0 !important; /* Adjust if needed to align the *floating* label */
  padding-top: 0 !important;
}

/* Apply border radius to the left side */
.mdc-notched-outline__leading {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}

/* Apply border radius to the right side */
.mdc-notched-outline__trailing {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

/* You might need to adjust the width of the leading part for perfect alignment */
.mdc-notched-outline__leading {
  width: 20px !important; /* Adjust this value as needed for the radius size */
}

/* Targets the left side border */
.mdc-notched-outline__leading {
  border-color: #ded9d9 !important;
  opacity: 1 !important;
}

/* Targets the right side border */
.mdc-notched-outline__trailing {
  border-color: #ded9d9 !important;
  opacity: 1 !important;
}

/* Keep your existing rule for the top/bottom */
.mat-mdc-notch-piece.mdc-notched-outline__notch {
  border-color: #ded9d9 !important;
  opacity: 1 !important;
}

.mat-datepicker-content {
  /* Default Material-style box-shadow */
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12) !important;
  /* You can use a simpler, more noticeable shadow too: */
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important; */
}

.mat-mdc-form-field-popup {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}
/*
.tab1-icon {
  border: 1px solid none;
  background: url('../../src/assets/images/user_icon.png') no-repeat;
  background-position: left;
}

.tab2-icon {
  border: 1px solid none;
  background: url('../../src/assets/images/user_icon.png') no-repeat;
  background-position: left;
}*/

.required-field {
  color: black;
}

.asterisk {
  color: red;
}

.dropdown-container {
  position: relative;
  width: 100%; /* adjust the width as needed */
  border: 0px solid #ccc;
  background-color: transparent;
  vertical-align: middle;
  height: 40px;
  /*border-radius: 4px !important;*/
}

/*.search-textbox {
  padding: 10px;
  font-size: 16px;*/
/*border-radius: 5px;*/
/*width: 100%;
  border:none;
  text-decoration:none;
  background-color:transparent;
}*/

.search-textbox .search-textbox2 .search-textbox3 {
  /*padding: 2%;*/
  font-size: 14px;
  /*border: 0px;*/
  /*border-radius: 5px;*/
  background-color: transparent;
  border: none;
  width: 80%;
  vertical-align: top;
}

.dropdown-button {
  padding: 2%;
  font-size: 16px;
  border: 0px solid #ccc;
  /*border-radius: 5px;*/
  width: 10%;
  cursor: pointer;
  background-color: white;
}

.arrow-down {
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  margin: 0;
  vertical-align: top;
}

.arrow-up {
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.dropdown-list1 {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  max-height: 200px; /* adjust the height as needed */
  overflow-y: auto;
  padding: 10px;
  margin: 5px 0px;
  list-style: none;
  z-index: 999;
  width: 98%;
}

  .dropdown-list1 li:hover {
    background-color: #5898FC;
    color: #fff;
    cursor: pointer;
  }

  .dropdown-list1 li {
    padding: 10px;
    /*border-bottom: 1px solid #ccc;*/
  }

.dropdown-list2 {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  max-height: 200px; /* adjust the height as needed */
  overflow-y: auto;
  padding: 10px;
  margin: 6px 0px;
  list-style: none;
  z-index: 999;
  width: 98%;
}

  .dropdown-list2 li:hover {
    background-color: #5898FC;
    color: #fff;
    cursor: pointer;
  }

  .dropdown-list2 li {
    padding: 10px;
    /*border-bottom: 1px solid #ccc;*/
  }

.dropdown-list3 {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  max-height: 200px; /* adjust the height as needed */
  overflow-y: auto;
  padding: 10px;
  margin: 6px 0px;
  list-style: none;
  z-index: 999;
  width: 98%;
}

  .dropdown-list3 li:hover {
    background-color: #5898FC;
    color: #fff;
    cursor: pointer;
  }

  .dropdown-list3 li {
    padding: 10px;
    /*border-bottom: 1px solid #ccc;*/
  }

.dropdown-scal {
  margin: 10px;
  padding: 10px;
  list-style-type: none;
}

  .dropdown-scal li:hover {
    background-color: #5898FC;
    color: #fff;
    cursor: pointer;
  }


.highlight {
  background-color: #ccc !important;
}

.container-column {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.column {
  width: 100%;
  margin: 0px;
  height: 2%;
}

  .column label {
    display: block;
    margin-bottom: 0px;
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
  }
  
  .column input[type="text"] {
    width: 98%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
  }
/* For screens smaller than 768px (tablets and mobile devices) */

@media (min-width: 100px) and (max-width: 900px) {
  .container-column {
    flex-direction: column;
  }

  .column {
    width: 100%;
    margin: 5px;
  }
}
/* For screens smaller than 480px (small mobile devices) */
@media (max-width: 479px) {
  .column input[type="text"] {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
  }
}

.collapsible {
  width: 100%;
  margin: 0px;
}

.collapsible-button {
  background-color: #fff;
  color: #666;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  margin-left: 0px;
}

  .collapsible-button .arrow {
    border: solid #ccc;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 10px;
    /*transition: transform 0.2s;*/
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }

  .collapsible-button .down {
    transform: rotate(45deg);
  }

  .collapsible-button .up {
    transform: rotate(-135deg);
  }

.collapsible-content {
  padding: 0px;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: none;
  /*background-color:#ccc;*/
  background-color: #fff;
  z-index: 1 !important;
  position: relative;
}

  .collapsible-content.show {
    display: block;
    z-index: 999 !important;
    background-color: #fff;
    z-index: 1;
  }

  .collapsible-content.off {
    display: none;
    /*z-index: 999 !important;
    background-color: #fff;*/
    z-index: 1;
  }

  .collapsible-content input[type="search"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 0px;
  }

/*#dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 999;
}

*/

.search-class {
  width: 100%;
  padding: 0;
  margin: 0;
  height: 50px;
  font-size: 16px;
  color: black;
  border-color: gray
}


.calendar {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  width: 200px;
}

  .calendar table {
    border-collapse: collapse;
  }

  .calendar th, .calendar td {
    border: 1px solid #ccc;
    padding: 5px;
    text-align: center;
  }

  .calendar th {
    background-color: #f0f0f0;
  }

.custom-size-container {
  height: 20px;
  display: block;
}
