/* assets/styles.css - Estilos base minimalistas para NODRISA */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}
.nodrisa-container {
    display: flex;
    min-height: 100vh;
}
.nodrisa-sidebar {
    width: 220px;
    background: #222;
    color: #fff;
    padding: 2rem 1rem 1rem 1rem;
    box-shadow: -2px 0 8px rgba(0,0,0,0.04);
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.nodrisa-sidebar h2 {
    margin-top: 0;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}
.nodrisa-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nodrisa-sidebar nav ul li {
    margin-bottom: 1.2rem;
}
.nodrisa-sidebar nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nodrisa-sidebar nav ul li a:hover {
    color: #00bcd4;
}
.nodrisa-main {
    margin-right: 220px;
    padding: 3rem 2rem;
    flex: 1;
}

/* Estilos para la sección de imágenes en popups - yty656 */
.imagen-section {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.imagen-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #495057;
}

.imagen-section input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
}

.imagen-section input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
}

.imagen-section select {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    font-size: 0.9rem;
}

#imagen-preview {
    margin-top: 1rem;
    text-align: center;
}

#imagen-preview img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
    object-fit: cover;
}

.btn-danger {
    background: #dc3545 !important;
    color: white !important;
}

.btn-danger:hover {
    background: #c82333 !important;
}

.celda-usados-rojo {
    background: #ffe5e5 !important; /* rojo claro */
}
.texto-usados-rojo {
    color: #d32f2f !important; /* rojo intenso */
    font-weight: bold;
}
.celda-usados-verde {
    background: #e6ffe5 !important; /* verde claro */
}
.texto-usados-verde {
    color: #388e3c !important; /* verde intenso */
    font-weight: bold;
}
.celda-usados-rojo, .celda-usados-verde {
    text-align: center !important;
    vertical-align: middle !important;
}
.texto-usados-rojo, .texto-usados-verde {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@media (max-width: 700px) {
    .nodrisa-sidebar {
        width: 100vw;
        height: auto;
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
    }
    .nodrisa-main {
        margin-right: 0;
        padding: 1rem;
    }
} 