.container {
    display: flex;
    flex-direction: row;
    height: 100vh; /* Ocupar toda la pantalla */
    overflow: hidden; /* Evitar que el menú haga scroll */
}

.main-content {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto; /* Permitir scroll solo en el contenido */
    height: 100vh; /* Ocupar toda la pantalla */
}

/* ------------------------------
   DASHBOARD ESTILOS GENERALES
------------------------------ */
/* DASHBOARD CONTAINER - Estilos aplicados solo dentro del Dashboard */

.dashboard-container {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto; /* Permitir scroll solo en el contenido */
    height: 100vh; /* Ocupar toda la pantalla */
}

.dashboard-container .total-cards {
   display: flex;
   align-items: center;
   padding: 20px;
   gap: 42px;
   justify-content: flex-start;
   flex-wrap: wrap; /* Permite que las tarjetas bajen de fila */
   overflow-x: hidden; /* Elimina cualquier scroll lateral */
   max-width: 90%; /* Ocupar el 90% de la pantalla en pantallas grandes */
   margin: 40px auto; /* Centrar el contenedor */
}

/* TARJETAS DEL DASHBOARD */
.dashboard-container .card {
   display: flex;
   flex-direction: column;
   gap: 20px; 
   border-radius: 8px;
   width: 100%; 
   box-sizing: border-box;
   max-width: 350px; /* Tamaño máximo de cada tarjeta */
   min-height: 200px; 
   background: #fff;
   border: 1px solid var(--Colors-Neutral-900, #E0E0EA);
   padding: 20px;
   transition: transform 0.3s ease-in-out;
   cursor: pointer;
}

/* Efecto hover */
.dashboard-container .card:hover {
   transform: scale(1.05);
}

/* Asegurar que la info se muestre en columna */
.dashboard-container .card .info {
   display: flex;
   flex-direction: column; /* Asegura que los elementos se apilen en columna */
   align-items: flex-start; /* Alinear a la izquierda */
   gap: 4px; /* Espacio entre elementos */
}

/* Ajuste para móviles */
@media (max-width: 480px) {
   .dashboard-container .card .info {
       gap: 8px; /* Mayor separación en pantallas pequeñas */
   }
}



/* Colores según el estado de los proyectos en dashboard*/
.status-section {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 4px 8px;
   border-radius: 8px;
   font-size: 12px;
   width: fit-content;
}

/* Colores para cada estado dinámico en dashboard*/
.status-section.in-progress {
   background-color: rgba(242, 184, 40, 0.10); 
}

.status-section.on-revision {
   background-color: rgba(255, 98, 80, 0.10);
}

.status-section.done {
   background-color: rgba(72, 202, 128, 0.10);
}

/* Cambiar color del círculo SVG */
.status-section.in-progress circle {
   fill: #F2B828;
}

.status-section.on-revision circle {
   fill: #FF2A12;
}

.status-section.done circle {
   fill: #48CA80;
}

/* 🖥️ RESPONSIVE - Para tablets (Máximo 768px) */
@media (max-width: 768px) {
   .dashboard-container .total-cards {
       justify-content: center; /* Centra las tarjetas en tablet */
       gap: 20px;
   }

   .dashboard-container .card {
       max-width: 80%; /* Tarjetas más grandes en tablet */
   }
}

/* 📱 RESPONSIVE - Para móviles (Máximo 480px) */
@media (max-width: 480px) {
   .dashboard-container .total-cards {
       flex-direction: column; /* Las tarjetas caen en columna */
       align-items: center; /* Centrar tarjetas */
       gap: 16px;
   }

   .dashboard-container .card {
       max-width: 100%; /* Ocupar el ancho completo en móvil */
   }
}


/* Título Principal */
.dashboard-container h1 {
   font-size: 32px;
   font-weight: bold;
   margin-bottom: 20px;
}

/* Línea separadora */
.dashboard-container .separador {
   height: 1px;
   background-color: #D9D9D9;
   margin-bottom: 30px;
}

/* Botón Crear Nuevo */
.dashboard-container .buttons {
   display: flex;
   justify-content: flex-end;
   margin-bottom: 20px;
}

.dashboard-container .buttons .btn {
   background-color: #0054FF;
   color: white;
   border-radius: 6px;
   padding: 10px 15px;
   font-size: 14px;
   border: none;
   cursor: pointer;
}

.dashboard-container .buttons .btn:hover {
   background-color: #003bb8;
}

/* ------------------------------
  GRID DE PROYECTOS
------------------------------ */
.dashboard-projects {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Máximo 3 columnas */
   gap: 20px;
}

/* ------------------------------
  ESTILOS DE TARJETAS
------------------------------ */
.dashboard-project-card {
   background: white;
   border-radius: 10px;
   padding: 20px;
   border: 1px solid #E0E0EA;
   box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
   transition: transform 0.2s ease-in-out;
}

.dashboard-project-card:hover {
   transform: translateY(-5px);
}

.dashboard-project-card h2 {
   font-size: 18px;
   font-weight: bold;
   margin-bottom: 10px;
}

/* ------------------------------
  ESTILOS PARA LOS STATUS
------------------------------ */
.dashboard-project-card .status {
   display: inline-flex;
   align-items: center;
   gap: 5px;
   font-size: 12px;
   font-weight: bold;
   padding: 5px 10px;
   border-radius: 20px;
}

/* Colores según el estado */
.status.on-revision {
   background-color: rgba(255, 98, 80, 0.1);
   color: #FF6250;
}

.status.done {
   background-color: rgba(72, 202, 128, 0.1);
   color: #48CA80;
}

.status.in-progress {
   background-color: rgba(242, 184, 40, 0.1);
   color: #F2B828;
}

/* ------------------------------
  RESPONSIVE
------------------------------ */
/* Ajuste para pantallas medianas (tabletas) */
@media (max-width: 992px) {
   .dashboard-container {
       width: 95%; /* Ajustar a 95% en tabletas */
       max-width: 900px; /* Reducir el máximo */
   }
}

/* Ajuste para móviles */
@media (max-width: 768px) {
   .dashboard-container {
       width: 100%; /* Ocupar el 100% en móviles */
       padding: 20px; /* Reducir padding */
   }
}


.project-h1{
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Breadcrumb */
.breadcrumb a {
    color: #0054FF;
    text-decoration: none;
    font-size: 14px;
}

/* Formulario */
.buttons {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: flex-end;
    gap: 16px;
}
.project-form {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    gap: 24px;
    margin-top: 20px;
}

.project-form label {
    font-size: 14px;
    color: #777A99;
    gap: 8px;
   
}

.project-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #AAABC2;
    border-radius: 6px;
    font-size: 14px;
}

.project-description {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

textarea {
    border-radius: 8px;
    border-color: #777A99;
}

textarea::placeholder {
    padding: 10px; /* Ajusta el espacio a la izquierda del placeholder */
    font-family: "Inter", sans-serif;
  }

/*Título + buscador*/
.titulo-tareas {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 70px;

}

.separador {
    height: 0.2px;
    background-color: #99a3b8;
    margin-top: 24px;
    
}

.total-cards {
    display: flex;
    padding: 0px;
    gap: 30px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 40px;
 }
 
 .cards-column-container {
    display: flex; /* Usamos flexbox para que las columnas estén una al lado de la otra */
    justify-content: space-between; 
    gap: 20px; /* Espacio entre las columnas */
    overflow-x: auto; /* Habilita el scroll horizontal si el contenido excede el contenedor */
    white-space: nowrap; /* Evita que los elementos se envuelvan y se mantengan en una fila */
 }
 
 
 .card-column {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(33.333% - 20px);
    margin-top: 40px;
    gap: 20px;
 }
 
 
 
 .card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    background-color: #FFF;
    border-radius: 8px;
    border: 1px solid var(--Colors-Neutral-900, #E0E0EA);
    width: 100%;
    box-sizing: border-box; /* Para que el padding y el borde no afecten el tamaño total */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Transición suave */
    cursor: pointer; /* Cambia el cursor a mano para indicar que es clickable */
 }
 
 .card:hover {
    background-color: rgba(57, 122, 255, 0.1); /* Cambia el color de fondo */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Agrega sombra */
 }
 
 
 
 /* Media query para pantallas más pequeñas (menos de 1000px) */
 @media (max-width: 1200px) {
    .card-column {
       flex: 0 0 300px; /* Asegura que el ancho de cada columna sea de 300px */
    }
    .cards-column-container {
       /* Si el contenido excede el ancho del contenedor, se activará el scroll horizontal */
       overflow-x: auto;
    }
 }
 
 
 @media (max-width: 400px) {
    /* Ajustar el tamaño de las tarjetas para que no sean tan anchas */
    .new-card {
        flex: 1 1 auto; /* Ajusta el tamaño a auto, permitiendo que se estiren solo lo necesario */
        max-width: 300px; /* Establece un ancho máximo para que las tarjetas no sean tan anchas */
        padding: 15px; /* Reduce el padding si es necesario */
    }
 }
 
 
 .title {
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     align-items:first baseline;
     gap: 4px;
 }
 
 .project-title {
    display: flex;
    align-items: center;
    gap: 8px;
 }
 
 .status-progress {
    display: flex;
    font-size: 12px;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    background: var(--Colors-property-color-2-Alpha-10, rgba(50, 165, 228, 0.10));
 }
 
 .status-revision {
    display: flex;
    font-size: 12px;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    background: var(--Colors-property-color-3-Alpha-10, rgba(242, 184, 40, 0.10));
 }
 
 .status-done {
    display: flex;
    font-size: 12px;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    background: var(--Colors-property-color-1-Alpha-10, rgba(72, 202, 128, 0.10));
 }
 
 @media (max-width: 400px) {
    .status {
        font-size: 12px; /* Cambiar el tamaño de la fuente a 12px en pantallas menores a 400px */
    }
 }
 
 @media (max-width: 400px) {
    .title svg {
        width: 16px; /* Tamaño reducido para pantallas pequeñas */
        height: 16px; /* Tamaño reducido para pantallas pequeñas */
    }
 }
 
 
 h2 {
     font-family: Inter;
     font-size: 16px;
     font-style: normal;
     font-weight: 400;
     line-height: 24px;
     padding: 0px;
     margin: 0px;
     
 
 }
 
 @media (max-width: 400px) {
    h2 {
        font-size: 14px; /* Cambiar el tamaño de la fuente a 12px en pantallas menores a 400px */
    }
 }
 
 
 p {
     font-family: Inter;
     font-size: 12px;
     font-style: normal;
     font-weight: 400;
     line-height: 18px;
     padding: 0px;
     margin: 0px;
    
 }
 
 .info-card-project {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
 }
 
 .icon-container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
 }
 
 .new-card {
    display: flex;
    width: 100%;
    padding: 12px 24px;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 8px;
    border: 1px solid var(--Colors-Neutral-900, #E0E0EA);
    background: var(--Colors-Brand-Alpha-10, rgba(57, 122, 255, 0.10));
 }
 
 .new-card p {
    color: var(--Colors-Brand-300, #0054FF);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    
 }
 
 
 .info {
    display: flex;
    justify-content: space-between;
    width: 100%;
 }
 
 .card-actions {
    display: flex;
    
 }
 
 
 /* Colores para cada estado en las columnas de las tareas*/
 .task-header {
    display: flex;
    padding: 8px;
    border-radius: 8px;
    color: white;
 }
 
 
 .task-header.in-progress {
    background-color: rgba(242, 184, 40, 0.10); 
    color: var(--Colors-Neutral-100);
 }
 
 /*Estado "On-Revision" */
 .task-header.on-revision {
    background-color: rgba(255, 98, 80, 0.10);
    color: var(--Colors-Neutral-100);
 }
 
 /*Estado "Done" */
 .task-header.done {
    background-color: rgba(72, 202, 128, 0.10);
    color: var(--Colors-Neutral-100);
 }
 
 /* in-progress - Punto de estado */
 .task-header.in-progress .status-dot {
    background-color: #F2B828;
 }
 
 /* On-Revision - Punto de estado */
 .task-header.on-revision .status-dot {
    background-color: #FF2A12;
 }
 
 /* Done - Punto de estado */
 .task-header.done .status-dot {
    background-color: #48CA80;
 }
 
 /* Estilos para los puntos de estado */
 .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    justify-content: center;
    margin: 6px;
 }
 
 
 
 /* Icono de las tareas */
 .task-icon {
    color: #0054FF;
    font-size: 14px;
 }
 
 .description-text {
    max-width: 80%;
    white-space: normal; /* Permite que el texto haga saltos de línea */
    overflow-wrap: break-word; /* Asegura que el contenido no desborde */
    font-size: 14px;
 }
 
 .editable-textarea {
    width: 320px;
    height: 40px;
    resize: none;
    font-size: 14px;
    padding: 20px;
    border: 1px solid #ccc;
    outline: none;
 }
 
 .save-button {
    margin-left: auto;  /* Empuja el botón hacia la derecha */
    padding: 5px 10px;
    background-color: #0054FF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
 }
 
 .save-button:hover {
    background-color: #0054FF;
 }
