.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.analysis-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.timestamp {
    font-size: 0.8em;
    color: #666;
}

.content-preview {
    max-height: 150px;
    overflow: hidden;
    margin-bottom: 15px;
}

.view-button {
    width: 100%;
    padding: 8px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.view-button:hover {
    background: #0056b3;
}

/* Estilos para la integración de Bold Payment Button */

/* Contenedor del botón de Bold */
#bold-button-container {
    margin: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Estilos para el modal de selección de método de pago */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.payment-option {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 5px 10px;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.payment-icon {
    grid-row: 1 / 3;
    font-size: 24px;
}

.payment-name {
    font-weight: bold;
}

.payment-desc {
    grid-column: 2;
    color: #6c757d;
    font-size: 14px;
}

.payment-remember {
    margin-top: 15px;
    text-align: center;
}

/* Botón para restablecer las preferencias de pago */
.reset-payment-prefs {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
}

.reset-payment-prefs button {
    background: none;
    border: none;
    color: #6c757d;
    text-decoration: underline;
    cursor: pointer;
}

.reset-payment-prefs button:hover {
    color: #495057;
}

/* Overlay para procesar pagos */
.payment-processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: white;
}

.payment-processing-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Estilos para la ventana modal de Bold en modo embedded */
.bold-modal-embedded {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Media queries para dispositivos móviles */
@media (max-width: 767px) {
    .bold-modal-embedded {
        width: 90%;
        padding: 15px;
    }
}