/* ============================================
   DENUNCIA - YO SAPEO LA CORRUPCIÓN
   Estilos del formulario de denuncias
   ============================================ */

/* ---- LOADER ---- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}

.spinner {
  width: 70px;
  height: 70px;
  border: 8px solid #3498db;
  border-top: 8px solid #2ecc71;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---- LÍNEAS DE ATENCIÓN FLOTANTE ---- */
.floating-contact-box {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: auto;
  width: 320px;
  background-color: #ffffff;
  border-left: 6px solid #0056b3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 8px;
  z-index: 1050;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
  opacity: 0.95;
}

.floating-contact-box:hover {
  transform: scale(1.02);
  opacity: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-contact-box h4 {
  color: #0056b3;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.floating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* Estado colapsado (Desktop y Mobile) */
.floating-contact-box.collapsed {
  width: auto;
  max-width: 320px;
  padding-bottom: 5px;
}

.floating-contact-box.collapsed .contact-content {
  display: none;
}

.floating-contact-box.collapsed h4 {
  border-bottom: none;
  margin-bottom: 0;
}

.toggle-icon {
  transition: transform 0.3s;
  margin-left: 10px;
}

.floating-contact-box.collapsed .toggle-icon {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .floating-contact-box {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 15px 15px 0 0;
    border-left: none;
    border-top: 6px solid #0056b3;
    transform: translateY(0);
  }
}

/* ---- RADICADO BOX ---- */
#radicadoBox {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background-color: #e8f5e9;
  border-left: 6px solid #28a745;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#radicadoBox .radicado-label {
  font-size: 1rem;
  font-weight: 600;
  color: #155724;
  margin-bottom: 6px;
}

#radicadoBox .radicado-code {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #b71c1c;
}

#radicadoBox .radicado-help {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #155724;
}

/* ---- BLOQUE SAPEO HERO ---- */
.sapeo-hero {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(21, 101, 192, 0.15);
}

.sapeo-hero-img {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sapeo-hero-img img {
  max-width: 240px;
  height: auto;
  object-fit: contain;
}

.sapeo-hero-content {
  flex: 1;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sapeo-hero-content h4.sapeo-title {
  color: #1565C0;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  text-align: center;
}

.sapeo-hero-content .sapeo-desc {
  color: #333;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 14px;
  text-align: center;
}

.sapeo-hero-content .sapeo-important {
  color: #1565C0;
  font-weight: 800;
  font-size: 1rem;
  margin: 10px 0 8px 0;
  text-align: center;
}

.sapeo-hero-content ul.sapeo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sapeo-hero-content ul.sapeo-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.55;
}

.sapeo-hero-content ul.sapeo-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #1565C0;
  font-weight: 900;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .sapeo-hero {
    flex-direction: column;
  }
  .sapeo-hero-img {
    flex: none;
    width: 100%;
    padding: 18px 10px;
  }
  .sapeo-hero-img img {
    max-width: 180px;
  }
}

/* ---- ZONA DE CARGA (DROP ZONE) ---- */
#dropZone {
  border: 2px dashed #a0c4e8;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dropzone-icon {
  font-size: 48px;
  color: #3498db;
  margin-bottom: 10px;
}

.dropzone-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.dropzone-title span {
  color: #3498db;
  text-decoration: underline;
}

.dropzone-subtitle {
  font-size: 14px;
  color: #0056b3;
  font-weight: 600;
  margin-bottom: 8px;
}

.dropzone-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.dropzone-badge {
  color: white;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.dropzone-badge--pdf { background: #e74c3c; }
.dropzone-badge--jpg { background: #27ae60; }
.dropzone-badge--png { background: #2980b9; }

.dropzone-maxsize {
  font-size: 12px;
  color: #888;
  margin: 0;
}

.dropzone-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

#fileList {
  margin-top: 12px;
}

/* ---- BLOQUE ANTISOBORNO ---- */
.antisoborno-wrapper {
  position: relative;
  margin-top: 20px;
  margin-left: 70px;
}

.antisoborno-box {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  border: 2px solid #1565C0;
  border-radius: 30px;
  background: #dce6f0;
}

.antisoborno-icon {
  position: absolute;
  left: -75px;
  top: 50%;
  transform: translateY(-50%);
}

.antisoborno-icon img {
  width: 100px;
  height: auto;
  display: block;
}

.antisoborno-box .antisoborno-text {
  flex: 1;
  text-align: center;
}

.antisoborno-box .antisoborno-text p {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  color: #0D47A1;
  font-weight: 500;
  line-height: 1.5;
}

.antisoborno-box .antisoborno-text a {
  color: #C62828;
  font-weight: 800;
  text-decoration: underline;
  font-size: 1rem;
}

.antisoborno-box .antisoborno-text .antisoborno-slogan {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #C62828;
  font-weight: 600;
}

.antisoborno-box .antisoborno-text .antisoborno-slogan span {
  color: #C62828;
  font-weight: 800;
}

@media (max-width: 576px) {
  .antisoborno-wrapper {
    margin-left: 0;
    margin-top: 20px;
    padding-top: 0;
  }
  .antisoborno-icon {
    display: none;
  }
  .antisoborno-box {
    border-radius: 16px;
    padding: 14px 12px;
  }
  .antisoborno-box .antisoborno-text p {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .antisoborno-box .antisoborno-text a {
    font-size: 0.85rem;
    word-break: break-all;
  }
  .antisoborno-box .antisoborno-text .antisoborno-slogan {
    font-size: 0.82rem;
    margin-top: 6px;
  }
}
