/* =========================
   MF Session Plugin - UI
   ========================= */

.mf-phone-wrap {
  display: grid;
  gap: 12px;
  width: 100%;
}

/* Label */
.mf-phone-label {
  font-weight: 600;
  font-size: 14px;
  color: #111;
}

/* Input téléphone */
.mf-phone-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-phone-input::placeholder {
  color: #aaa;
}

.mf-phone-input:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

/* Bouton principal : Me faire rappeler */
.mf-callme-btn {
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  background: #111;
  color: #fff;
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
}

.mf-callme-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

.mf-callme-btn:active {
  transform: translateY(0);
}

.mf-callme-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Bouton secondaire : Fermer */
.mf-close-popup-btn {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  background: #fff;
  color: #111;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.mf-close-popup-btn:hover {
  background: #f7f7f7;
  border-color: #ccc;
  transform: translateY(-1px);
}

.mf-close-popup-btn:active {
  transform: translateY(0);
}

/* Message de statut */
.mf-callme-status {
  font-size: 14px;
  line-height: 1.4;
  margin-top: 4px;
}

/* Erreur */
.mf-callme-status.is-error {
  color: #b00020;
  font-weight: 600;
}

/* Succès */
.mf-callme-status.is-success {
  color: #0a7a2f;
  font-weight: 600;
}

/* Responsive léger */
@media (max-width: 480px) {
  .mf-callme-btn,
  .mf-close-popup-btn {
    width: 100%;
    text-align: center;
  }
}
