@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.vtp-lista-tareas {
  width: 900px;
  margin: 1rem auto;
  padding: 0 20px;
}

.vtp-titulo-proyecto {
  width: 100%;
  margin: 1rem auto 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

.vtp-label-proyecto {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  display: block;
  margin-bottom: 5px;
  text-align: center;
}

.vtp-header-proyecto-banner {
    background: #861542 ;
     border-radius: 0 0 20px 20px;
    padding: 3rem; 
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 3;
    overflow: hidden; 
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    justify-content: center;
    box-shadow: 0 15px 35px -5px rgba(134, 21, 66, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vtp-banner-content {
    max-width: 95%; 
    z-index: 2;
    position: relative;
}

.vtp-badge-estado {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 30px; 
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem; 
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.vtp-dot-indicador {
    height: 8px;
    width: 8px;
    background-color: #4ade80; 
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}

.vtp-nombre-proyecto {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.6; 
    
    margin: 0;
    text-align: left;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.15); /* Sombra suave para legibilidad */
}

/* DECORACIÓN SUTIL */
/* Círculo grande suave a la derecha */
.vtp-banner-deco {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* AJUSTE RESPONSIVE */
@media (max-width: 768px) {
    .vtp-header-proyecto-banner {
        padding: 2rem;
        border-radius: 16px;
    }
    .vtp-nombre-proyecto {
        font-size: 1.25rem;
        line-height: 1.5;
    }
}

.vtp-lista-tareas-container {
  margin: 0 auto;   
  width: 100%;
}





.vtp-item-tarea {
  background: white;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #FFC107;
  border-radius: 12px;
  padding: 24px;
  margin: 0 auto 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  z-index: 3;
  position: relative;
}

.vtp-item-tarea:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* HEADER SIMPLE Y CLARO */
.vtp-tarea-header {
  margin-bottom: 20px;
}

.vtp-tarea-nombre {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.vtp-tarea-descripcion {
  margin: 0;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: 'Poppins', sans-serif;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: pretty;
  text-transform: uppercase;
}
.descripcion-tarea {
  text-transform: uppercase; 
  font-size: 13px;          
  letter-spacing: 0.8px;    
  line-height: 1.6;        
  color: #555555;        
  font-weight: 500;       
}

/* ACCIONES - MEJOR ESTRUCTURADO */
.vtp-acciones-tarea {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.vtp-accion-finalizar {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: fit-content;
}

.vtp-accion-finalizar:hover {
  border-color: #FFC107;
  background: #fffdf5;
}

.vtp-accion-finalizar input[type="checkbox"] {
  accent-color: #861542;
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

.vtp-accion-finalizar label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
  margin: 0;
}

/* FOOTER ORGANIZADO EN UNA LÍNEA */
.vtp-tarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  gap: 16px;
}

.vtp-info-adicional {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* BADGE SIMPLE */
.vtp-badge-estatus {
  padding: 6px 12px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vtp-badge-estatus.en-proceso {
  background: #FFC107;
  color: #422006;
}

.vtp-badge-estatus.pendiente {
  background: #94a3b8;
  color: white;
}

.vtp-badge-estatus.finalizada {
  background: #10b981;
  color: white;
}

.vtp-fecha-limpia {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
  padding: 6px 12px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.vtp-icono-fecha {
  color: #FFC107;
  font-size: 0.9rem;
}

/* BOTÓN EVIDENCIAS CLARO */
.vtp-btn-evidencias {
  background: #861542;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vtp-btn-evidencias:hover {
  background: #6d1135;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(134, 21, 66, 0.3);
}

.vtp-contador-evidencias {
  background: rgba(255, 255, 255, 0.3);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

/* RESPONSIVE MEJORADO */
@media (max-width: 768px) {
  .vtp-lista-tareas {
    padding: 0 15px;
  }
  
  .vtp-titulo-proyecto {
    padding: 0 15px;
    margin-bottom: 20px;
  }
  
  .vtp-nombre-proyecto {
    font-size: 1.5rem;
  }
  
  .vtp-item-tarea {
    padding: 20px;
    margin-bottom: 16px;
  }
  
  .vtp-tarea-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .vtp-info-adicional {
    justify-content: space-between;
    width: 100%;
  }
  
  .vtp-btn-evidencias {
    width: 100%;
    justify-content: center;
  }
  
  .vtp-accion-finalizar {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .vtp-tarea-nombre {
    font-size: 1.1rem;
  }
  
  .vtp-info-adicional {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .vtp-tarea-descripcion {
    padding: 12px;
    font-size: 0.85rem;
  }
  
  .vtp-nombre-proyecto {
    font-size: 1.3rem;
  }
}


.vtp-no-tareas-mensaje {
  text-align: center;
  padding: 60px 40px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px dashed #cbd5e1;
  margin: 30px 0;
}

.vtp-no-tareas-mensaje h3 {
  color: #861542;
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 700;
}
/* ==============================
   MODAL VTP 
============================== */

.vtp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.vtp-modal-content {
  background: white;
  border-radius: 16px; 
  max-width: 900px;
  width: 100%;
  max-height: 95vh; 
  padding: 0; 
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* HEADER LIMPIO */
.vtp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: white;
  flex-shrink: 0;
}

.vtp-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d3748; 
  text-transform: uppercase;
}

.vtp-modal-cerrar {
  position: static; 
  background: #4a5568; 
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.vtp-modal-cerrar:hover {
  background: #2d3748;
  transform: rotate(90deg);
  color: white;
}

.vtp-modal-estatus {
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-left: 10px;
}

.vtp-evidencias-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  flex: 1;
  overflow-y: auto;
}

.vtp-evidencias-navegacion {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.vtp-imagen-container {
  width: 100%;
  max-height: 65vh; 
  min-height: 200px;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #e2e8f0;
  position: relative;
}

.vtp-imagen-evidencia {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}

.vtp-btn-navegacion {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8); 
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  color: #4a5568;
  z-index: 5;
}

.vtp-btn-prev { left: 10px; }
.vtp-btn-next { right: 10px; }

.vtp-btn-navegacion:hover {
  background: #fff;
  color: #861542; 
  transform: translateY(-50%) scale(1.1);
}

.vtp-evidencias-info {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  background: transparent; 
  border: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}