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

.ck-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(5px);
}

.ck-dialog {
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 4px solid #000;
  border-radius: 0;
  background: #fff;
  color: #111827;
  box-shadow: 10px 10px 0 #ffcc00;
  padding: 24px;
}

.ck-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ck-title {
  margin: 0;
  font-family: Unbounded, Inter, Arial, sans-serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.ck-subtitle {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.5;
}

.ck-close {
  flex: none;
  width: 38px;
  height: 38px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-size: 26px;
  line-height: 32px;
}

.ck-form {
  display: grid;
  gap: 12px;
}

.ck-label {
  display: grid;
  gap: 6px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.ck-input,
.ck-select {
  width: 100%;
  border: 2px solid #000;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
}

.ck-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 2px;
}

.ck-consent input {
  flex: none;
  margin-top: 2px;
}

.ck-submit {
  border: 3px solid #000;
  background: #ffcc00;
  color: #000;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  padding: 15px 18px;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 #000;
}

.ck-submit[disabled] {
  opacity: .68;
  cursor: wait;
}

.ck-error {
  display: none;
  border: 2px solid #991b1b;
  background: #fef2f2;
  color: #991b1b;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 12px;
}

.ck-error.is-visible {
  display: block;
}

.ck-field-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 560px) {
  .ck-dialog {
    padding: 20px;
    box-shadow: 6px 6px 0 #ffcc00;
  }

  .ck-title {
    font-size: 23px;
  }
}
