.modal-backdrop {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(2px);
  background: #fffc;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  inset: 0;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transition: opacity .4s cubic-bezier(.25,.8,.25,1);
}

.hidden {
  display: none !important;
}

.modal-select {
    max-width: 90vw;
    padding: 25.6px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 19.2px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    background: #fff;
    box-shadow: 0 16px 32px -4px #0c0c0d1a, 0 4px 4px -4px #0c0c0d0d;
}

.modal-select_title {
  color: #1e1e1e;
  font-weight: 600;
  font-size: 19.2px;
  line-height: 23.04px;
  margin-bottom: 16px;
}

.modal-select_label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 12.8px;
  color: #1e1e1e;
  line-height: 17.92px;
}

.modal-select_close-icon_btn {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  cursor: pointer;
}

.modal-select_action {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.dropdown-item-text, .selected-language {
  font-size: 12.8px;
  font-weight: 400;
  line-height: 12.8px;
  color: #1e1e1e;
}

.btn-neutral, .btn-primary {
  padding: 9.6px;
  border-radius: 8px;
  font-weight: 400;
  font-size: 12.8px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-neutral {
  color: #1e1e1e;
  border: 1px solid #767676;
  background: #e3e3e3;
}

.btn-primary {
  color: #f5f5f5;
  border: 1px solid #2c2c2c;
  background: #2c2c2c;
}

/* .btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
} */

/* Select dropdown styling */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12.8px;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.custom-select-trigger svg {
  fill: #333;
}

.hidden {
  display: none;
}

.mat-mdc-menu-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.mat-mdc-menu-item:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.custom-options {
  position: absolute;
  opacity: 0;
  transform: translateY(-10px); /* slide from slightly above */
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 1000;
  background: white;
  padding: 8px 0;
  min-width: 100%;
  max-height: 275px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  padding: 9.6px 0;
  font-size: 1.6rem !important;
}

.custom-options.visible {
  opacity: 1;
  transform: translateY(0);
}

.custom-options.hidden {
  display: none;
}

.mat-mdc-menu-item.selected-language {
  background-color: #e6e6e6;
}
