/* Estilos para el Botón Flotante y Modal de WhatsApp - FZW Plugin v3.0 */
#fzw-floating-button { 
 position: fixed;
 bottom: 25px;
 right: 25px;
 background-color: #25D366;
 color: white;
 padding: 14px 24px 14px 20px;
 border-radius: 50px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
 cursor: pointer;
 z-index: 1000;
 transition: all 0.3s ease;
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
 font-size: 16px;
 font-weight: 500;
 white-space: nowrap;
 text-decoration: none;
 border: none;
 outline: none;
}
#fzw-floating-button:hover {
 background-color: #128C7E;
 transform: translateY(-3px) scale(1.02);
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25), 0 8px 25px rgba(0, 0, 0, 0.15);
}
#fzw-floating-button:active {
 transform: translateY(-1px) scale(1);
}
#fzw-floating-button .fzw-whatsapp-logo {
 width: 22px;
 height: 22px;
 margin-right: 10px;
 flex-shrink: 0;
}
#fzw-floating-button span {
 display: inline-block;
 vertical-align: middle;
}
@media (max-width: 480px) {
 #fzw-floating-button {
  padding: 16px 20px;
  font-size: 15px;
  bottom: 20px;
  right: 20px;
 }
}
.fzw-modal {
 display: none;
 position: fixed;
 z-index: 10001; /* Aumentado para evitar conflicto con menús */
 left: 0;
 top: 60px; /* Ajustado para evitar que se oculte tras el menú */
 width: 100%;
 height: 100%;
 overflow: auto;
 background-color: rgba(0,0,0,0.6);
 backdrop-filter: blur(3px);
 -webkit-backdrop-filter: blur(3px);
}
.fzw-modal-content {
 background-color: #ffffff;
 margin: 40px auto;
 padding: 20px;
 border: none;
 width: 90%;
 max-width: 400px;
 border-radius: 16px;
 box-shadow: 0 20px 60px rgba(0,0,0,0.3);
 position: relative;
 animation: fzwSlideIn 0.3s ease-out;
}
@keyframes fzwSlideIn {
 from {
  opacity: 0;
  transform: translateY(-30px) scale(0.95);
 }
 to {
  opacity: 1;
  transform: translateY(0) scale(1);
 }
}
.fzw-modal-header {
 display: flex;
 align-items: center;
 padding-bottom: 12px;
 border-bottom: 2px solid #f0f0f0;
 margin-bottom: 12px;
}
.fzw-whatsapp-logo-modal {
 width: 28px;
 height: 28px;
 margin-right: 12px;
 color: #25D366;
 flex-shrink: 0;
}
.fzw-modal-header h3 {
 margin: 0;
 font-size: 1.4em;
 color: #075E54;
 font-weight: 600;
 line-height: 1.2;
}
.fzw-close-button {
 color: #999;
 position: absolute;
 top: 12px;
 right: 16px;
 font-size: 28px;
 font-weight: normal;
 cursor: pointer;
 transition: color 0.2s ease;
 line-height: 1;
 width: 32px;
 height: 32px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 50%;
 background: transparent;
 transition: all 0.2s ease;
}
.fzw-close-button:hover {
 color: #333;
 background-color: #f0f0f0;
}
.fzw-validation-summary {
 background-color: #fee;
 border: 1px solid #fcc;
 color: #c33;
 padding: 8px 12px;
 margin-bottom: 12px;
 border-radius: 6px;
 font-size: 13px;
}
#fzw-form {
 margin: 0;
}
#fzw-form p {
 margin-bottom: 4px;
}
#fzw-form label {
 display: block;
 margin-bottom: 2px;
 font-weight: 500;
 color: #333;
 font-size: 13px;
}
#fzw-form .fzw-required {
 color: #e74c3c;
 margin-left: 2px;
}
#fzw-form input[type="text"],
#fzw-form input[type="email"],
#fzw-form input[type="tel"],
#fzw-form textarea {
 width: 100%;
 padding: 8px 10px;
 margin-bottom: 2px;
 border: 1px solid #ddd;
 border-radius: 6px;
 box-sizing: border-box;
 font-size: 14px;
 font-family: inherit;
 transition: all 0.2s ease;
 background-color: #fafafa;
}
#fzw-form input[type="text"]:focus,
#fzw-form input[type="email"]:focus,
#fzw-form input[type="tel"]:focus,
#fzw-form textarea:focus {
 outline: none;
 border-color: #25D366;
 box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
 background-color: #fff;
}
#fzw-form textarea {
 resize: vertical;
 min-height: 60px;
}
#fzw-form input.fzw-input-error,
#fzw-form textarea.fzw-input-error {
 border-color: #e74c3c !important;
 background-color: #fff5f5;
}
#fzw-submit-btn {
 background-color: #25D366;
 color: white;
 padding: 10px 20px;
 border: none;
 border-radius: 6px;
 cursor: pointer;
 font-size: 15px;
 font-weight: 600;
 width: 100%;
 transition: all 0.3s ease;
 font-family: inherit;
 margin-top: 8px;
 display: flex;
 align-items: center;
 justify-content: center;
 height: 40px;
}
#fzw-submit-btn:hover {
 background-color: #128C7E;
 transform: translateY(-1px);
 box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
#fzw-submit-btn:active {
 transform: translateY(0);
}
.fzw-btn-text {
 display: block;
}
.fzw-spinner {
 display: none;
 width: 20px;
 height: 20px;
 animation: fzw-spin 0.75s linear infinite;
}
.fzw-spinner svg {
 width: 100%;
 height: 100%;
}
@keyframes fzw-spin {
 0% { transform: rotate(0deg); }
 100% { transform: rotate(360deg); }
}
#fzw-form .sending .fzw-btn-text {
 display: none;
}
#fzw-form .sending .fzw-spinner {
 display: block;
}
@media (max-width: 480px) {
 .fzw-modal-content {
  margin: 20px auto;
  padding: 16px;
  width: 95%;
 }
 .fzw-modal-header h3 {
  font-size: 1.2em;
 }
 .fzw-whatsapp-logo-modal {
  width: 24px;
  height: 24px;
 }
}
