/**
 * CleanWorld Restoration — SMS Floating Button
 * Floating bottom-left CTA for SMS contact
 * FCC/TCPA/10DLC compliant — consent text shown beneath button
 */

/* SMS Widget — fixed bottom-left container wrapping button + consent */
.cw-sms-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999997;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* SMS Button — inside the fixed widget container */
.cw-sms-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.cw-sms-btn-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy, #0B1D33);
  border: 2px solid var(--gold, #C9A227);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  flex-shrink: 0;
}

.cw-sms-btn-circle:hover {
  background: #133B5C;
  transform: scale(1.07);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.cw-sms-btn-circle svg {
  width: 26px;
  height: 26px;
  fill: var(--gold, #C9A227);
}

.cw-sms-btn-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--navy, #0B1D33);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 12px;
  padding: 2px 7px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Consent / compliance text — positioned beneath the Text Me label inside the fixed widget */
.cw-sms-consent {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 7.5px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(11, 29, 51, 0.85);
  border-radius: 4px;
  padding: 3px 5px;
  text-align: center;
  max-width: 112px;
  margin-top: 4px;
}

.cw-sms-consent a {
  color: var(--gold, #C9A227);
  text-decoration: underline;
}

/* Mobile: push up a bit more to avoid sticky nav bar overlap */
@media (max-width: 480px) {
  .cw-sms-widget {
    bottom: 80px;
    left: 16px;
  }
  .cw-sms-btn-circle {
    width: 50px;
    height: 50px;
  }
  .cw-sms-btn-circle svg {
    width: 22px;
    height: 22px;
  }
}