/**
 * BAJUS Gold Price — Frontend Stylesheet
 * Scoped styles for live gold & silver price table and interactive chart
 */
.bajus-gp-wrap {
    width: 100%;
    max-width: 100%;
    margin: 16px 0;
    box-sizing: border-box;
}

.bajus-gp-wrap *,
.bajus-gp-wrap *::before,
.bajus-gp-wrap *::after {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bajus-gp-card {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    margin: 0;
    width: 100%;
    text-align: left;
    line-height: 1.5;
}

.bajus-gp-header {
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    color: #ffffff;
    padding: 16px 18px;
    text-align: center;
    border-bottom: 2px solid #f59e0b;
}

.bajus-gp-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.bajus-gp-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.3;
}

.bajus-gp-meta {
    font-size: 12px;
    color: #cbd5e1;
}

.bajus-gp-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px 14px;
    background: #fffbeb;
    border-bottom: 1px solid #fef08a;
    font-size: 12px;
}

.bajus-gp-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.bajus-gp-btn-group {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.bajus-gp-btn {
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1.3;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    transition: all 0.15s ease;
}

.bajus-gp-btn:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.bajus-gp-btn.active {
    background: #0f172a;
    color: #fde047;
    border-color: #0f172a;
}

.bajus-gp-btn.btn-gold.active {
    background: #d97706;
    color: #ffffff;
    border-color: #b45309;
}

.bajus-gp-btn.btn-silver.active {
    background: #475569;
    color: #ffffff;
    border-color: #334155;
}

.bajus-gp-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.bajus-gp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    border: none;
    font-size: 13.5px;
}

.bajus-gp-table th {
    background: #f1f5f9;
    padding: 9px 12px;
    border-bottom: 2px solid #e2e8f0;
    font-size: 12px;
    color: #475569;
    font-weight: 800;
}

.bajus-gp-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.bajus-gp-section-header td {
    padding: 8px 12px;
    font-weight: 900;
    font-size: 13px;
}

.bajus-gp-section-gold {
    background: linear-gradient(90deg, #fffbeb, #fef3c7);
    border-bottom: 1px solid #fde68a;
    color: #92400e;
}

.bajus-gp-section-silver {
    background: linear-gradient(90deg, #f1f5f9, #e2e8f0);
    border-top: 2px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
    color: #0f172a;
}

.bajus-gp-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 9px 14px;
    font-size: 11.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    text-align: center;
}

.bajus-gp-footer a {
    color: #fde047;
    font-weight: 800;
    text-decoration: none;
}

.bajus-gp-footer a:hover {
    text-decoration: underline;
}

.bajus-gp-svg {
    width: 100%;
    height: auto;
    display: block;
}

.bajus-gp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 6px;
}

.bajus-gp-mini-card {
    border-radius: 8px;
    padding: 7px 9px;
}

.bajus-gp-mini-gold {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.bajus-gp-mini-silver {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
