/* Custom Styles for Backlinks Media Website Details */
:root {
    --bm-primary: #2563eb;
    --bm-primary-hover: #1d4ed8;
    --bm-secondary: #4f46e5;
    --bm-success: #10b981;
    --bm-warning: #f59e0b;
    --bm-danger: #ef4444;
    --bm-dark: #0f172a;
    --bm-muted: #64748b;
    --bm-light: #f8fafc;
    --bm-border: #e2e8f0;
    --bm-card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

body {
    background-color: #f1f5f9;
    color: var(--bm-dark);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Common UI Elements */
.badge-gp {
    background-color: #eff6ff;
    color: var(--bm-primary);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
}

.card-custom {
    background: #ffffff;
    border: 1px solid var(--bm-border);
    border-radius: 0.75rem;
    box-shadow: var(--bm-card-shadow);
    margin-bottom: 1.5rem;
}

.sticky-sidebar {
    position: sticky;
    top: 2rem;
}

/* Hero Elements */
.hero-meta-box {
    background: #ffffff;
    border: 1px solid var(--bm-border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-screenshot {
    border-radius: 0.75rem;
    border: 1px solid var(--bm-border);
    max-height: 280px;
    object-fit: cover;
    width: 100%;
}

/* Nav Tabs Customization */
.nav-tabs-custom .nav-link {
    color: var(--bm-muted);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-tabs-custom .nav-link:hover {
    color: var(--bm-primary);
    border-color: transparent;
}

.nav-tabs-custom .nav-link.active {
    color: var(--bm-primary);
    background: transparent;
    border-bottom-color: var(--bm-primary);
    font-weight: 600;
}

/* Micro Metric Badges */
.metric-badge {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.37rem;
}
.mb-da { background-color: #eff6ff; color: #1d4ed8; }
.mb-dr { background-color: #ecfdf5; color: #065f46; }
.mb-traffic { background-color: #fff7ed; color: #c2410c; }
.mb-spam { background-color: #fef2f2; color: #991b1b; }

/* Table adjustments */
.table-clean th {
    font-weight: 600;
    color: var(--bm-muted);
    background-color: var(--bm-light);
}
.table-clean td {
    vertical-align: middle;
}

/* Niches Tags */
.tag-accepted {
    background-color: #e6f4ea;
    color: #137333;
    border-radius: 2rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    display: inline-block;
    margin: 0.25rem;
}

.tag-rejected {
    background-color: #fce8e6;
    color: #c5221f;
    border-radius: 2rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    display: inline-block;
    margin: 0.25rem;
}

/* Progress bar alignment */
.progress-thin {
    height: 8px;
    border-radius: 4px;
}
