/* Vandrix Forms — front-end styles
   Matches the Vandrix Capital dark navy/gold design system exactly.
   These styles only apply inside .vxf-form-wrap elements.            */

.vxf-form-wrap {
  width: 100%;
}

/* ── Form fields ───────────────────────────────────────────────────── */
.vxf-form .vxf-field {
  margin-bottom: 1.1rem;
}

.vxf-form .vxf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

.vxf-form .vxf-row .vxf-field {
  margin-bottom: 1.1rem;
}

.vxf-form label {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--steel, #7A92AD);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.38rem;
}

.vxf-req {
  color: var(--gold, #C9A84C);
}

.vxf-form input[type="text"],
.vxf-form input[type="email"],
.vxf-form select,
.vxf-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 189, 214, 0.18);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  color: var(--white, #FFFFFF);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.vxf-form input[type="text"]::placeholder,
.vxf-form input[type="email"]::placeholder,
.vxf-form textarea::placeholder {
  color: var(--steel, #7A92AD);
}

.vxf-form input[type="text"]:focus,
.vxf-form input[type="email"]:focus,
.vxf-form select:focus,
.vxf-form textarea:focus {
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.vxf-form select {
  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 d='M1 1l5 5 5-5' stroke='%237A92AD' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.vxf-form select option {
  background: var(--navy-card, #112236);
  color: var(--white, #FFFFFF);
}

.vxf-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* ── Honeypot — visually hidden ───────────────────────────────────── */
.vxf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  tab-size: 0 !important;
}

/* ── Error message ─────────────────────────────────────────────────── */
.vxf-error {
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 4px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #f87171;
  line-height: 1.5;
}

/* ── Submit button ─────────────────────────────────────────────────── */
.vxf-btn {
  width: 100%;
  background: var(--gold, #C9A84C);
  color: var(--navy-dark, #07111F);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.88rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, opacity 0.2s;
  letter-spacing: 0.02em;
}

.vxf-btn:hover {
  background: #D4B56A;
}

.vxf-btn:active {
  opacity: 0.9;
  transform: scale(0.995);
}

.vxf-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.vxf-btn.loading {
  opacity: 0.75;
  cursor: wait;
}

/* ── Fine print ────────────────────────────────────────────────────── */
.vxf-notice {
  font-size: 0.72rem;
  color: var(--steel, #7A92AD);
  line-height: 1.6;
  margin-top: 1rem;
  text-align: center;
}

/* ── Success state ─────────────────────────────────────────────────── */
.vxf-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.vxf-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 2px solid rgba(201, 168, 76, 0.35);
  color: var(--gold, #C9A84C);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.vxf-success h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white, #FFFFFF);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.vxf-success p {
  font-size: 0.88rem;
  color: var(--steel, #7A92AD);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .vxf-form .vxf-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
