/* Native intake forms (Investor / Contact / Owners & Developers) */
.gic-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.gic-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #344054;
}

.gic-help {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #78716c;
}

.gic-help p {
  margin: 0 0 0.5rem;
}

.gic-help ol {
  margin: 0;
  padding-left: 1.25rem;
}

.gic-help li + li {
  margin-top: 0.4rem;
}

.gic-input,
.gic-select,
.gic-textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #101828;
  font-size: 1rem;
  line-height: 1.45;
  padding: 0.65rem 0.85rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  border-radius: 0;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.gic-textarea {
  min-height: 9rem;
  resize: vertical;
}

.gic-file {
  width: 100%;
  border: 1px dashed #d0d5dd;
  background: #fafafa;
  color: #344054;
  font-size: 0.9375rem;
  line-height: 1.45;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.gic-file::file-selector-button {
  margin-right: 0.75rem;
  border: 0;
  background: #b8962e;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.gic-file:hover::file-selector-button {
  background: #a68428;
}

/* Optional attachments upload zones */
.gic-attachments {
  margin-bottom: 1.5rem;
}

.gic-attachments.is-invalid .gic-upload-zone__drop {
  border-color: #dc2626;
}

.gic-attachments__intro {
  margin: 0 0 0.85rem;
}

.gic-upload-zone {
  min-width: 0;
}

.gic-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gic-upload-zone__drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 9.5rem;
  padding: 1.1rem 1rem;
  text-align: center;
  border: 1.5px dashed #d0d5dd;
  background: linear-gradient(180deg, #fcfcfd 0%, #f9fafb 100%);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gic-upload-zone__drop.is-dragover {
  border-color: #0f7a6c;
  background: #f0fdf9;
  box-shadow: 0 0 0 3px rgba(15, 122, 108, 0.12);
}

.gic-upload-zone__drop.has-files {
  min-height: auto;
  padding: 0.85rem 1rem 0.65rem;
}

.gic-upload-zone__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.15rem;
  color: #b8962e;
  background: rgba(184, 150, 46, 0.1);
  border-radius: 50%;
}

.gic-upload-zone__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #101828;
}

.gic-upload-zone__hint,
.gic-upload-zone__drop-hint {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #667085;
}

.gic-upload-zone__btn {
  margin-top: 0.35rem;
  border: 1px solid #b8962e;
  background: #fff;
  color: #8a6f1f;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gic-upload-zone__btn:hover {
  background: #b8962e;
  border-color: #b8962e;
  color: #fff;
}

.gic-upload-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.gic-upload-list:not([hidden]) {
  display: flex;
}

.gic-upload-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.6rem;
  background: #fff;
  border: 1px solid #eaecf0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.gic-upload-item__thumb {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border: 1px solid #eaecf0;
  background: #f9fafb;
}

.gic-upload-item__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gic-upload-item__meta {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.gic-upload-item__name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #101828;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gic-upload-item__size {
  display: block;
  font-size: 0.6875rem;
  color: #667085;
  margin-top: 0.1rem;
}

.gic-upload-item__remove {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
  color: #98a2b3;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.gic-upload-item__remove:hover {
  color: #b42318;
}

.gic-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b8962e' d='M1.4 0.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.gic-input:focus,
.gic-select:focus,
.gic-textarea:focus {
  border-color: #0f7a6c;
  box-shadow: 0 0 0 3px rgba(184, 150, 46, 0.15);
}

.gic-input.is-invalid,
.gic-select.is-invalid,
.gic-textarea.is-invalid {
  border-color: #dc2626;
}

/* Custom branded select dropdown (replaces native option list) */
.gic-select-wrap {
  position: relative;
  width: 100%;
}

.gic-select-wrap .gic-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.gic-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid #d0d5dd;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f4 100%);
  color: #101828;
  font-size: 1rem;
  line-height: 1.45;
  padding: 0.65rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border-radius: 0;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  cursor: pointer;
  text-align: left;
}

