/* ── CFL Contact Form Styles – Clean Light Theme ─────── */
  
:root {
  --cfl-bg:           #ffffff;
  --cfl-card:         #ffffff;
  --cfl-input-bg:     #ffffff;
  --cfl-input-border: #c8dff7;
  --cfl-input-focus:  #2ba8b0;
  --cfl-placeholder:  #a0aec0;
  --cfl-text:         #1a202c;
  --cfl-accent:       #2ba8b0;
  --cfl-accent-h:     #239099;
  --cfl-error:        #e53e3e;
  --cfl-success:      #38a169;
  --cfl-radius:       10px;
  --cfl-font:         'Inter', -apple-system, sans-serif;
}

.cfl-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  border-radius:20px;
}

/* No card wrapper — form sits directly */
.cfl-card {
  background: #fff;
  padding: 0;
  border: none;
  box-shadow: none;
  padding: 60px 45px 60px 45px;
  border-radius:20px;
}

/* Hide header — no title needed */
.cfl-header { display: none; }

/* ── Form layout ──────────────────────────────────── */
.cfl-form {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.cfl-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

/* Labels hidden — placeholder serves as label */
.cfl-label { display: none; }

/* ── Inputs ───────────────────────────────────────── */
.cfl-input {
  width: 100%;
  background: var(--cfl-input-bg);
  padding: .85rem 1rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  box-sizing: border-box;
  border-radius: 8px!important;
  border: 1px solid #ced7e4 !important;
}

.cfl-input:focus {
  border-color: var(--cfl-input-focus);
  box-shadow: 0 0 0 3px rgba(43,168,176,.12);
}

.cfl-input::placeholder {
  font-weight: 400;
  font-family: 'Poppins';
}

.cfl-input.cfl-field-error {
  border-color: var(--cfl-error);
  box-shadow: 0 0 0 3px rgba(229,62,62,.1);
}

.select2-container .select2-selection--single {
    border-radius: 8px!important;
    font-family: 'Poppins';
}

/* ── Select / Dropdown ────────────────────────────── */
.cfl-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.4rem;
  cursor: pointer;
  color: var(--cfl-placeholder);
}

.cfl-select.has-value {
  color: var(--cfl-text);
}

.cfl-select:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.cfl-select option { color: var(--cfl-text); }
.cfl-select option:first-child { color: var(--cfl-placeholder); }

/* ── Phone ────────────────────────────────────────── */
.cfl-phone-wrap {
  display: flex;
  align-items: stretch;
}

.cfl-phone-prefix {
  background: #eaf6f7;
  color: var(--cfl-accent);
  font-size: 14px;
  padding: .85rem .9rem;
  border: 1.5px solid var(--cfl-input-border);
  border-right: none;
  border-radius: var(--cfl-radius) 0 0 var(--cfl-radius);
  white-space: nowrap;
  display: flex;
  align-items: center;
  line-height: 1;
  font-family: 'Poppins';
}

.cfl-phone-input {
  border-radius: 0 var(--cfl-radius) var(--cfl-radius) 0 !important;
}

/* ── State + City row (side by side) ──────────────── */
.cfl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

/* ── Message textarea ────────────────────────────── */
textarea.cfl-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* ── Captcha ──────────────────────────────────────── */
.cfl-captcha-row {
  display: flex;
  gap: .75rem;
  align-items: stretch;
}

.cfl-captcha-box {
  background: #f0fafb;
  border: 1.5px solid var(--cfl-input-border);
  border-radius: var(--cfl-radius);
  padding: .85rem 1.25rem;
  min-width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cfl-captcha-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--cfl-accent);
  letter-spacing: .08em;
  user-select: none;
  font-variant-numeric: tabular-nums;
  font-family: 'Poppins';
}

.cfl-captcha-input { flex: 1; }

/* ── Error text ───────────────────────────────────── */
.cfl-error {
  font-size: 14px;
  color: var(--cfl-error);
  min-height: .85rem;
  display: block;
  padding-left: .25rem;
}

/* ── Alert banner ─────────────────────────────────── */
.cfl-alert {
  border-radius: var(--cfl-radius);
  padding: .8rem 1rem;
  font-size: .875rem;
  font-weight: 500;
}

.cfl-alert-error {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
}

/* ── Submit button ────────────────────────────────── */
.cfl-submit-btn {
 font-family: 'Poppins';
    width: 100%;
    /* display: inline-block; */
    background: var(--cfl-accent);
    border: none;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 15px 0px;
    transition: background .2s, transform .15s, box-shadow .2s;
    /* display: inline-flex; */
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
    margin-top: .25rem;
}

.cfl-submit-btn:hover:not(:disabled) {
  background: var(--cfl-accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43,168,176,.35);
}

.cfl-submit-btn:active:not(:disabled) { transform: translateY(0); }

.cfl-submit-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.cfl-btn-loader svg {
  animation: cfl-spin .7s linear infinite;
}

@keyframes cfl-spin { to { transform: rotate(360deg); } }

/* ── Success message ──────────────────────────────── */
.cfl-success-message {
  text-align: center;
  padding: 3rem 1rem;
  animation: cfl-fadeIn .4s ease;
}

.cfl-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0fff4;
  border: 2px solid var(--cfl-success);
  color: var(--cfl-success);
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cfl-success-message p {
  color: #2d3748;
  font-size: 1rem;
  font-weight: 500;
}

@keyframes cfl-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 480px) {
  .cfl-row { grid-template-columns: 1fr; }
  .cfl-submit-btn { width: 100%; justify-content: center; }
}
