/* Estilos Generales */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f7f8fa;
    color: #333;
}

.app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Estilos del Encabezado */
header {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 1.5em; /* Tamaño acorde con las columnas */
    font-weight: 500; /* Peso medio para armonizar */
    letter-spacing: 1px; /* Espaciado entre letras */
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase; /* Todo en mayúsculas */
}

/* Botón flotante para agregar proyectos */
.boton-agregar {
    position: fixed;
    left: 20px;
    top: 70px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 1000;
}

.boton-agregar:hover {
    transform: scale(1.1);
}

/* Modal flotante */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-contenido {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.modal-contenido h2 {
    margin: 0 0 20px;
    color: #333333;
    font-size: 1.8em;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.modal-contenido form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: 500;
    font-size: 0.9em;
    color: #666666;
}

.modal-contenido form input,
.modal-contenido form textarea,
.modal-contenido form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.modal-contenido form input:focus,
.modal-contenido form textarea:focus,
.modal-contenido form select:focus {
    border-color: #444444;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    outline: none;
}

.modal-contenido form button {
    padding: 12px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 48%;
    display: inline-block;
    text-align: center;
}

.modal-contenido form button[type="submit"] {
    background-color: #28a745;
    color: white;
}

.modal-contenido form button[type="submit"]:hover {
    background-color: #218838;
}

.modal-contenido form button[type="button"] {
    background-color: #dc3545;
    color: white;
}

.modal-contenido form button[type="button"]:hover {
    background-color: #c82333;
}

.modal-contenido form .botones {
    display: flex;
    justify-content: space-between;
}

/* Tablero */
.tablero {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    flex-wrap: wrap;
}

.columna {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 250px;
    max-width: 300px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.columna h2 {
    margin: 0;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 1.2em;
    font-weight: 500;
}

#ingresado h2 {
    background-color: #007bff;
}

#en-curso h2 {
    background-color: #28a745;
}

#detenido h2 {
    background-color: #ffc107;
}

#terminado h2 {
    background-color: #6c757d;
}

.columna.sobre {
    background-color: #e8f5ff;
    border: 2px dashed #007bff;
}

/* Tarjetas de Proyecto */
.proyecto {
    position: relative;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    margin-bottom: 10px;
}

.proyecto:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.proyecto h3 {
    margin: 0;
    font-size: 1em;
    color: #333;
    font-weight: 500;
}

.proyecto p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #555;
}

.proyecto .fecha {
    font-size: 0.8em;
    color: #777;
}

/* Botón pequeño de edición */
.proyecto .boton-editar {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    transition: all 0.2s ease;
}

.proyecto .boton-editar:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .tablero {
        flex-direction: column;
        align-items: center;
    }

    .columna {
        max-width: 100%;
    }
}