/**
 * Luxury Homes Care - Core Plugin Stylesheet
 * Version: 1.0.0
 */

:root {
  --lhc-emerald: #0B6E4F;
  --lhc-dark-green: #064C36;
  --lhc-gold: #C8A75D;
  --lhc-gold-dark: #A68337;
  --lhc-charcoal: #222222;
  --lhc-cream: #F9FBF9;
  --lhc-border: #E2E8F0;
}

/* Calculator Widget */
.lhc-calculator-widget {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(11, 110, 79, 0.12);
  padding: 36px;
  max-width: 1140px;
  margin: 30px auto;
  font-family: 'Inter', sans-serif;
  color: var(--lhc-charcoal);
}

.lhc-calc-header {
  text-align: center;
  margin-bottom: 32px;
}

.lhc-calc-badge {
  display: inline-block;
  background: rgba(200, 167, 93, 0.15);
  color: var(--lhc-gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lhc-calc-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--lhc-dark-green);
  margin: 0 0 8px;
}

.lhc-calc-desc {
  font-size: 15px;
  color: #666;
  max-width: 650px;
  margin: 0 auto;
}

.lhc-calc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .lhc-calc-grid {
    grid-template-columns: 1fr;
  }
}

.lhc-calc-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lhc-calc-group {
  background: #fbfdfb;
  border: 1px solid #eef2ee;
  padding: 18px 20px;
  border-radius: 12px;
}

.lhc-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--lhc-dark-green);
  margin-bottom: 12px;
}

.lhc-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lhc-radio-chip,
.lhc-check-chip {
  cursor: pointer;
  display: inline-flex;
}

.lhc-radio-chip input,
.lhc-check-chip input {
  display: none;
}

.lhc-radio-chip span,
.lhc-check-chip span {
  display: inline-block;
  padding: 8px 14px;
  background: #ffffff;
  border: 1.5px solid #e0e6e0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  transition: all 0.2s ease;
}

.lhc-radio-chip input:checked + span,
.lhc-check-chip input:checked + span {
  background: #064C36;
  color: #ffffff;
  border-color: #064C36;
  font-weight: 600;
}

.lhc-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .lhc-checkbox-grid {
    grid-template-columns: 1fr;
  }
}

.lhc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.lhc-slider-val {
  font-weight: 700;
  color: var(--lhc-gold-dark);
  font-size: 15px;
}

.lhc-range-slider {
  width: 100%;
  accent-color: var(--lhc-emerald);
  cursor: pointer;
}

.lhc-slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

/* Summary Card */
.lhc-summary-card {
  background: linear-gradient(145deg, #042A1E 0%, #064C36 100%);
  border-radius: 16px;
  padding: 28px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(6, 76, 54, 0.25);
  position: sticky;
  top: 100px;
}

.lhc-summary-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--lhc-gold);
  display: block;
  margin-bottom: 6px;
}

.lhc-price-range {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.lhc-currency {
  font-size: 18px;
  color: var(--lhc-gold);
  font-weight: 600;
}

.lhc-amount {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.lhc-price-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin-bottom: 20px;
}

.lhc-breakdown-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lhc-breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.lhc-breakdown-item .breakdown-val {
  font-weight: 600;
  color: var(--lhc-gold);
}

.btn-whatsapp-outline {
  border: 1.5px solid #25D366;
  color: #25D366;
  background: transparent;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-whatsapp-outline:hover {
  background: #25D366;
  color: #ffffff;
}

/* Quote Form Container */
.lhc-quote-card-container {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 40px;
  max-width: 900px;
  margin: 30px auto;
  border: 1px solid rgba(11, 110, 79, 0.1);
  font-family: 'Inter', sans-serif;
}

.lhc-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

@media (max-width: 650px) {
  .lhc-form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.lhc-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lhc-label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.lhc-label .req {
  color: #dc2626;
}

.lhc-input,
.lhc-select,
.lhc-textarea,
.lhc-file-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  background: #fbfbfb;
  box-sizing: border-box;
}

.lhc-input:focus,
.lhc-select:focus,
.lhc-textarea:focus {
  outline: none;
  border-color: var(--lhc-emerald);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.15);
}

.lhc-alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}

.lhc-alert-success {
  background: #e6f4ea;
  color: #064C36;
  border: 1px solid #a8dab5;
}

/* Floating WhatsApp */
.lhc-floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}

.lhc-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  position: relative;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lhc-whatsapp-btn:hover {
  transform: scale(1.1);
}

.lhc-whatsapp-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: lhcPulse 2s infinite;
}

@keyframes lhcPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.lhc-whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #1f2937;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lhc-whatsapp-btn:hover .lhc-whatsapp-tooltip {
  opacity: 1;
}
