
.biz-modal-action-btn {
  background: #fd1d2b;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.biz-modal-action-btn:hover {
  background: #fd1d2b;
  color: white;
}

.biz-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.biz-modal-overlay-active {
  opacity: 1;
  visibility: visible;
}

.biz-modal-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.biz-modal-overlay-active .biz-modal-container {
  transform: translateY(0);
  opacity: 1;
}

.biz-modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.biz-modal-title {
  font-size: 18px;
  color: #333;
  font-weight: 500;
  margin: 0;
}

.biz-modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #777;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s;
}

.biz-modal-close-btn:hover {
  background: #f5f5f5;
}

.biz-modal-body {
  padding: 25px 20px;
  line-height: 1.5;
  color: #444;
}

.biz-modal-footer {
  padding: 15px 20px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #eee;
}

.contact-form-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.contact-form-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-form-modal__dialog {
  width: min(600px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border: 1px solid #d8d8d8;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.contact-form-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 15px;
  border-bottom: 1px solid #ddd;
}

.contact-form-modal__header h3 {
  margin: 0;
  color: #4b4b4b;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form-modal__close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c9c9c9;
  font-size: 34px;
  line-height: 28px;
  font-weight: 300;
  cursor: pointer;
}

.contact-form-modal__body {
  padding: 24px 15px 20px;
}

.contact-form-modal__body p {
  margin: 0 0 14px;
  color: #4e4e4e;
  font-size: 14px;
  line-height: 20px;
}

.contact-form-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 4px;
  margin-bottom: 24px;
}

.contact-form-modal input,
.contact-form-modal textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  background: #fff;
  color: #4e4e4e;
  font-size: 14px;
  line-height: 20px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-modal input {
  height: 40px;
  padding: 9px 13px;
}

.contact-form-modal textarea {
  display: block;
  min-height: 135px;
  margin-top: 24px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form-modal input::placeholder,
.contact-form-modal textarea::placeholder {
  color: #777;
  opacity: 1;
}

.contact-form-modal input:focus,
.contact-form-modal textarea:focus {
  border-color: #fd1d2b;
  box-shadow: 0 0 0 2px rgba(253, 29, 43, 0.12);
}

.contact-form-modal input.is-invalid,
.contact-form-modal textarea.is-invalid {
  border-color: #fd1d2b;
}

.contact-form-modal__message {
  min-height: 20px;
  margin: 10px 0 0 !important;
  font-size: 13px !important;
  line-height: 18px !important;
}

.contact-form-modal__message.is-error {
  color: #fd1d2b;
}

.contact-form-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}

.contact-form-modal__cancel,
.contact-form-modal__submit {
  min-width: 60px;
  height: 34px;
  padding: 6px 14px;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.contact-form-modal__cancel {
  background: #f0f0f0;
  color: #4e4e4e;
}

.contact-form-modal__submit {
  background: #fd1d2b;
  color: #fff;
  font-weight: 700;
}

.contact-form-modal__submit:disabled {
  cursor: wait;
  opacity: 0.75;
}

.contact-submit-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1200;
  min-width: 180px;
  padding: 22px 34px;
  background: #fd1d2b;
  color: #fff;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.contact-submit-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 575px) {
  .contact-form-modal {
    padding: 16px;
  }

  .contact-form-modal__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .contact-form-modal textarea {
    margin-top: 14px;
  }

  .contact-form-modal__footer {
    padding: 12px 15px;
  }
}

