/* ===== Report Layout ===== */
.report-actions-top {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
}

.report-actions-bottom {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    padding-bottom: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ===== Candidate Header ===== */
.report-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 32px;
}

.candidate-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.candidate-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.candidate-title {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.candidate-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-item::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.linkedin-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--accent);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

.linkedin-link:hover {
    text-decoration: underline;
}

/* ===== Sections ===== */
.report-section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.section-icon {
    font-size: 1.2rem;
}

.toggle-icon {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.section-title.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.section-body.hidden {
    display: none;
}

/* ===== Summary ===== */
.summary-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}

/* ===== Score ===== */
.score-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.score-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.score-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-row {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
}

.score-name {
    color: var(--text-light);
    font-weight: 500;
}

.score-bar-wrap {
    height: 8px;
    background: var(--bg);
    border-radius: 99px;
    overflow: hidden;
}

.score-bar {
    display: block;
    height: 100%;
    background: var(--accent);
    border-radius: 99px;
    transition: width 0.8s ease-out;
}

.score-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 60px;
    text-align: right;
}

/* ===== Skills Badges ===== */
.skill-group {
    margin-bottom: 16px;
}

.skill-group:last-child {
    margin-bottom: 0;
}

.skill-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-tech {
    background: #e8eaf6;
    color: #283593;
}

.badge-soft {
    background: #e0f2f1;
    color: #00695c;
}

.badge-lang {
    background: #fff3e0;
    color: #e65100;
}

.badge-tool {
    background: #f3e5f5;
    color: #6a1b9a;
}

/* ===== Experience Meta ===== */
.experience-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.meta-badge {
    background: var(--bg);
    color: var(--text);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
}

.progression-text {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.achievements {
    margin-bottom: 24px;
}

.achievements h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.achievements ul {
    padding-left: 20px;
}

.achievements li {
    margin-bottom: 6px;
    color: var(--text);
    line-height: 1.5;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--accent);
}

