.addon-label {
  width: 40%; /* Adjust as needed */
  text-align: right;
  padding-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.addon-input {
  width: 60%; /* Adjust as needed */
  display: flex;
  align-items: center;

  input,
  Table,
  gb-newpicklist {
    width: 100%;
    max-width: 250px; /* Or any other max-width */
    box-sizing: border-box;
  }

  input {
    height: 24px;
    border: none;
    outline-style: none;
    border-bottom: 1px solid #ccc;
  }
}

.DatePicker {
  display: inline-flex;
  align-items: center;
  height: 36px;
  width: 120px;
}

.dateperiod {
  display: inline-flex;
  align-items: center;
}
.dateinput {
  outline: none;
  border: none;
  // background-color: inherit;
  padding: 0 8px;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
}

// /* Match your pill width */
// :host ::ng-deep .Mat_Form_Field .mdc-text-field {
//   width: 140px !important;
//   height: 45px;
//   min-width: 126px !important;
//   max-width: 140px !important;
// }

// /* Fix icon positioning and sizing */
// ::ng-deep .date_Form_Field .mat-mdc-icon-button {
//   width: 32px !important;
//   height: 32px !important;
//   padding: 0 !important;
// }

// ::ng-deep .date_Form_Field .mat-mdc-form-field-icon-suffix {
//   display: flex !important;
//   align-items: center;
// }

// /* Prevent icon overlap */
// ::ng-deep .date_Form_Field .mat-mdc-text-field {
//   padding-right: 40px !important;
// }

// /* CRITICAL: Fix calendar positioning issues */
// ::ng-deep .date_Form_Field {
//   position: relative !important;
// }

// /* Force overlay to recalculate position */
// ::ng-deep .cdk-overlay-connected-position-bounding-box {
//   position: fixed !important;
// }

// /* Ensure proper overlay stacking */
// ::ng-deep .cdk-overlay-container {
//   position: fixed !important;
//   z-index: 1000 !important;
//   pointer-events: none;
// }

// ::ng-deep .cdk-overlay-backdrop {
//   pointer-events: auto;
// }

// ::ng-deep .cdk-overlay-pane {
//   pointer-events: auto;
// }
