/* assets/css/elfsight-container.css */

/* Contenedor principal */
.elf-container {
  background: linear-gradient(145deg, 
    rgba(66, 133, 244, 0.05), 
    rgba(52, 168, 83, 0.03)) !important;
  border: 1px solid rgba(66, 133, 244, 0.2) !important;
}

/* Contenedor del widget */
.elfsight-widget-container {
  margin: 20px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  position: relative;
}

/* Estado de carga */
.elfsight-widget-container:empty::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 3px solid rgba(66, 133, 244, 0.2);
  border-top-color: #4285F4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* CTA Section */
.elf-cta-section {
  background: linear-gradient(135deg, 
    rgba(52, 168, 83, 0.08), 
    rgba(66, 133, 244, 0.05));
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  text-align: center;
  border: 1px solid rgba(52, 168, 83, 0.15);
}

.elf-cta-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.elf-cta-header i {
  font-size: 24px;
  color: #34A853;
}

.elf-cta-header h4 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
}

.elf-cta-section p {
  color: var(--text-muted);
  margin: 0 0 24px 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Botón CTA */
.btn-elf-cta {
  background: linear-gradient(135deg, #4285F4, #34A853);
  color: white;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  font-size: 15px;
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.25);
  margin-bottom: 20px;
}

.btn-elf-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(66, 133, 244, 0.35);
  color: white;
}

.btn-elf-cta i.fa-arrow-right {
  font-size: 14px;
  margin-left: auto;
}

/* Features */
.elf-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.elf-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.elf-feature i {
  font-size: 20px;
  color: #4285F4;
  background: rgba(66, 133, 244, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.elf-feature span {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
  .elf-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .elf-cta-section {
    padding: 20px;
  }
  
  .btn-elf-cta {
    padding: 14px 20px;
    font-size: 14px;
  }
}
