/* =========================== Contenedor principal ============================ */
.tu-proyecto-header-section {
  text-align: center;
  margin-bottom: 2rem;
}

.tu-proyecto-titulo {
  font-size: 1rem;
  color: #1e293b;
  font-weight: 800;
  margin: 0;
  text-align: center;
}

.tu-proyecto-subtitulo {
  color: #6c757d;
  font-size: 1.1rem;
}
.tu-nombre-proyecto {
  font-size: 1.3rem;
  color: #1e293b;
  font-weight: 800;
  margin: 0;
  text-align: center;
}

/* =========================== Filtros  ============================ */

.tu-filtros-container {
  background: #f8f9fa;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 3;
}


.tu-filtros-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  gap: 2rem;
}

.tu-filtro-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.tu-tareas-stats {
  font-weight: 600;
  color: #861542;
  flex-shrink: 0;
}

.tu-stat-total {
  background: #861542;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(134, 21, 66, 0.2);
}
.tu-filtro-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  position: relative; 
}
.tu-filtros-inner {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  gap: 2rem;
}

.tu-dropdown-space {
  margin-top: 0.5rem; 
  border: 1px solid #ccc;
  border-radius: 8px;
  background: white;
}



/* =========================== Responsivo ============================ */
@media (max-width: 768px) {
  .tu-filtros-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .tu-filtro-left {
    width: 100%;
    justify-content: flex-start;
  }

  .tu-tareas-stats {
    margin-top: 0.5rem;
    text-align: right;
  }
}

.tu-tareas-stats {
  font-weight: 600;
  color: #861542;
}

.tu-stat-total {
  background: #861542;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* =========================== Tarjetas de tareas ============================ */
.tu-tareas-contenedor {
  width: 100%;
  max-width: 900px;
}

.tu-tareas-lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tu-tarea-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #6c757d;
  z-index: 2;
}

.tu-tarea-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.tu-tarea-card.en-proceso {
  border-left-color: #ffc107;
}

.tu-tarea-card.pendiente {
  border-left-color: #861542;
}

.tu-tarea-card.tarea-vencida {
  border-left-color: #dc3545;
  background: #fff5f5;
}

/* Header de tarea */
.tu-tarea-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tu-tarea-titulo-container {
  flex: 1;
  min-width: 0;
}

