
/*
 Theme Name:   Wheadons Removals Child
 Template:     Divi
 Description:  Divi child theme for Wheadon's Removals – modern CF7 with conditional fields & distance calculation.
 Author:       ChatGPT
 Version:      1.0.0
*/

/* === FOOTER CALLBACK FORM === */
.wpcf7-spinner{
	display:none;
}
.footer-callback-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 10px;
}

.footer-callback-form {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.footer-callback-form input[type="tel"] {
  width: 100%;
  border: none;
  outline: none;
  background: #fff;
  border-radius: 50px;
  font-size: 15px;
  color: #222;
  padding: 14px 150px 14px 48px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.footer-callback-form input[type="tel"]:focus {
  box-shadow: 0 0 0 3px rgba(230,0,0,0.1);
}

.footer-callback-form .footer-phone-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "ETmodules" !important;
  font-size: 18px;
  color: #e60000;
  pointer-events: none;
  z-index: 999;
}

.footer-callback-form .footer-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: #e60000;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 50px;
  padding: 12px 22px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  line-height: 1;
}

.footer-callback-form .footer-btn:hover {
  background: #c40000;
  box-shadow: 0 5px 14px rgba(0,0,0,0.15);
}

/* Placeholder style */
.footer-callback-form input::placeholder {
  color: #999;
  opacity: 1;
  font-weight: 400;
}
/* Callback form styling */
.wheadons-callback-form {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  max-width: 420px;
  margin: 0 auto;
  color: #111;
  text-align: center;
}

.wheadons-callback-form .form-heading h3 {
  color: var(--w-red);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.wheadons-callback-form .form-heading p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.wheadons-callback-form .field {
  position: relative;
  margin-bottom: 18px;
}

.wheadons-callback-form .icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--w-red);
}

.wheadons-callback-form .et-pb-icon {
  font-size: 18px;
  line-height: 1;
}

/* Inputs & selects */
.wheadons-callback-form input[type="tel"],
.wheadons-callback-form select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 14px 12px 48px;
  font-size: 16px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.wheadons-callback-form input[type="tel"]:focus,
.wheadons-callback-form select:focus {
  border-color: var(--w-red);
  box-shadow: 0 0 0 3px rgba(201,37,53,.12);
  outline: none;
}

.wheadons-callback-form .wbtn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--w-red);
  color: #fff;
  border-radius: 50px;
  padding: 12px 28px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
}

.wheadons-callback-form .wbtn:hover {
  background: #aa1f2c;
}
