body {
    font-family: Arial, sans-serif;
    background: #f0f4f8;
    margin: 0;
    padding: 0;
}

.container {
    width: 850px;
    margin: 20px auto;
    background: white;
    padding: 25px 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.logo {
    width: 160px;
    display: block;
    margin-bottom: 10px;
}

h1 {
    text-align: center;
    color: #003366;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.info-factura, .totales {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    margin-top: 5px;
    display: block;
}

input[type=text], input[type=number], select, textarea {
    width: 100%;
    padding: 6px;
    margin: 3px 0 8px 0;
    border: 1px solid #003366;
    border-radius: 5px;
}

textarea {
    resize: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

th, td {
    border: 1px solid #003366;
    padding: 6px;
}

th {
    background-color: #003366;
    color: white;
    text-align: center;
}

td input {
    border: none;
    width: 100%;
    text-align: center;
}

button {
    background: #003366;
    color: white;
    padding: 10px 20px;
    border: none;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #0055aa;
}