body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1000px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

header {
    text-align: center;
    background-color: #FFD700;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

#logo {
    width: 250px;
    height: auto;
}

h1, h2 {
    margin: 0;
    color: #333;
}

.partners {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.partners span {
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.info {
    background-color: #FFD700;
    padding: 10px;
    border-radius: 8px;
}

.info-block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.info-block p {
    flex: 1 1 45%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.info-block input {
    width: 60%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.presupuesto {
    margin-top: 20px;
}

.presupuesto table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.detalle-ultimo {
    width: 20%; /* Ajusta el ancho según tu preferencia */
}

.detalle-chico {
    width: 10%; /* Ajusta el ancho según tu preferencia */
}

.detalle-medio {
    width: 20%; /* Ajusta el ancho según tu preferencia */
}

.detalle-grande {
    width: 40%; /* Ajusta el ancho según tu preferencia */
}

.presupuesto th, .presupuesto td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.presupuesto th {
    background-color: #FFD700;
}

tfoot {
    font-weight: bold;
}

.presupuesto .item {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.presupuesto .precioUSD, .presupuesto .totalUnidades {
    width: 50px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.remove-item, #add-item, #print-button {
    background-color: #FFD700;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.remove-item:hover, #add-item:hover, #print-button:hover {
    background-color: #ffc107;
}

.observaciones {
    margin-top: 20px;
}

.observaciones h3 {
    margin: 0;
    color: #333;
}

.observaciones textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
}

footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

footer .contact, footer .address {
    text-align: left;
}

@media (max-width: 768px) {
    .info-block p {
        flex-basis: 100%;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 10px;
    }

    .info-block p {
        flex-basis: 100%;
        margin: 5px 0;
    }

    .presupuesto th, .presupuesto td {
        padding: 5px;
    }

    .presupuesto .item, .presupuesto .precioUSD, .presupuesto .totalUnidades {
        width: 100%;
        box-sizing: border-box;
    }

    .presupuesto th, .presupuesto td, .observaciones textarea, footer {
        font-size: 12px;
    }
}

@media print {
    body {
        background-color: #fff;
    }

    .acciones, #print-button {
        display: none;
    }

    .presupuesto th, .presupuesto td, .observaciones textarea, footer {
        color: #000;
    }
}
