
// .attachmentmodal {
//     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);
// }

// .attachmentmodal-content {
//     justify-content: center;
//     background-color: #fefefe;
//     margin: auto;
//     padding: 20px 20px 20px 20px;
//     border: 1px solid #888;
//     width: 1200px;
//     height: 500px;
//     border-radius: 10px;
//     overflow: auto;
//     /* enable scroll */
// }
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);

  &.show {
    display: flex;
  }
}

.modal-content {
  width: 700px;
  max-width: 90vw;
  border-radius: 12px;
  background-color: var(--bg-surface);
  padding: 20px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
  position: relative;
  max-height: 80vh;
  overflow: auto;
}

.title {
  font-family: 'Helvetica';
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}

.closeicon {
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  color: var(--text-secondary);

  mat-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
  }
}

.validation-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Helvetica';
  font-size: 14px;
  margin-top: 16px;

  thead th {
    position: sticky;
    top: 0;
    background: var(--bg-subtle);
    color: var(--text-primary);
    text-align: left;
    padding: 8px 12px;
    font-weight: 500;
  }

  tbody td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
  }
}
.transfer-btn {
  background: #834DD0;
  color: white;

  /* 🔑 responsive width */
  width: auto;
  min-width: 120px;

  height: 40px;
  border: none;
  padding: 12px 35px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ValidationLightBox {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
}

.ValidationLightBoxContent {
  width: 700px;
  max-width: 90vw;
  border-radius: 12px;
  background-color: var(--bg-surface);
  padding: 20px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

.ValidationHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ValidationTitle {
  font-family: 'Helvetica';
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}

.HeaderIcons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-icon {
  color: var(--action-primary-default);
  cursor: pointer;
}

.close-icon {
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  padding: 2px;
}

.ValidationTableWrap {
  max-height: 400px;
  overflow: auto;
}

.ValidationTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Helvetica';
  font-size: 14px;
}

.ValidationTable thead th {
  position: sticky;
  top: 0;
  background: var(--bg-subtle);
  color: var(--text-primary);
  text-align: left;
  padding: 8px 12px;
  font-weight: 500;
}

.ValidationTable tbody td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.code-cell {
  color: var(--action-primary-default);
  font-weight: 500;
}

.left-align {
  text-align: left;
}

// .attachmentcloseicon {
//     cursor: pointer;
//     display: flex;
//     align-items: center;
//     justify-content: center;
//     color: #666;
//     transition: color 0.2s ease;
//     margin-left: 1130px;
    
//     mat-icon {
//         font-size: 24px;
//         width: 24px;
//         height: 24px;
//     }
// }