.gic-select-trigger__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gic-select-trigger__label.is-placeholder {
  color: #667085;
}

.gic-select-trigger__chevron {
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid #0f7a6c;
  border-bottom: 2px solid #0f7a6c;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gic-select-wrap.is-open .gic-select-trigger {
  border-color: #0f7a6c;
  box-shadow: 0 0 0 3px rgba(184, 150, 46, 0.15);
  background: #fff;
}

.gic-select-wrap.is-open .gic-select-trigger__chevron {
  transform: rotate(225deg) translateY(-1px);
  border-color: #0b0d0c;
}

.gic-select-wrap.is-invalid .gic-select-trigger {
  border-color: #dc2626;
}

.gic-select-wrap.is-disabled .gic-select-trigger {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f8fafc;
}

.gic-select-trigger:hover:not(:disabled) {
  border-color: #0f7a6c;
}

.gic-select-trigger:focus-visible {
  border-color: #0f7a6c;
  box-shadow: 0 0 0 3px rgba(184, 150, 46, 0.15);
}

.gic-select-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 16rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 2px;
  box-shadow: 0 12px 28px rgba(13, 21, 111, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.gic-select-wrap.is-open .gic-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gic-select-empty {
  display: none;
  padding: 0.75rem 0.85rem;
  color: #78716c;
  font-size: 0.875rem;
  text-align: center;
}

.gic-select-empty.is-visible {
  display: block;
}

.gic-select-query {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0 0 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(13, 21, 111, 0.08) 0%, rgba(184, 150, 46, 0.14) 100%);
  color: #0b0d0c;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gic-select-query.is-visible {
  display: block;
}

.gic-select-option {
  display: block;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0b0d0c;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  font-family: inherit;
}

.gic-select-option:hover,
.gic-select-option.is-active {
  background: linear-gradient(135deg, rgba(184, 150, 46, 0.14) 0%, rgba(13, 21, 111, 0.06) 100%);
  color: #0b0d0c;
}

.gic-select-option.is-selected {
  background: linear-gradient(135deg, #0b0d0c 0%, #0b0d0c 100%);
  color: #fff;
  font-weight: 500;
}

.gic-select-option.is-selected:hover,
.gic-select-option.is-selected.is-active {
  background: linear-gradient(135deg, #0f7a6c 0%, #a07f24 100%);
  color: #fff;
}

.gic-select-option.is-placeholder {
  color: #98a2b3;
  font-style: italic;
  cursor: default;
}

.gic-select-option.is-placeholder:hover {
  background: transparent;
  color: #98a2b3;
}

.gic-select-option:disabled,
.gic-select-option[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.gic-error {
  color: #dc2626;
  font-size: 0.75rem;
}

.gic-form-grid {
  display: grid;
  gap: 0 1.25rem;
}

.gic-form-grid__full {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .gic-form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.gic-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gic-radio,
.gic-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #344054;
  cursor: pointer;
}

.gic-radio input,
.gic-checkbox input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.gic-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: #0b0d0c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: none;
}

.gic-submit:hover {
  background: #0b0d0c;
}

.gic-submit--inline {
  max-width: 16rem;
  margin-inline: auto;
  text-decoration: none;
}

.gic-alert {
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  border: 1px solid;
}

.gic-alert--inquiry {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  background: #faf8f4;
  border-color: color-mix(in srgb, #9a7b4f 35%, #e8e2d8);
  color: #3d3832;
}

.gic-alert--inquiry a {
  color: #7d6240;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.gic-alert--inquiry a:hover {
  color: #1c1916;
}

.gic-alert__body {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

.gic-alert__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: -0.2rem -0.25rem 0 0;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  color: #7a736a;
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none !important;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.gic-alert__close:hover {
  color: #1c1916;
  background: rgba(28, 25, 22, 0.06);
  border-color: rgba(28, 25, 22, 0.1);
}

.gic-alert--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.gic-alert--success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.gic-success-panel {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(184, 150, 46, 0.28);
  border-radius: 2px;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f4 100%);
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.06);
}

.gic-success-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b0d0c 0%, #0b0d0c 100%);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(13, 21, 111, 0.22);
}

.gic-success-panel h3 {
  font-family: var(--font-display), Georgia, serif;
  font-size: 2rem;
  color: #0b0d0c;
  margin: 0 0 0.75rem;
}

.gic-success-panel p {
  color: #78716c;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 auto 1.6rem;
  max-width: 28rem;
}

.gic-otp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.gic-otp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.gic-otp-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 36rem;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f4 100%);
  border: 1px solid rgba(184, 150, 46, 0.28);
  border-radius: 2px;
  padding: 2.75rem 2.5rem 2.25rem;
  box-shadow: 0 24px 48px rgba(28, 25, 23, 0.16), 0 2px 8px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.gic-otp-modal__dialog h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: 2rem;
  color: #0b0d0c;
}