.role-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.role-company {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.role-highlights {
    padding-left: 18px;
    font-size: 0.9rem;
}

.role-highlights li {
    margin-bottom: 4px;
    color: var(--text);
    line-height: 1.5;
}

/* ===== Two Column Layout ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== Insight Cards ===== */
.insight-card {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.insight-card:last-child {
    margin-bottom: 0;
}

.insight-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.strength-card {
    background: #f0fdf4;
    border-left: 3px solid var(--success);
}

.strength-card h4 {
    color: #166534;
}

.weakness-card {
    background: #fefce8;
    border-left: 3px solid var(--warning);
}

.weakness-card h4 {
    color: #854d0e;
}

.insight-evidence {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 6px;
    line-height: 1.5;
}

.insight-impact {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.insight-recommendation {
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 500;
}

/* ===== Career Suggestions ===== */
.suggestions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.suggestion-group h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.suggestion-group ul {
    padding-left: 18px;
}

.suggestion-group li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* ===== Personality ===== */
.personality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.personality-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.personality-item p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

/* ===== Improvement Tips ===== */
.improvement-list {
    padding-left: 20px;
}

.improvement-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== Prediction Cards ===== */
.prediction-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prediction-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.prediction-rank {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    width: 28px;
}

.prediction-info {
    flex: 1;
    min-width: 0;
}

.prediction-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.prediction-bar-track {
    height: 6px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
}

.prediction-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 99px;
    transition: width 0.8s ease-out;
}

.prediction-score {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    min-width: 48px;
    text-align: right;
}

/* ===== Reputation ===== */
.reputation-not-checked {
    text-align: center;
    padding: 16px 0;
}

.reputation-not-checked p {
    margin-bottom: 16px;
}

.reputation-summary {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.rep-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.rep-stat-negative {
    background: #fef2f2;
    color: #dc2626;
}

.rep-stat-positive {
    background: #ecfdf5;
    color: #059669;
}

.rep-stat-neutral {
    background: var(--bg);
    color: var(--text-light);
}

.rep-stat-count {
    font-size: 1.25rem;
    font-weight: 800;
}

.reputation-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reputation-card {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--border);
    background: var(--bg);
}

.reputation-negative {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.reputation-positive {
    border-left-color: #10b981;
    background: #ecfdf5;
}

.reputation-neutral {
    border-left-color: #9ca3af;
    background: var(--bg);
}

.rep-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.rep-category-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.rep-badge-negative {
    background: #ef4444;
    color: #fff;
}

.rep-badge-positive {
    background: #10b981;
    color: #fff;
}

.rep-badge-neutral {
    background: #9ca3af;
    color: #fff;
}

.rep-card-title {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.3;
}

.rep-card-title:hover {
    text-decoration: underline;
}

.rep-card-snippet {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 4px;
}

.rep-card-link {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    word-break: break-all;
}

.rep-card-link:hover {
    color: var(--accent);
}

/* ===== Enhanced Reputation ===== */
.reputation-overview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.rep-score-gauge {
    text-align: center;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-circle.score-good { border-color: #10b981; }
.score-circle.score-good .score-value { color: #059669; }
.score-circle.score-warning { border-color: #f59e0b; }
.score-circle.score-warning .score-value { color: #d97706; }
.score-circle.score-danger { border-color: #ef4444; }
.score-circle.score-danger .score-value { color: #dc2626; }

.score-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.score-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.rep-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.rep-charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.rep-chart-card {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.rep-chart-card h4 {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.rep-severity-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 99px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.rep-severity-critical { background: #7f1d1d; color: #fff; }
.rep-severity-high { background: #ef4444; color: #fff; }
.rep-severity-medium { background: #f59e0b; color: #fff; }
.rep-severity-low { background: #9ca3af; color: #fff; }

.rep-card-meta {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rep-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.scan-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
}

.scan-status-completed { background: #ecfdf5; color: #059669; }
.scan-status-running { background: #eff6ff; color: #2563eb; }
.scan-status-failed { background: #fef2f2; color: #dc2626; }
.scan-status-pending { background: var(--bg); color: var(--text-muted); }

/* ===== Career Analysis ===== */
.career-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.career-overview-stat {
    text-align: center;
    padding: 16px 8px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.career-overview-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.career-overview-unit {
    font-size: 0.8rem;
    color: var(--text-light);
}

.career-badge-stable { background: #ecfdf5; color: #059669; }
.career-badge-climber { background: #eff6ff; color: #2563eb; }
.career-badge-rocket { background: #faf5ff; color: #7c3aed; }
.career-badge-explorer { background: #fffbeb; color: #d97706; }
.career-badge-hopper { background: #fef2f2; color: #dc2626; }
.career-badge-moderate { background: #fffbeb; color: #d97706; }
.career-badge-frequent_mover { background: #fef2f2; color: #dc2626; }

/* Public Career Header */
.career-pub-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.career-pub-health {
    text-align: center;
    flex-shrink: 0;
}

.health-circle-sm {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
}

.health-circle-sm.health-good { border-color: #10b981; }
.health-circle-sm.health-good .health-value-sm { color: #059669; }
.health-circle-sm.health-ok { border-color: #f59e0b; }
.health-circle-sm.health-ok .health-value-sm { color: #d97706; }
.health-circle-sm.health-poor { border-color: #ef4444; }
.health-circle-sm.health-poor .health-value-sm { color: #dc2626; }

.health-value-sm {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.career-pub-stage {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.career-stage-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 99px;
    width: fit-content;
}

.career-stage-early { background: #eff6ff; color: #2563eb; }
.career-stage-developing { background: #faf5ff; color: #7c3aed; }
.career-stage-established { background: #ecfdf5; color: #059669; }
.career-stage-senior { background: #fffbeb; color: #d97706; }
.career-stage-executive { background: #fef2f2; color: #991b1b; }

/* Public Score Bars */
.career-pub-scores {
    margin-bottom: 16px;
}

.career-pub-score-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.career-pub-score-label {
    font-size: 0.8rem;
    color: var(--text-light);
    min-width: 100px;
    flex-shrink: 0;
}

.career-pub-score-track {
    flex: 1;
    height: 8px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
}

.career-pub-score-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.5s ease;
}

.fill-good { background: #10b981; }
.fill-ok { background: #f59e0b; }
.fill-poor { background: #ef4444; }

.career-pub-score-val {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 36px;
    text-align: right;
}

/* Public Insights Row */
.career-pub-insights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.career-pub-insight {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 10px 8px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

/* Risk + Trend Badges (shared) */
.career-risk-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 99px;
}

.flight-low { background: #ecfdf5; color: #059669; }
.flight-moderate { background: #fffbeb; color: #d97706; }
.flight-high { background: #fef2f2; color: #dc2626; }
.flight-very_high { background: #7f1d1d; color: #fff; }
.flight-unknown { background: var(--bg); color: var(--text-light); }

.career-trend-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 99px;
}

.trend-increasing { background: #ecfdf5; color: #059669; }
.trend-decreasing { background: #fef2f2; color: #dc2626; }
.trend-stable { background: var(--bg); color: var(--text-light); border: 1px solid var(--border); }
.trend-insufficient_data { background: var(--bg); color: var(--text-muted); }

/* Movement type badges */
.career-move-type-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 99px;
}

.career-move-type-promotion { background: #ecfdf5; color: #059669; }
.career-move-type-lateral { background: #eff6ff; color: #2563eb; }
.career-move-type-demotion { background: #fef2f2; color: #dc2626; }

.career-promotions-public { margin-top: 16px; }

.career-promo-item-public {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    padding-left: 8px;
}

.career-promo-item-public:last-child { border-bottom: none; }

/* ===== Certifications ===== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cert-card {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    align-items: flex-start;
}

.cert-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cert-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cert-year {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Social Media ===== */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-card {
    padding: 14px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.social-platform {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.social-platform-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.social-activity-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 99px;
}

.activity-active { background: #ecfdf5; color: #059669; }
.activity-moderate { background: #eff6ff; color: #2563eb; }
.activity-low { background: #fffbeb; color: #d97706; }
.activity-inactive { background: #fef2f2; color: #dc2626; }
.activity-unknown { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }

.social-username {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.social-snippet {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.social-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.social-link-btn {
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.social-link-btn:hover { text-decoration: underline; }

.social-checked {
    font-size: 0.75rem;
}

/* ===== Sanctions ===== */
.sanctions-page {
    max-width: 960px;
    margin: 0 auto;
}

.sanctions-header {
    text-align: center;
    padding: 32px 24px;
}

.sanctions-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.sanctions-stats-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 16px;
}

.sanctions-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sanctions-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.sanctions-stat-danger {
    color: var(--error);
}

.sanctions-stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

.sanctions-search-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sanctions-search-input {
    flex: 2;
    min-width: 200px;
}

.sanctions-search-form .form-control {
    flex: 1;
    min-width: 120px;
}

.sanctions-source-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sanctions-source-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 99px;
    border: 2px solid;
    background: transparent;
}

.sanctions-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sanctions-result-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 20px;
    border: 1px solid var(--border);
}

.sanctions-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.sanctions-result-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.sanctions-result-aliases {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 6px;
    font-style: italic;
}

.sanctions-result-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.sanctions-meta-item {
    font-size: 0.8rem;
    padding: 2px 10px;
    background: var(--bg);
    border-radius: 99px;
    color: var(--text-light);
}

.sanctions-meta-org {
    background: #e8eaf6;
    color: #1a237e;
    font-weight: 600;
}

.sanctions-result-dates {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

.sanction-status-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
}

.sanction-active { background: #fef2f2; color: #dc2626; }
.sanction-expired { background: #ecfdf5; color: #059669; }

.sanction-match-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
}

.match-exact { background: #fef2f2; color: #dc2626; }
.match-fuzzy { background: #fffbeb; color: #d97706; }
.match-partial { background: var(--bg); color: var(--text-light); }
.match-filter { background: var(--bg); color: var(--text-light); }

.sanctions-warning-banner {
    background: #fef2f2;
    color: #dc2626;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
    border: 1px solid #fecaca;
}

.sanctions-matches-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sanctions-match-item {
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border-left: 3px solid #dc2626;
}

.sanctions-match-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.sanctions-match-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.sanctions-match-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.8rem;
}

.sanction-org-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    background: #e8eaf6;
    color: #1a237e;
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding: 16px;
}

/* ===== Sanctions Result Link ===== */
.sanctions-result-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sanctions-result-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.sanctions-result-view {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    text-align: right;
}

/* ===== Sanction Detail Report ===== */
.sanction-report-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.sanction-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sanction-avatar-active {
    background: #fef2f2;
    color: #dc2626;
    border: 3px solid #fecaca;
}

.sanction-avatar-expired {
    background: #ecfdf5;
    color: #059669;
    border: 3px solid #a7f3d0;
}

.sanction-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}

.sanction-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sanction-detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.sanction-detail-row:last-child {
    border-bottom: none;
}

.sanction-detail-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sanction-detail-value {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

/* Sanction Timeline Bar */
.sanction-timeline-bar {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.sanction-timeline-track {
    height: 8px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 6px;
}

.sanction-timeline-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.8s ease;
}

.sanction-timeline-fill.timeline-active {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.sanction-timeline-fill.timeline-expired {
    background: linear-gradient(90deg, #10b981, #6ee7b7);
}

.sanction-timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Aliases Section */
.sanction-aliases-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.sanction-subsection-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.sanction-aliases-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sanction-alias-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 0.85rem;
    color: var(--text);
}

/* Linked Profiles */
.sanction-linked-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sanction-linked-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sanction-linked-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.sanction-linked-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sanction-linked-info {
    flex: 1;
    min-width: 0;
}

.sanction-linked-name {
    display: block;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.sanction-linked-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.sanction-linked-score {
    flex-shrink: 0;
}

/* ===== Sanction Detail Responsive ===== */
@media (max-width: 768px) {
    .sanction-report-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sanction-header-badges {
        justify-content: center;
    }

    .sanction-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .sanction-linked-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ===== Print ===== */
@media print {
    .navbar, .footer, .report-actions-top, .report-actions-bottom {
        display: none !important;
    }

    .main-content {
        padding: 0;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .section-body.hidden {
        display: block !important;
    }

    .toggle-icon {
        display: none;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .report-header {
        flex-direction: column;
        text-align: center;
    }

    .candidate-contact {
        justify-content: center;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .score-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .score-circle {
        margin: 0 auto 16px;
    }

    .score-row {
        grid-template-columns: 100px 1fr auto;
    }

    .suggestions-grid {
        grid-template-columns: 1fr;
    }

    .personality-grid {
        grid-template-columns: 1fr;
    }

    .career-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-pub-insights {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-pub-header {
        flex-direction: column;
        text-align: center;
    }

    .cert-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }
}
