.pt3-modal {
  padding-left: 18px !important;
  padding-right: 18px !important;
  z-index: 2000 !important;
}

.pt3-modal .pt3-modal-dialog {
  width: min(860px, calc(100vw - 36px));
  margin: 0 auto;
  min-height: calc(100vh - 48px);
  display: flex;
  align-items: center;
}

.pt3-modal .pt3-modal-content {
  width: 100%;
  border: 0;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 251, 0.98)),
    #ffffff;
  box-shadow:
    0 30px 80px rgba(8, 55, 72, 0.18),
    0 10px 30px rgba(8, 55, 72, 0.08);
  overflow: hidden;
}

.pt3-modal .pt3-modal-body {
  position: relative;
  padding: 36px 36px 32px;
}

.pt3-modal .pt3-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(12, 55, 71, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark-blue, #083748);
  font-size: 2.8rem;
  line-height: 1;
  opacity: 1;
  text-shadow: none;
  box-shadow: 0 8px 20px rgba(8, 55, 72, 0.08);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  z-index: 2;
}

.pt3-modal .pt3-modal-close:hover,
.pt3-modal .pt3-modal-close:focus {
  background: var(--dark-blue, #083748);
  color: #fff;
  border-color: var(--dark-blue, #083748);
  opacity: 1;
  transform: translateY(-1px);
}

.pt3-modal .pt3-modal-close:focus-visible {
  outline: 2px solid rgba(28, 106, 163, 0.35);
  outline-offset: 2px;
}

.pt3-modal .pt3-modal-title {
  position: relative;
  margin: 0 56px 22px 0;
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--dark-blue, #083748);
}

.modal-backdrop.pt3-modal-backdrop,
.modal-backdrop {
  z-index: 1990 !important;
}

.pt3-modal-backdrop.in {
  opacity: 1;
  background:
    radial-gradient(circle at top, rgba(228, 236, 239, 0.26), rgba(7, 18, 24, 0) 38%),
    rgba(7, 18, 24, 0.52);
  backdrop-filter: blur(6px);
}

.pt3-request-modal .pt3-modal-dialog {
  width: min(980px, calc(100vw - 36px));
}

.pt3-request-modal-head {
  max-width: 620px;
  margin: 0 auto 28px;
  text-align: center;
}

.pt3-request-modal-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #edf4f6;
  padding: 14px;
  object-fit: contain;
}

.pt3-request-modal .pt3-modal-title {
  margin-right: 0;
  margin-bottom: 10px;
  text-align: center;
}

.pt3-request-modal-intro {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.55;
  color: #56717d;
}

.pt3-request-form .row {
  margin-left: -10px;
  margin-right: -10px;
}

.pt3-request-form [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.pt3-request-form .form-group {
  margin-bottom: 18px;
}

.pt3-request-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d828c;
}

.pt3-request-form .form-control {
  height: 52px;
  border: 1px solid #d6e0e5;
  border-radius: 16px;
  background: #f9fbfc;
  box-shadow: none;
  padding: 14px 16px;
  font-size: 1.45rem;
  color: var(--dark-blue, #083748);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pt3-request-form textarea.form-control {
  min-height: 132px;
  height: auto;
  resize: vertical;
}

.pt3-request-form .form-control:focus {
  border-color: #9cb9c6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(28, 106, 163, 0.08);
}

.pt3-request-form .help-block {
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 1.15rem;
}

.pt3-request-form .form-group.has-error .form-control {
  border-color: #c75f5f;
}

.pt3-request-form .pt3-file-input {
  height: auto;
  padding: 10px 12px;
  line-height: 1.5;
  cursor: pointer;
}

.pt3-request-form .pt3-file-input::file-selector-button,
.pt3-request-form .pt3-file-input::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--dark-blue, #083748);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.pt3-form-note {
  margin: 8px 0 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #677983;
}

.pt3-request-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  margin-top: 8px;
  padding: 14px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--dark-blue, #083748);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}

.pt3-request-submit:hover,
.pt3-request-submit:focus {
  background: #11485c;
  color: #fff;
}

.pt3-request-submit .glyphicon {
  font-size: 1.3rem;
}

.pt3-request-modal .loading-icon {
  margin: 24px auto;
}

.pt3-request-modal .response,
.pt3-request-modal .response-error {
  max-width: 620px;
  margin: 20px auto 0;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 1.35rem;
  line-height: 1.5;
  text-align: center;
}

.pt3-request-modal .response {
  background: #edf7f1;
  color: #1f5b39;
}

.pt3-request-modal .response-error {
  background: #fdf1f1;
  color: #8a3d3d;
}

@media (max-width: 760px) {
  .pt3-modal .pt3-modal-dialog {
    width: calc(100vw - 24px);
    min-height: calc(100vh - 24px);
  }

  .pt3-modal .pt3-modal-body {
    padding: 28px 22px 24px;
  }

  .pt3-modal .pt3-modal-title {
    margin-right: 48px;
    font-size: 2.1rem;
  }

  .pt3-request-modal .pt3-modal-title {
    margin-right: 0;
  }

  .pt3-request-form .row {
    margin-left: -6px;
    margin-right: -6px;
  }

  .pt3-request-form [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }

  .pt3-modal .pt3-modal-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 2.4rem;
  }
}
