/* --- RESET GENERAL (Para que el footer y header toquen los bordes) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif; /* Usando la fuente de tu marca */
    background: #f2f6fb;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- CONTENEDOR CENTRAL (Ajustado al ancho del header/footer) --- */
.container {
    width: 95%; /* Se adapta en pantallas pequeñas */
    max-width: 550px; /* Tamaño ideal para que no se vea más ancho que el logo/menú */
    margin: 40px auto; /* Centrado perfecto */
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    flex: 1; /* Empuja el footer hacia abajo si hay poco contenido */
}

/* --- SECCIONES INTERNAS --- */
.upload-section {
    margin: 25px 0;
}

.info {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

/* --- BOTONES --- */
button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background-color: #2c7be5;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #1a5fc4;
    transform: translateY(-1px);
}

button:disabled {
    background-color: #b5c7e3;
    cursor: not-allowed;
    transform: none;
}

/* Estilo especial para el botón de Cotización */
#btnGenerarCotizacion {
    background-color: #8cc63f; /* Verde Luvelca */
    width: 100%;
    margin-top: 20px;
}

#btnGenerarCotizacion:hover {
    filter: brightness(1.1);
}

/* --- TABLAS (Ajustadas para que no se salgan del contenedor) --- */
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 8px;
}

th, td {
    border: 1px solid #eee;
    padding: 12px 8px;
    font-size: 13px;
}

th {
    background-color: #f8fafd;
    color: #333;
    font-weight: 700;
}

/* --- FOOTER (Verde Luvelca de borde a borde) --- */
.simple-footer {
    background-color: #8cc63f; 
    color: white;
    text-align: center;
    padding: 20px 10px;
    width: 100%;
    margin-top: 40px;
    font-size: 14px;
}

/* --- MODAL DE NOTA --- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- MEDIA QUERIES (Responsive Real) --- */
@media (max-width: 768px) {
    .container {
        width: 92%;
        margin: 20px auto;
        padding: 20px;
    }

    /* Menú Hamburguesa se mantiene como cortina */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%; /* Cubre todo para evitar distracciones */
        background: #1a1a1a;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        z-index: 2500;
    }

    .nav-links.active { right: 0; }
    
    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 40px;
        color: #f1b42f;
    }
}

/* Animación Hamburguesa */
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #f1b42f;
    margin: 5px 0;
    transition: 0.4s;
}