.tu-tarea-nombre {
   font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.tu-tarea-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tu-badge-estado, .tu-badge-urgencia {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.tu-badge-estado {
  color: white;
}

.tu-badge-urgencia {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}

/* Botón subir */
.tu-btn-subir-evidencia {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #861542;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.tu-btn-subir-evidencia:hover {
  background: #6a1035;
  transform: translateY(-1px);
}
.tu-btn-cancelar, .btn-subir {
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: flex;             
  align-items: center;      
  justify-content: center;   
  min-width: 120px;          
}
/* Urgencia de la tarea */
.tu-badge-urgencia {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
}

/* Colores según nivel */
.tu-badge-urgencia.vencida { color: #dc3545; }
.tu-badge-urgencia.venceHoy { color: #ff4500; }
.tu-badge-urgencia.proxima { color: #ffa500; }

/* Estado de la tarea */
.tu-badge-estado {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.tu-badge-estado.en-proceso { background-color: #ffc107; color: #fff; }
.tu-badge-estado.completada { background-color: #c53030; color: #fff; }

.tu-btn-icon {
  font-size: 0.8rem;
}

/* Detalles de tarea */
.tu-tarea-detalles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0f0;
}

.tu-detalle-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tu-detalle-icon {
  color: #861542;
  font-size: 0.9rem;
  vertical-align: middle;
}

.tu-detalle-descripcion {
  color: #000;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: justify;
  margin-bottom: 10px;
}
.tu-detalle-texto {
  color: #000;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: justify;
}

.tu-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  background: #ffffff;
  border-radius: 12px;
  margin: 1rem 0;
}

.tu-empty-icon {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 1rem;
}

.tu-empty-title {
  color: #495057;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tu-empty-message {
  color: #6c757d;
  font-size: 1rem;
  max-width: 300px;
  margin: 0 auto;
}
.select-etiqueta-inline{
  color: #000;
  font-size: 1rem;
}

/* =========================== 
   MODAL DE SUBIDA 
   =========================== */
.tu-modal-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 1rem;
  backdrop-filter: blur(8px); 
  animation: fadeIn 0.3s ease-out;
}

.tu-modal-content-preview {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  border-radius: 16px; 
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  position: relative;
}

/* Header Limpio */
.tu-modal-header {
  position: relative;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0; 
  background: #fff;
}

.tu-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d3748;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tu-modal-close {
  background: #4a5568; 
  color: white;        
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.tu-modal-close:hover {
  background: #2d3748; 
  color: #fff;
  transform: rotate(90deg); 
}
/* Cuerpo del Modal */
.tu-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: #f8fafc; 
}

.tu-modal-body img {
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
}

.tu-modal-description {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
}

/* Footer de Botones */
.tu-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.tu-btn-base {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.tu-btn-cancelar {
  background: white;
  border: 2px solid #cbd5e0;
  color: #4a5568;
}

.tu-btn-cancelar:hover {
  border-color: #a0aec0;
  background: #f7fafc;
  color: #2d3748;
}
.tu-btn-subir {
  background: #861542; 
  border: 2px solid #861542;
  color: white;
}

.tu-btn-subir:hover {
  background: #6a1035;
  border-color: #6a1035;
  box-shadow: 0 4px 12px rgba(134, 21, 66, 0.25);
}

.tu-btn-subir:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(20%);
}

/* Spinner dentro del botón */
.tu-btn-subir .spinner {
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  display: inline-block;
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 640px) {
  .tu-modal-content-preview {
    max-width: 95%;
    margin: 10px;
  }
  .tu-modal-footer {
    flex-direction: column-reverse; 
  }
  .tu-btn-base {
    width: 100%;
  }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}


/* Responsive */
@media (max-width: 768px) {
  .tu-modal-content-preview { max-width: 95%; }
  .tu-modal-body img { max-height: 60vh; }
  .tu-modal-footer { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .tu-modal-header h2 { font-size: 1.2rem; }
  .tu-modal-body img { max-height: 50vh; }
  .tu-btn-cancelar, .tu-btn-subir { width: 100%; justify-content: center; }
}


/* =========================== Responsive ============================ */
@media (max-width: 768px) {
  .tu-filtros-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .tu-tarea-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .tu-btn-subir-evidencia {
    align-self: stretch;
    justify-content: center;
  }
  
  .tu-tarea-detalles {
    grid-template-columns: 1fr;
  }
  
  .tu-modal-content-preview {
    margin: 1rem;
  }
  
  .tu-modal-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .tu-proyecto-titulo {
    font-size: 1.5rem;
  }
  
  .tu-tarea-card {
    padding: 1rem;
  }
  
  .tu-tarea-badges {
    flex-direction: column;
    align-items: flex-start;
  }
}
.tu-filtro-label-inline {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #222;
}
@media (max-width: 480px) {
  .tu-btn-cancelar,
  .tu-btn-subir {
    width: auto;           
    max-width: 90%;        
    margin: 0 auto;        
    justify-content: center; 
  }

  .tu-modal-footer {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;   
  }
}

/* =========================== Banner Estilo "Mis Proyectos" ============================ */

.tu-banner-container {
  background: linear-gradient(135deg, #861542 0%, #a51e5c 100%);
  border-radius: 0 0 20px 20px;
  padding: 3rem 0; 
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 3;
  overflow: hidden; 
  width: 100%;
  box-shadow: 0 15px 35px -5px rgba(134, 21, 66, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tu-banner-icon-bg {
  position: absolute;
  right: 20px;       
  bottom: -40px;   
  font-size: 15rem;  
  color: rgba(255, 255, 255, 0.09); 
  transform: rotate(-15deg);
  z-index: 1;       
  pointer-events: none;
}

.tu-banner-content {
  position: relative;
  z-index: 2;
}

.tu-titulo-wrapper {
  display: flex;
  align-items: center; 
  gap: 1rem;           
  margin-bottom: 0.5rem;
  flex-wrap: wrap;     
}

.tu-banner-titulo {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;          
  color: white;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.tu-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 8px;
  border-radius: 10px;
  color: white;
  font-size: 1.5rem; 
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tu-banner-subtitulo {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .tu-banner-container {
    padding: 2rem 0;
    text-align: center;
  }

  .tu-titulo-wrapper {
    justify-content: center; 
  }

  .tu-banner-titulo {
    font-size: 1.6rem;
  }
  
  .tu-banner-icon-bg {
    font-size: 10rem;
    right: -20px;
  }
}




