
/* ────────────────────────────────
   Layout Grid
──────────────────────────────── */
.miami-sale-proceeds-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1425px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: 'Poppins', sans-serif;
}

.miami-sale-proceeds-left,
.miami-sale-proceeds-right {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .miami-sale-proceeds-left { flex: 0 0 55%; }
  .miami-sale-proceeds-right { flex: 0 0 40%; }
}

/* ────────────────────────────────
   Left Column: Input Fields
──────────────────────────────── */
.equity-title,
.costs-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
}

.miami-proceeds-block {
  padding: 0;
  margin: 0 0 2rem 0;
}

.miami-proceeds-block label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

.miami-proceeds-block input[type="text"] {
  background: #fafafa;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  width: 100%;
  transition: all 0.2s ease-in-out;
}

.miami-proceeds-block input[type="text"]:hover {
  border-color: #bbb;
}

.miami-proceeds-block input[type="text"]:focus {
  border-color: #C1272D;
  box-shadow: 0 0 0 2px rgba(193, 39, 45, 0.1);
  outline: none;
}

.miami-dual-input {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.miami-dual-input input {
  width: 50%;
}

/* Inline symbols */
input[id="sale-price"],
input[id$="-amount"] {
  padding-left: 1.4rem;
  position: relative;
}
input[id="sale-price"]::before,
input[id$="-amount"]::before {
  content: "$";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 0.9rem;
  pointer-events: none;
}

input[id$="-percent"] {
  padding-right: 2rem;
  position: relative;
}
input[id$="-percent"]::after {
  content: "%";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 0.9rem;
  pointer-events: none;
}

/* ────────────────────────────────
   Right Column: Summary
──────────────────────────────── */
.miami-sale-proceeds-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.proceeds-summary {
  background: #f9f9f9;
  color: #111;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.proceeds-summary h4 {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #666;
}

.big-proceeds {
  font-size: 2.75rem;
  font-weight: 700;
  color: #2ECC71;
  margin: 1rem 0;
}

.summary-breakdown {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  color: #444;
}

#sale-proceeds-chart {
  max-width: 320px;
  margin: 2rem auto 1rem auto;
}

/* ────────────────────────────────
   CF7 Form Styling
──────────────────────────────── */
.cf7-wrapper {
  margin-top: 2rem;
  max-width: 420px;
  width: 100%;
}

.cf7-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.cf7-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #222;
}

.cf7-header p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.cf7-wrapper form {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cf7-wrapper input[type="text"],
.cf7-wrapper input[type="email"],
.cf7-wrapper textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.cf7-wrapper input[type="submit"] {
  background-color: #C1272D;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cf7-wrapper input[type="submit"]:hover {
  background-color: #a01f24;
  box-shadow: 0 4px 10px rgba(193, 39, 45, 0.2);
}
