body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0;
}

h1 {
    color: #0033a0;
    margin-bottom: 20px;
}

.form-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    border: 2px solid #0033a0;
}

.form-info {
    margin-bottom: 20px;
    background: #e7f1ff;
    border-left: 5px solid #0033a0;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.section-title {
    margin: 20px 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0033a0;
    color: #0033a0;
    font-weight: bold;
    text-transform: uppercase;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    text-align: left;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: left;
}

button {
    background-color: #28a745;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

button:hover {
    background-color: #218838;
}

.conversion, .rate-info, .total-info {
    margin: 20px 0;
    padding: 10px;
    background-color: #e7f1ff;
    border-left: 5px solid #0033a0;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.qr-container {
    margin-top: 20px;
    text-align: center;
}

.qr-container img {
    max-width: 100%;
    height: auto;
}

.copy-link {
    color: #0033a0;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
}

.copy-link:hover {
    color: #001f3f;
}

.new-sale-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0033a0;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.new-sale-button:hover {
    background-color: #001f3f;
}

.logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    float: left;
}



/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* CSS para centrar y animar el logo de carga */
#loading-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    text-align: center;
    color: white;
}

#loading-screen h1 {
    margin-top: 20px;
    font-size: 24px;
    color: white;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading-logo {
    width: 150px;
    height: auto;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.pay-button {
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

.pay-button:hover {
    background-color: #218838;
}

footer {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #666;
}