.akt-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.akt-modal[aria-hidden="false"] {
  display: block;
}

.akt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.akt-modal__dialog {
  position: relative;
  max-width: 560px;
  margin: 10vh auto 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  padding: 16px;
}

@media (max-width: 640px) {
  .akt-modal__dialog {
    margin: auto 14px;
  }
}

.akt-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.akt-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.akt-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.akt-modal__body {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.akt-modal .akt-sede-selector__row {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .akt-modal .akt-sede-selector__row {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.akt-modal .akt-sede-selector__field {
  display: grid;
  gap: 6px;
}

.akt-modal .akt-sede-selector__label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
}

.akt-modal select {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0 12px;
  background: #ffffff;
}

.akt-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
}

.akt-modal__primary {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 0;
  background: #25d366;
  color: #0b1220;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}

.akt-modal__primary[disabled] {
  opacity: 0.5;
  cursor: default;
}

.akt-modal__secondary {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #ffffff;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

.akt-modal__hint {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.7);
  min-height: 18px;
}
