/*
Theme Name: BBC
Theme URI: https://simplifyjobsearch.com
Author: BB
Description: Custom theme for Simplify Job Search marketing site.
Version: 0.1.0
Text Domain: sjs
*/







/* ================================
   Contact Form 7 — Calm Pastel UI
   Theme color: #ddbfc4
================================== */

/* Wrap */
.wpcf7 {
  max-width: 720px;
  margin: 0 auto;
}

/* Labels */
.wpcf7 form label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: #1c1c1c;
  margin-bottom: 0px;
}

/* Inputs / Textarea */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form select,
.wpcf7 form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(221, 191, 196, 0.55);
  background: rgba(255, 255, 255, 0.78);
  color: #2a2a2a;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 10px 30px rgba(42, 42, 42, 0.06);
}

/* Textarea sizing */
.wpcf7 form textarea {
  max-height: 100px;
  resize: vertical;
}

/* Focus state */
.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form input[type="tel"]:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus {
  border-color: rgba(221, 191, 196, 0.95);
  box-shadow: 0 0 0 4px rgba(221, 191, 196, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

/* Placeholder */
.wpcf7 form ::placeholder {
  color: rgba(74, 50, 54, 0.45);
}

/* Submit Button */
.wpcf7 form input[type="submit"] {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 50px;
  overflow: hidden;
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  box-shadow: 0 18px 35px rgba(190, 24, 93, .24);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  margin-top: 20px;
}

/* Button hover */
.wpcf7 form input[type="submit"]:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(221, 191, 196, 0.55);
}

/* Button active */
.wpcf7 form input[type="submit"]:active {
  transform: translateY(0px);
}

/* CF7 Response messages */
.wpcf7-response-output {
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid rgba(221, 191, 196, 0.45);
  background: rgba(255, 255, 255, 0.65);
}

/* Success */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(60, 180, 120, 0.35);
  background: rgba(217, 242, 227, 0.55);
}

/* Error */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: rgba(220, 60, 60, 0.35);
  background: rgba(247, 217, 223, 0.55);
}

/* Field validation text */
.wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 6px;
  color: #b64855;
}

/* Make input border red when invalid */
.wpcf7 form .wpcf7-not-valid {
  border-color: rgba(182, 72, 85, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(182, 72, 85, 0.12);
}

/* Space between fields (CF7 wraps in spans) */
.wpcf7 form .wpcf7-form-control-wrap {
  display: block;
}

/* Mobile tweaks */
@media (max-width: 640px) {

  .wpcf7 form input[type="text"],
  .wpcf7 form input[type="email"],
  .wpcf7 form input[type="tel"],
  .wpcf7 form textarea {
    padding: 13px 12px;
    border-radius: 14px;
  }

  .wpcf7 form input[type="submit"] {
    width: 100%;
  }
}

/* Email + Phone in one row */
.cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 0px;
}

/* Make sure labels inside row don't add extra spacing */
.cf7-row label {
  margin-bottom: 0;
}

/* Mobile: stack them */
@media (max-width: 640px) {
  .cf7-row {
    grid-template-columns: 1fr;
  }
}