body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: url('/images/fondo.jpg');
    background-size: cover;
    background-position: center;
    color: #333;
}

header {
    width: 100%;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav li {
    display: inline;
    margin: 0 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

nav a:hover {
    color: #4CAF50;
    background-color: rgba(255,255,255,0.1);
    text-decoration: underline;
}

.container {
    text-align: center;
    background: rgba(255,255,255,0.98);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    margin-top: 15px;
    max-width: 700px;
    width: 95%;
    position: relative;
    transition: box-shadow 0.3s ease;
}

button {
    padding: 12px 25px;
    font-size: 18px;
    margin: 15px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.selectors {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.selector-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
}

label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

select {
    padding: 12px;
    font-size: 16px;
    border: 2px solid #007bff;
    border-radius: 8px;
    background-color: #fff;
    width: 100%;
    max-width: 220px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNiA2TDExIDEIgIHN0cm9rZT0iIzQ0NEIiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYPSA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px;
}

select:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

#resetBtn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#resetBtn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

#resetBtn:focus {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

#printBtn {
    background-color: #28a745;
    margin-top: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#printBtn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

#printBtn:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

.receipt {
    margin-top: 30px;
    border: 2px dashed #666;
    padding: 25px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    background-color: #f8f9fa;
    font-family: inherit;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header {
    width: 100%;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav li {
    display: inline;
    margin: 0 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

nav a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.container {
    text-align: center;
    background: rgba(255,255,255,0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    margin-top: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 10px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
}

.selectors {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.selector-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
}

label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

select {
    padding: 10px;
    font-size: 16px;
    border: 2px solid #4CAF50;
    border-radius: 6px;
    background-color: #fff;
    width: 100%;
    max-width: 200px;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNiA2TDExIDEIgIHN0cm9rZT0iIzQ0NEIiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYPSA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px;
}

select:focus {
    outline: none;
    border-color: #45a049;
}

button:hover {
    background-color: #45a049;
}

#resetBtn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

#resetBtn:hover {
    background-color: #d32f2f;
}

#printBtn {
    background-color: #2196F3;
    margin-top: 20px;
}

#printBtn:hover {
    background-color: #1976D2;
}

.receipt {
    margin-top: 20px;
    border: 2px dashed #333;
    padding: 20px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    font-family: inherit;
    position: relative;
}

header {
    width: 100%;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav li {
    display: inline;
    margin: 0 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

nav a:hover {
    color: #4CAF50;
    background-color: rgba(255,255,255,0.1);
    text-decoration: underline;
}

.container {
    text-align: center;
    background: rgba(255,255,255,0.98);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    margin-top: 15px;
    max-width: 700px;
    width: 95%;
    position: relative;
    transition: box-shadow 0.3s ease;
}

button {
    padding: 12px 25px;
    font-size: 18px;
    margin: 15px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.selectors {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.selector-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
}

label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

select {
    padding: 12px;
    font-size: 16px;
    border: 2px solid #007bff;
    border-radius: 8px;
    background-color: #fff;
    width: 100%;
    max-width: 220px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNiA2TDExIDEIgIHN0cm9rZT0iIzQ0NEIiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px;
}

select:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

#resetBtn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#resetBtn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

#resetBtn:focus {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

#printBtn {
    background-color: #28a745;
    margin-top: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#printBtn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

#printBtn:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

.receipt {
    margin-top: 30px;
    border: 2px dashed #666;
    padding: 25px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    background-color: #f8f9fa;
    font-family: inherit;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.receipt-header {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.receipt-body p {
    margin: 12px 0;
    font-size: 16px;
    color: #333;
}

/* Responsive design */
@media (max-width: 768px) {
    nav li {
        margin: 0 10px;
    }

    nav a {
        font-size: 20px;
        padding: 6px 10px;
    }

    .container {
        padding: 25px 15px;
        margin-top: 15px;
        width: 97%;
    }

    .selectors {
        gap: 10px;
        flex-direction: column;
    }

    .selector-group {
        min-width: 250px;
        width: 100%;
    }

    select {
        max-width: 100%;
    }

    button {
        padding: 12px 18px;
        font-size: 16px;
        margin: 8px;
        width: 100%;
        max-width: 150px;
    }

    .receipt {
        padding: 18px;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 5px 0;
    }

    nav a {
        font-size: 18px;
        padding: 5px 8px;
    }

    .container {
        padding: 20px 10px;
        margin-top: 10px;
        width: 98%;
    }

    .selectors {
        gap: 8px;
    }

    .selector-group {
        min-width: 200px;
    }

    button {
        padding: 10px 16px;
        font-size: 14px;
        margin: 5px;
    }

    .receipt {
        padding: 15px;
        max-width: 250px;
    }

    header {
        padding: 10px 0;
    }
}

nav button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}