.gic-otp-modal__copy {
  margin: 0 auto 1.15rem;
  max-width: 26rem;
  color: #78716c;
  font-size: 1rem;
  line-height: 1.6;
}

.gic-otp-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 21, 111, 0.06);
  font-size: 1.35rem;
  line-height: 1;
  color: #0b0d0c;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gic-otp-modal__close:hover {
  background: rgba(184, 150, 46, 0.18);
  color: #0b0d0c;
}

.gic-otp-digits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 28rem;
  margin: 0 auto 1.35rem;
}

.gic-otp-digit {
  width: 100%;
  aspect-ratio: 1;
  max-height: 4.25rem;
  border: 1px solid #d0d5dd;
  border-radius: 2px;
  background: #fff;
  color: #0b0d0c;
  font-size: 1.55rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
  caret-color: #0f7a6c;
}

.gic-otp-digit:focus {
  border-color: #0f7a6c;
  box-shadow: 0 0 0 3px rgba(184, 150, 46, 0.18);
  background: #fffefb;
}

.gic-otp-digit.is-filled {
  border-color: #0b0d0c;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
}

.gic-otp-digit.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.gic-otp-message {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  padding: 0.85rem 1rem;
  border-radius: 2px;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

.gic-otp-error {
  margin: 0 auto 1rem;
  max-width: 28rem;
  text-align: center;
}

.gic-otp-message[hidden] {
  display: none !important;
}

.gic-otp-message__title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.gic-otp-message__text {
  color: inherit;
  opacity: 0.9;
}

.gic-otp-message.is-success {
  background: linear-gradient(135deg, rgba(184, 150, 46, 0.12) 0%, rgba(13, 21, 111, 0.06) 100%);
  border: 1px solid rgba(184, 150, 46, 0.4);
  color: #0b0d0c;
}

.gic-otp-message.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.gic-otp-message.is-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
}

.gic-otp-error[hidden] {
  display: none !important;
}

.gic-otp-confirm {
  margin-top: 0.35rem;
  max-width: 22rem;
  margin-inline: auto;
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
}

.gic-otp-resend-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
}

.gic-otp-resend {
  border: 0;
  background: transparent;
  color: #0b0d0c;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
  font-family: inherit;
}

.gic-otp-resend:hover:not(:disabled) {
  color: #0f7a6c;
}

.gic-otp-resend:disabled {
  color: #98a2b3;
  text-decoration: none;
  cursor: not-allowed;
}

.gic-otp-resend-timer {
  color: #78716c;
  font-size: 0.78rem;
}

.gic-otp-resend-timer[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .gic-otp-modal__dialog {
    max-width: 100%;
    padding: 2rem 1.25rem 1.5rem;
  }

  .gic-otp-modal__dialog h3 {
    font-size: 1.65rem;
  }

  .gic-otp-digits {
    gap: 0.4rem;
    max-width: none;
  }

  .gic-otp-digit {
    font-size: 1.25rem;
    max-height: 3.5rem;
  }

  .gic-otp-confirm {
    max-width: none;
  }
}

.gic-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
