/**
 * Member payment history page — fallback and filter tab styles.
 */
body.ec-history-page {
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f9fafb;
    color: #111827;
}

.ec-history-page .fallback-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ec-history-page .fallback-button {
    background: #2563eb;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.ec-history-page .fallback-button:hover {
    background: #1d4ed8;
}

.ec-history-page .filter-btn {
    background: #f3f4f6;
    color: #6b7280;
}

.ec-history-page .filter-btn.active {
    background: #3b82f6;
    color: white;
}

.ec-history-page .filter-btn:hover {
    background: #e5e7eb;
}

.ec-history-page .filter-btn.active:hover {
    background: #2563eb;
}
