@import url('./../../../../gbhost/public/gbstyle/gbcommonstyle.scss');

  .custom-btn {
    background-color: var(--action-primary-default);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
  }
    
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }
    .modal-content1 {
    justify-content: center;
    background-color: #fefefe;
    margin: auto;
    padding: 0px 20px 20px 20px;
    border: 1px solid #888;
    width: 800px;
    height: 442px;
    margin-top: 20px;
    border-radius: 10px;
  }

  
@media screen and (max-width: 1024px) {
  ::ng-deep .FormOverView {
    &.scrollbar {
      padding: 8px;
    }

    > div[style*="display: flex"] {
      flex-wrap: wrap !important;
      gap: 16px;
    }

    > div[style*="display: flex"] > div {
      margin-left: 0 !important;
      flex: 1 1 45%;
      min-width: 220px;
    }

    > div[style*="display: flex"] > div[style*="border: 1px solid #ccc"] {
      height: auto !important;
      flex: 1 1 100%;
    }
  }

  ::ng-deep .modal-content1 {
    width: 90% !important;
    max-width: 800px;
    height: auto !important;
    max-height: 85vh;
    overflow-y: auto;
  }

  ::ng-deep .modal {
    padding-top: 60px;
  }
}

@media screen and (max-width: 768px) {
  ::ng-deep .FormOverView {
    > div[style*="display: flex"] {
      flex-direction: column !important;
      gap: 12px;
    }

    > div[style*="display: flex"] > div {
      margin-left: 0 !important;
      width: 100% !important;
      flex: 1 1 100%;
      min-width: 0;
    }

    > div[style*="display: flex"] > div[style*="border: 1px solid #ccc"] {
      height: auto !important;
      padding: 10px !important;
    }

    > div[style*="display: flex"] > div:last-child {
      display: flex;
      justify-content: center;
    }
  }

  ::ng-deep .custom-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }

  ::ng-deep .TabContainer {
    ::ng-deep .FormsTabGroup {
      .mat-tab-label,
      .mat-mdc-tab {
        min-width: 90px;
        padding: 0 12px;
        font-size: 12px;
      }
    }
  }

  ::ng-deep .modal {
    padding-top: 20px;
  }

  ::ng-deep .modal-content1 {
    width: 95% !important;
    height: auto !important;
    max-height: 90vh;
    margin-top: 10px;
    padding: 0 12px 12px 12px !important;
    overflow-y: auto;
  }

  ::ng-deep .closeicon {
    display: flex;
    justify-content: flex-end;
    padding: 8px 0;
  }
}

@media screen and (max-width: 480px) {
  ::ng-deep .FormOverView {
    > div[style*="display: flex"] > div {
      min-width: 0;
    }
  }

  ::ng-deep .custom-btn {
    font-size: 13px;
    padding: 10px 12px;
  }

  ::ng-deep .modal-content1 {
    width: 100% !important;
    border-radius: 0;
    margin-top: 0;
  }

  ::ng-deep .modal {
    padding-top: 0;
  }

  ::ng-deep .TabContainer ::ng-deep .FormsTabGroup {
    .mat-tab-label,
    .mat-mdc-tab {
      min-width: 70px;
      font-size: 11px;
      padding: 0 6px;
    }
  }
}