.company-data-modal-open {
  overflow: hidden;
}

.company-data-modal[hidden] {
  display: none !important;
}

.company-data-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 8, 15, 0.78);
  backdrop-filter: blur(12px);
}

.company-data-dialog {
  position: relative;
  width: min(100%, 620px);
  padding: 30px;
  border-radius: 10px;
  max-height: calc(100dvh - 44px);
  overflow-y: auto;
  border: 1px solid #dce5eb;
  background: #ffffff;
  color: #051b28;
  color-scheme: light;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.company-data-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #f5f7f9;
  color: #051b28;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.company-data-close:hover {
  background: #fff4ec;
  color: #a8470b;
}

.company-data-kicker {
  margin: 0 0 8px;
  color: #a8470b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.company-data-dialog h2 {
  margin: 0 0 10px;
  color: #051b28;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
}

.company-data-copy {
  margin: 0 0 22px;
  color: #526575;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 750;
}

.company-data-form {
  display: grid;
  gap: 16px;
}

.company-data-form label {
  display: grid;
  gap: 8px;
  color: #a8470b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.company-data-form input,
.company-data-form textarea {
  width: 100%;
  border: 1px solid #b9cbd6;
  border-radius: 8px;
  background: #ffffff;
  color: #051b28;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  outline: none;
}

.company-data-form input {
  min-height: 48px;
  padding: 0 14px;
}

.company-data-form textarea {
  min-height: 96px;
  resize: none;
  padding: 14px;
}

.company-data-form input:focus,
.company-data-form textarea:focus {
  border-color: rgba(255, 145, 77, 0.76);
  box-shadow: 0 0 0 3px rgba(255, 145, 77, 0.13);
}

.company-data-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.company-data-actions button,
.company-data-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
}

.company-data-save {
  background: #FF914D;
  color: #08111d;
  box-shadow: 0 14px 32px rgba(255, 145, 77, 0.2);
}

.company-data-save:disabled {
  cursor: progress;
  opacity: 0.66;
}

.company-data-cancel {
  background: #f5f7f9;
  color: #051b28;
}

.company-data-feedback {
  min-height: 18px;
  margin: 14px 0 0;
  color: #526575;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 850;
}

.company-data-feedback[data-state="error"] {
  color: #9f1239;
}

.company-data-dialog :is(button, a, input, textarea):focus-visible {
  outline: 3px solid #0097b2;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .company-data-dialog {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .company-data-modal {
    padding: 16px;
  }

  .company-data-dialog {
    max-height: calc(100dvh - 32px);
    padding: 20px;
  }

  .company-data-dialog h2 {
    padding-right: 28px;
    font-size: 24px;
  }

  .company-data-actions > :is(a, button) {
    flex: 1 1 auto;
  }
}

