body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    color: #0056b3;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 20px;
}

.section {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #fafafa;
}

input[type="file"], button, select {
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

button {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

button:active {
    background-color: #004085;
}

button#showRegisterButton, button#showLoginButton {
    background-color: #6c757d;
    margin-top: 10px;
}

button#showRegisterButton:hover, button#showLoginButton:hover {
    background-color: #5a6268;
}

select {
    width: 100%;
    margin-bottom: 10px;
    min-height: 120px; /* Altura para mostrar varias opciones */
}

.status-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.status-message.info {
    background-color: #e7f3fe;
    color: #0056b3;
}

.status-message.success {
    background-color: #d4edda;
    color: #28a745;
}

.status-message.error {
    background-color: #f8d7da;
    color: #dc3545;
}

.status-message.warning {
    background-color: #fff3cd;
    color: #ffc107;
}

#invoiceDetailsSection {
    background-color: #e9f7ef;
    border-color: #c3e6cb;
}

#invoiceHeader p {
    margin: 5px 0;
    font-size: 0.95em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size: 0.9em;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

#invoiceTotals p {
    margin: 5px 0;
    font-weight: bold;
    text-align: right;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    align-items: center;
}

#welcome-message {
    margin-right: 15px;
    font-weight: bold;
}

#auth-section input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
}

#auth-section button {
    width: 100%;
}
