
.savebutton{
  position: relative;
  cursor: pointer;
  top: 23px;
  display: inline-flex;
  justify-content: center;
  align-content: center;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.0588235294);
  border-radius: 6px;
  padding-top: 7px;
  color: #FFFFFF;
  width: 75px;
  height: 32px;
  background-color: rgba(11, 134, 172, 0.71);
  font-family: Helvetica;
  font-size: 12px;
  font-weight: bold;
  line-height: 19px;
  }
 
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }
  
::ng-deep .formbuttons .material-icons{
	font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.formbuttons {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #FFFFFF;
	margin-right: 20px;
	width: 120px;
	height: 32px;
	box-shadow: 0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
}
  .modal-content {
    justify-content: center;
    background-color: #fefefe;
    margin: auto;
    padding: 20px 20px 20px 20px;
    border: 1px solid #888;
    width: 93%;
    border-radius: 10px;
    overflow-y: auto;
    max-height: 80vh;
  }
  .closeicon {
    display: flex;
    justify-content: right;
    cursor: pointer;
    margin-bottom: 20px;
    margin-top: -35px;
  }
  .caption-med-12-type-primary {
    font-weight: 700;
    line-height: 36px;
}
.send {
  padding: 0px !important;
  display: inline-block;
  align-content: center;
  margin-right: 5px;
  outline-style: none;
  min-width: 120px;
  height: 32px;
}
.text {
  padding: 0px !important;
  display: inline-grid;
  align-content: center;
  margin-right: 5px;
  outline-style: none;
  min-width: 120px;
  height: 32px;
}

.clearmaticon{
  height: 20px;
  font-size: 18px !important;
  // width: 76;
}
.payissue {
  background-color: #3285ce;   
  color: white;                
  border: 0.5px solid #3285ce; 
  border-radius: 8px;         
  width: 140px;                
  height: 40px;              
  margin-right: 16px;        
  font-size: 14px;            
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.payissue:hover {
  background-color: #1d6fbf;   
}

.button-container {
  display: flex;
  gap: 12px;
  padding: 20px 0;
}

.payissue-btn {
  background: linear-gradient(to right, #8e2de2, #4a00e0);
  color: white;
  border-radius: 12px;
  min-width: 150px;
  height: 40px;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}

:host ::ng-deep {
  @media (max-width: 767px) {

    .FormOverView.scrollbar {
      width: 100%;
      max-width: 100vw;
      overflow-x: hidden;
      box-sizing: border-box;
      padding-left: 10px !important;
      padding-right: 10px !important;
      padding-bottom: 32px !important;
    }

    .FormOverView {
      font-size: 16px !important;
    }

    gb-filter {
      position: static !important;
      right: auto !important;
      left: 0 !important;
      display: flex !important;
      justify-content: flex-start !important;
      width: 100% !important;
      margin-right: auto !important;
      margin-left: 0 !important;
      margin-bottom: 12px;
      text-align: left !important;
      font-size: 16px !important;
    }

    .FormOverView > div[style*="display: flex"] {
      flex-direction: column !important;
      flex-wrap: wrap !important;
      align-items: stretch !important;
      gap: 4px;   

      > gb-newpicklist {
        flex: 0 0 auto !important;
      }

      > gb-date,
      > gb-input,
      > gb-combobox {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
      }
    }

    .FormOverView div[style*="display: flex; align-items: center"] div[style*="display: flex"] {
      flex-direction: column !important;
      flex-wrap: wrap !important;
      align-items: stretch !important;
      gap: 4px;

      > gb-newpicklist {
        flex: 0 0 auto !important;
      }
    }

    .FormOverView > div:nth-of-type(3) {
      display: flex;
      flex-direction: column;
      gap: 6px;
      width: 100%;
    }

    gb-newpicklist,
    gb-input,
    gb-date,
    gb-textarea,
    gb-combobox,
    gb-radiobutton {
      display: block !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      margin-right: 0 !important;
      margin-bottom: 6px !important;  

      label,
      input,
      textarea,
      select {
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
      }

      label {
        font-size: 14px !important;
      }
    }

  
    .FormOverView .mat-mdc-form-field-subscript-wrapper,
    .FormOverView .mat-form-field-subscript-wrapper,
    .modal-content .mat-mdc-form-field-subscript-wrapper,
    .modal-content .mat-form-field-subscript-wrapper {
      display: none !important;
    }

    gb-input,
    gb-date,
    gb-textarea,
    gb-combobox,
    gb-radiobutton {
      width: 100% !important;
    }

    .FormOverView gb-newpicklist,
    .modal-content gb-newpicklist {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      flex: 0 0 auto !important;
      font-size: 16px !important;
      transform: none !important;
    }

    .FormOverView gb-newpicklist mat-form-field,
    .modal-content gb-newpicklist mat-form-field {
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
    }

    .FormOverView gb-newpicklist mat-form-field.mat-form-field.mat-form-field,
    .modal-content gb-newpicklist mat-form-field.mat-form-field.mat-form-field {
      width: 100% !important;
      max-width: 100% !important;
    }

    .FormOverView gb-newpicklist .mat-select-arrow-wrapper,
    .FormOverView gb-newpicklist .mat-mdc-select-arrow-wrapper,
    .FormOverView gb-newpicklist .mat-select-arrow,
    .FormOverView gb-newpicklist .mat-mdc-select-arrow,
    .FormOverView gb-newpicklist [matsuffix],
    .FormOverView gb-newpicklist .mdc-text-field__icon--trailing,
    .modal-content gb-newpicklist .mat-select-arrow-wrapper,
    .modal-content gb-newpicklist .mat-mdc-select-arrow-wrapper,
    .modal-content gb-newpicklist .mat-select-arrow,
    .modal-content gb-newpicklist .mat-mdc-select-arrow,
    .modal-content gb-newpicklist [matsuffix],
    .modal-content gb-newpicklist .mdc-text-field__icon--trailing {
      width: 20px !important;
      min-width: 20px !important;
      max-width: 20px !important;
      font-size: 18px !important;
      flex-shrink: 0 !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    .adjacentField {
      margin-right: 0 !important;
      margin-bottom: 6px !important;
      width: 100% !important;
    }

    gb-textarea textarea {
      width: 100% !important;
      font-size: 16px !important;
      min-height: 80px;
    }

    gb-formgrid {
      display: block !important;
      width: 100% !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch;
      font-size: 14px !important;
    }

    .button-container {
      flex-direction: column !important;
      gap: 10px !important;
      padding: 16px 0 !important;
      overflow: visible !important;
      margin-bottom: 20px !important;
    }

    .payissue-btn {
      width: 100% !important;
      min-width: 0 !important;
      font-size: 16px !important;
    }

    .modal-content {
      width: 96% !important;
      max-height: 90vh;
      padding: 14px !important;
      box-sizing: border-box;
      font-size: 16px !important;
    }

    .modal-content div[style="display: flex; gap: 50px"] {
      flex-direction: column !important;
      gap: 8px !important;
    }

    .modal-content div[style="display: flex; align-items: center"] {
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 10px !important;
    }

    .modal-content div[style*="margin-left: auto"] {
      margin-left: 0 !important;
      flex-direction: column !important;
      width: 100%;
      gap: 8px !important;
    }

    .formbuttons {
      width: 100% !important;
      margin-right: 0 !important;
      margin-bottom: 8px;
      font-size: 16px !important;
    }
  }
}