/* Lead modal – Consenso, manleva e informative TIM / Telepass */
.lead-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lead-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.lead-modal-box {
  background: #fff;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s;
}
.lead-modal-overlay.is-open .lead-modal-box {
  transform: scale(1);
}
.lead-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #eee;
}
.lead-modal-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e30613;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lead-modal-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  line-height: 1.35;
}
.lead-modal-body {
  padding: 1.25rem 1.5rem;
}
.lead-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
}
.lead-modal-close:hover {
  color: #000;
  background: #f0f0f0;
}
.lead-modal-box {
  position: relative;
}
.lead-form-group {
  margin-bottom: 1rem;
}
.lead-form-group label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.35rem;
}
.lead-form-group select,
.lead-form-group input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}
.lead-form-group input[type="tel"]:focus,
.lead-form-group select:focus {
  outline: none;
  border-color: #008c44;
  box-shadow: 0 0 0 2px rgba(0, 140, 68, 0.2);
}
.lead-form-group select {
  cursor: pointer;
  appearance: auto;
}
.lead-form-cta {
  width: 100%;
  padding: 12px 20px;
  background: #008c44;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.lead-form-cta:hover {
  background: #006b34;
}
.lead-form-cta:disabled {
  background: #aaa;
  cursor: not-allowed;
}
.lead-modal-privacy-link {
  display: block;
  margin-bottom: 0.75rem;
}
.lead-modal-privacy-link a {
  color: #0066cc;
  text-decoration: underline;
  font-size: 0.9rem;
}
.lead-modal-disclaimer {
  font-size: 0.6rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.lead-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.85rem;
  cursor: pointer;
}
.lead-form-checkbox input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #008c44;
}
.lead-form-checkbox span {
  font-size: 0.6rem;
  color: #333;
  line-height: 1.4;
}
.lead-form-checkbox a {
  color: #0066cc;
  text-decoration: underline;
}
.lead-modal-error {
  font-size: 0.85rem;
  color: #c00;
  margin-top: 0.35rem;
}
.lead-modal-success {
  font-size: 0.9rem;
  color: #008c44;
  margin-top: 0.5rem;
}
