/* Salary Module Styles - Prefixed with sal- */

.sal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sal-title {
    font-size: 1.75rem;
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
}

/* Form Styles - Compact Horizontal Layout */
.sal-form {
    background: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.sal-form-group {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
}

.sal-form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
    font-size: 12px;
}

.sal-form-group select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 13px;
    background: white;
    color: #1e293b;
}

.sal-form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

.sal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sal-btn-primary {
    background: #007bff;
    color: white;
}

.sal-btn-primary:hover {
    background: #0056b3;
}

.sal-btn-secondary {
    background: #6c757d;
    color: white;
}

/* Results Section */
.sal-results {
    animation: fadeIn 0.5s ease;
}

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

.sal-results-header h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
}

/* Quality Badge */
.sal-quality-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
}

.sal-quality-badge::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
}

.sal-quality-excellent {
    background: #d4edda;
    color: #155724;
}

.sal-quality-good {
    background: #d1ecf1;
    color: #0c5460;
}

.sal-quality-fair {
    background: #fff3cd;
    color: #856404;
}

.sal-quality-limited {
    background: #f8d7da;
    color: #721c24;
}

.sal-quality-excellent::after {
    background: #28a745;
}

.sal-quality-good::after {
    background: #17a2b8;
}

.sal-quality-fair::after {
    background: #ffc107;
}

.sal-quality-limited::after {
    background: #dc3545;
}

/* Data Insight Bar (New Context Bar) */
.sal-insight-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    flex-wrap: wrap;
    gap: 15px;
}

.sal-insight-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 250px;
}

.sal-insight-icon {
    font-size: 20px;
}

.sal-insight-text {
    font-weight: 500;
    color: #2c3e50;
    font-size: 14px;
}

.sal-insight-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #6c757d;
    font-size: 13px;
}

.sal-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sal-stat-item strong {
    color: #495057;
}

.sal-divider {
    color: #dee2e6;
}

/* Insight Bar Variants */
.sal-bar-local {
    border-left: 4px solid #28a745;
}

.sal-bar-national_adjusted {
    border-left: 4px solid #17a2b8;
}

.sal-bar-local_insufficient {
    border-left: 4px solid #ffc107;
}

/* Percentile Cards */
.sal-percentiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.sal-percentile-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.sal-percentile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sal-percentile-card.sal-featured {
    border-color: #007bff;
    background: #f0f8ff;
}

.sal-percentile-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sal-percentile-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.sal-percentile-description {
    font-size: 12px;
    color: #6c757d;
}

/* Career Path Section */
.sal-career-section {
    margin: 40px 0;
}

.sal-career-section h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.sal-career-path {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    margin-bottom: 20px;
}

.sal-career-step {
    min-width: 180px;
    padding: 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
}

.sal-career-step.current {
    border-color: #28a745;
    background: #f0fff4;
}

.sal-career-step-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.sal-career-step-salary {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}

.sal-career-step-progression {
    font-size: 14px;
    color: #28a745;
}

.sal-arrow {
    font-size: 18px;
    margin-right: 5px;
}

/* Trends Section */
.sal-trends-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

.sal-trends-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.sal-chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}

/* Empty State */
.sal-empty-state {
    background: white;
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    margin: 40px 0;
    animation: fadeIn 0.5s ease;
}

.sal-empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.sal-empty-state h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.sal-empty-state p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Loading State */
.sal-loading {
    text-align: center;
    padding: 60px 20px;
}

.sal-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Alerts */
.sal-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    animation: slideDown 0.3s ease;
}

.sal-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* No Data Message */
.sal-no-data {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    animation: fadeIn 0.5s ease;
}

.sal-no-data-content h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.sal-no-data-content p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sal-no-data-suggestions {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.sal-no-data-suggestions h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1rem;
}

.sal-no-data-suggestions ul {
    margin: 0;
    padding-left: 20px;
}

.sal-no-data-suggestions li {
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.5;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   TWO-COLUMN LAYOUT - Salary Report Redesign
   ============================================ */

/* Two Column Grid Container */
.sal-two-col {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.sal-main-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sal-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

/* Section Card Base */
.sal-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.sal-section-sm {
    padding: 16px;
}

.sal-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.sal-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sal-section-title-icon {
    font-size: 1.1rem;
}

.sal-section-link {
    font-size: 12px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.sal-section-link:hover {
    text-decoration: underline;
}

/* Updated Results Header for Two-Column Layout */
.sal-results-header-new {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sal-header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.sal-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.sal-header-left h2 {
    font-size: 1.4rem;
    margin: 0 0 4px 0;
    font-weight: 600;
    color: white;
}

.sal-header-subtitle {
    font-size: 13px;
    opacity: 0.85;
}

.sal-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sal-meta-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

.sal-meta-stats span {
    opacity: 0.9;
}

/* Insight Tag - Old standalone version (keep for backwards compatibility) */
.sal-insight-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: #166534;
}

.sal-insight-tag.info {
    background: #eff6ff;
    border-left-color: #3b82f6;
    color: #1e40af;
}

.sal-insight-tag.warning {
    background: #fef9c3;
    border-left-color: #eab308;
    color: #854d0e;
}

/* Insight Tag - Integrated into header version */
.sal-insight-tag-integrated {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    width: 100%;
}

.sal-insight-tag-integrated:empty {
    display: none;
}

.sal-insight-tag-integrated .sal-insight-icon {
    font-size: 14px;
}

.sal-insight-tag-integrated.sal-insight-local {
    background: rgba(34, 197, 94, 0.2);
}

.sal-insight-tag-integrated.sal-insight-adjusted {
    background: rgba(59, 130, 246, 0.2);
}

.sal-insight-tag-integrated.sal-insight-warning {
    background: rgba(234, 179, 8, 0.2);
}

/* ============================================
   VISUAL RANGE BAR
   ============================================ */

.sal-range-container {
    position: relative;
    margin: 20px 20px 30px;
    padding-top: 55px;
}

.sal-range-track {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    position: relative;
}

.sal-range-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #93c5fd 0%, #3b82f6 50%, #1d4ed8 100%);
    border-radius: 5px;
}

.sal-range-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #3b82f6;
    border-radius: 50%;
    z-index: 2;
}

.sal-range-marker-median {
    width: 20px;
    height: 20px;
    border-color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
}

.sal-range-label {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.sal-range-value {
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
    display: block;
}

.sal-range-value-highlight {
    color: #1d4ed8;
}

.sal-range-percentile {
    font-size: 10px;
    color: #64748b;
    margin-top: 2px;
    display: block;
}

/* ============================================
   UNIT TOGGLE (Annual/Hourly)
   ============================================ */

.sal-unit-toggle-compact {
    display: flex;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 3px;
}

.sal-toggle-btn-sm {
    padding: 6px 14px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sal-toggle-btn-sm:hover {
    color: #475569;
}

.sal-toggle-btn-sm.active {
    background: white;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PERCENTILE CARDS ROW (Updated for two-column)
   ============================================ */

.sal-percentiles-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.sal-percentile-card-new {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.sal-percentile-card-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sal-percentile-card-new.featured {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #3b82f6;
}

.sal-percentile-card-new .sal-percentile-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.sal-percentile-card-new .sal-percentile-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.sal-percentile-card-new.featured .sal-percentile-value {
    color: #1d4ed8;
}

.sal-percentile-hourly {
    font-size: 13px;
    color: #64748b;
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.sal-skills-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sal-skill-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sal-skill-row:hover {
    background: #f1f5f9;
}

.sal-skill-row.certification {
    background: #fef9e7;
    border-left: 3px solid #f59e0b;
}

.sal-skill-row.technical {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
}

.sal-skill-row.soft {
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
}

.sal-skill-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
}

.sal-skill-freq {
    font-size: 12px;
    color: #64748b;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* ============================================
   CERTIFICATION IMPACT BARS
   ============================================ */

.sal-impact-compact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sal-impact-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sal-impact-name {
    width: 100px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    flex-shrink: 0;
}

.sal-impact-bar-sm {
    flex: 1;
    height: 22px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.sal-impact-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    border-radius: 4px;
    min-width: 50px;
}

.sal-impact-fill.positive {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.sal-impact-fill.baseline {
    background: #94a3b8;
    justify-content: center;
}

.sal-impact-fill.negative {
    background: linear-gradient(90deg, #f87171, #ef4444);
}

/* ============================================
   CAREER PATH VERTICAL TIMELINE
   ============================================ */

.sal-career-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sal-career-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.sal-career-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #cbd5e1;
    position: relative;
    flex-shrink: 0;
    margin-top: 4px;
}

.sal-career-marker::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 24px);
    background: #e2e8f0;
    margin-top: 2px;
}

.sal-career-item:last-child .sal-career-marker::after {
    display: none;
}

.sal-career-marker.current {
    background: #22c55e;
    border-color: #22c55e;
    width: 14px;
    height: 14px;
    margin-top: 3px;
}

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

.sal-career-title-sm {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.sal-career-item.current .sal-career-title-sm {
    color: #16a34a;
}

.sal-career-meta {
    font-size: 12px;
    color: #64748b;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sal-career-salary-sm {
    font-weight: 600;
    color: #3b82f6;
}

/* ============================================
   QUICK STATS ROW
   ============================================ */

.sal-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.sal-quick-stat {
    text-align: center;
    padding: 12px 8px;
    background: #f8fafc;
    border-radius: 8px;
}

.sal-quick-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.sal-quick-stat-value.positive {
    color: #16a34a;
}

.sal-quick-stat-value.negative {
    color: #dc2626;
}

.sal-quick-stat-label {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

/* ============================================
   FOOTER NOTE
   ============================================ */

.sal-footer-note {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-top: 16px;
}

.sal-page-footer {
    text-align: center;
    padding: 24px 20px;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 24px;
}

.sal-page-footer a {
    color: #3b82f6;
}

/* ============================================
   RESPONSIVE DESIGN - Two Column Layout
   ============================================ */

@media (max-width: 992px) {
    .sal-two-col {
        grid-template-columns: 1fr;
    }

    .sal-side-col {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .sal-header-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sal-header-right {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .sal-container {
        max-width: 100%;
        padding: 12px;
    }

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

    .sal-percentiles-row {
        grid-template-columns: 1fr;
    }

    .sal-quick-stats {
        grid-template-columns: 1fr;
    }

    .sal-header-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sal-meta-stats {
        flex-direction: column;
        gap: 4px;
    }

    .sal-range-container {
        margin: 45px 10px 25px;
        padding-top: 30px;
    }

    .sal-range-value {
        font-size: 11px;
    }

    .sal-range-label {
        top: 0;
    }

    .sal-impact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .sal-impact-name {
        width: auto;
    }

    .sal-impact-bar-sm {
        width: 100%;
    }
}

/* ============================================
   LEGACY RESPONSIVE (Preserved)
   ============================================ */

/* Responsive Design */
@media (max-width: 768px) {
    .sal-form {
        flex-direction: column;
    }

    .sal-form-group {
        width: 100%;
    }

    .sal-btn-primary {
        width: 100%;
    }

    .sal-percentiles {
        grid-template-columns: 1fr;
    }

    .sal-career-path {
        flex-direction: column;
        align-items: stretch;
    }

    .sal-insight-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .sal-insight-stats {
        flex-wrap: wrap;
        width: 100%;
        border-top: 1px solid #e9ecef;
        padding-top: 15px;
    }
}

/* ============================================
   pSEO STATE SALARY PAGES (Tier 1)
   ============================================ */

/* State Page Hero */
.sal-state-hero {
    background: #1a365d;
    color: white;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    text-align: center;
}

.sal-state-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.sal-state-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

.sal-state-hero-subtitle strong {
    color: #90cdf4;
    font-size: 1.3rem;
}

.sal-state-vs-national {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.sal-state-vs-national.positive {
    background: rgba(72, 187, 120, 0.25);
    color: #9ae6b4;
}

.sal-state-vs-national.negative {
    background: rgba(245, 101, 101, 0.25);
    color: #feb2b2;
}

/* State Page Quick Stats */
.sal-state-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.sal-state-quick-stats .sal-quick-stat {
    background: white;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sal-state-quick-stats .sal-quick-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.sal-state-quick-stats .sal-quick-stat-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Salary Table */
.sal-state-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sal-state-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sal-state-table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.sal-state-table thead th small {
    display: block;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #94a3b8;
    font-size: 10px;
    margin-top: 2px;
}

.sal-state-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.sal-state-table tbody tr:hover {
    background: #f8fafc;
}

.sal-state-table td {
    padding: 12px 16px;
    color: #334155;
}

.sal-state-table-title {
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.sal-state-table-median {
    font-weight: 700;
    color: #1d4ed8;
}

/* Section Description */
.sal-state-section-desc {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Experience Breakdown Bars */
.sal-state-exp-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sal-state-exp-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sal-state-exp-label {
    width: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    flex-shrink: 0;
    text-align: right;
}

.sal-state-exp-bar-track {
    flex: 1;
    height: 28px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}

.sal-state-exp-bar-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 6px;
    transition: width 0.5s ease;
    min-width: 20px;
}

.sal-state-exp-value {
    width: 80px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    flex-shrink: 0;
}

/* Methodology Section */
.sal-state-methodology {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
}

.sal-state-methodology p {
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.sal-state-methodology ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.sal-state-methodology li {
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 6px;
}

/* CTA Banner */
.sal-state-cta {
    background: #1a365d;
    color: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin: 24px 0;
}

.sal-state-cta h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.sal-state-cta p {
    opacity: 0.9;
    font-size: 15px;
    margin-bottom: 16px;
}

.sal-state-cta .sal-btn-primary {
    background: white;
    color: #1a365d;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 8px;
}

.sal-state-cta .sal-btn-primary:hover {
    background: #edf2f7;
    text-decoration: none;
    color: #1a365d;
}

/* CTA Inline (Hub Page) */
.sal-state-cta-inline {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 20px;
    text-align: center;
}

.sal-state-cta-inline p {
    margin: 0;
    font-size: 14px;
    color: #1e40af;
}

.sal-state-cta-inline a {
    color: #1d4ed8;
    font-weight: 600;
}

/* Related States */
.sal-state-related {
    margin-bottom: 24px;
}

.sal-state-related-link {
    display: block;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sal-state-related-link:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    text-decoration: none;
    transform: translateY(-1px);
}

.sal-state-related-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

.sal-state-related-footer a {
    color: #3b82f6;
    font-weight: 500;
}

/* State Card (Hub Page) */
.sal-state-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sal-state-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.sal-state-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sal-state-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.sal-state-card-name {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
}

.sal-state-card-code {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Breadcrumb Override */
.sal-state-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 16px;
    font-size: 13px;
}

.sal-state-breadcrumb .breadcrumb-item a {
    color: #3b82f6;
}

.sal-state-breadcrumb .breadcrumb-item.active {
    color: #64748b;
}

/* ============================================
   pSEO STATE PAGES - RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .sal-state-hero {
        padding: 24px 16px;
    }

    .sal-state-hero h1 {
        font-size: 1.5rem;
    }

    .sal-state-hero-subtitle {
        font-size: 0.95rem;
    }

    .sal-state-quick-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sal-state-quick-stats .sal-quick-stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
    }

    .sal-state-quick-stats .sal-quick-stat-value {
        font-size: 1.2rem;
    }

    .sal-state-table {
        font-size: 13px;
    }

    .sal-state-table thead th {
        padding: 8px 10px;
        font-size: 11px;
    }

    .sal-state-table td {
        padding: 10px;
    }

    .sal-state-exp-row {
        flex-wrap: wrap;
    }

    .sal-state-exp-label {
        width: 100%;
        text-align: left;
    }

    .sal-state-exp-bar-track {
        flex: 1;
    }

    .sal-state-cta {
        padding: 24px 16px;
    }

    .sal-state-cta .sal-btn-primary {
        width: 100%;
        display: block;
    }
}

/* ============================================
   JOBS BY CITY SECTION (pSEO State Pages)
   ============================================ */

.sal-state-jobs {
    margin-bottom: 24px;
}

.sal-state-section-desc {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

/* City Card */
.sal-city-card {
    display: block;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    height: 100%;
}

.sal-city-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.sal-city-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sal-city-name {
    font-weight: 600;
    font-size: 15px;
    color: #1e293b;
}

.sal-city-job-count {
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 12px;
}

.sal-city-jobs-preview {
    margin-bottom: 10px;
}

.sal-city-job-title {
    font-size: 13px;
    color: #475569;
    padding: 4px 0;
    border-bottom: 1px dashed #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sal-city-job-title:last-child {
    border-bottom: none;
}

.sal-city-companies {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sal-city-companies small {
    color: #64748b;
}

.sal-state-jobs-footer {
    text-align: center;
    margin-top: 20px;
}

.sal-btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sal-btn-secondary:hover {
    background: #3b82f6;
    color: white;
    text-decoration: none;
}

/* Jobs by City - Responsive */
@media (max-width: 768px) {
    .sal-city-card {
        padding: 12px;
    }

    .sal-city-name {
        font-size: 14px;
    }

    .sal-city-job-count {
        font-size: 11px;
        padding: 3px 8px;
    }

    .sal-city-jobs-preview {
        display: none;
    }

    .sal-city-companies {
        font-size: 11px;
    }

    .sal-btn-secondary {
        width: 100%;
        display: block;
    }
}

/* ============================================
   pSEO TITLE SALARY PAGES (Tier 2)
   ============================================ */

/* Title Page Hero */
.sal-title-hero {
    background: #1a365d;
    color: white;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    text-align: center;
}

.sal-title-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.sal-title-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.sal-title-hero-subtitle strong {
    color: #90cdf4;
    font-size: 1.3rem;
}

.sal-title-hero-jobs {
    margin-top: 16px;
}

.sal-title-job-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Title Page Quick Stats */
.sal-title-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.sal-title-quick-stats .sal-quick-stat {
    background: white;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Title Page Breadcrumb */
.sal-title-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 16px;
    font-size: 13px;
}

.sal-title-breadcrumb .breadcrumb-item a {
    color: #3b82f6;
}

.sal-title-breadcrumb .breadcrumb-item.active {
    color: #64748b;
}

/* Title Experience Bars */
.sal-title-exp-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sal-title-exp-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sal-title-exp-label {
    width: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    flex-shrink: 0;
    text-align: right;
}

.sal-title-exp-bar-track {
    flex: 1;
    height: 28px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}

.sal-title-exp-bar-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.sal-title-exp-value {
    width: 90px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-align: right;
}

/* Title State Cards */
.sal-title-state-card {
    display: block;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    text-align: center;
}

.sal-title-state-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.sal-title-state-name {
    font-weight: 600;
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 8px;
}

.sal-title-state-salary {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 4px;
}

.sal-title-state-diff {
    font-size: 12px;
    font-weight: 500;
}

.sal-title-state-diff.positive {
    color: #059669;
}

.sal-title-state-diff.negative {
    color: #dc2626;
}

.sal-title-states-footer {
    text-align: center;
    margin-top: 16px;
    color: #64748b;
    font-size: 14px;
}

/* Title Career Path Flow */
.sal-title-career-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
}

.sal-title-career-step {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 24px;
    text-align: center;
    min-width: 180px;
}

.sal-title-career-step.current {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.sal-title-career-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.sal-title-career-title {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    display: block;
    text-decoration: none;
}

.sal-title-career-title:hover {
    color: #3b82f6;
    text-decoration: none;
}

.sal-title-career-title.current-title {
    color: #3b82f6;
}

.sal-title-career-salary {
    font-size: 1.1rem;
    font-weight: 700;
    color: #059669;
    margin-top: 8px;
}

.sal-title-career-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    font-size: 24px;
}

.sal-title-career-uplift {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
}

/* Title Job Market */
.sal-title-subsection-title {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
}

.sal-title-job-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sal-title-job-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.sal-title-job-list li:last-child {
    border-bottom: none;
}

.sal-title-job-list a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.sal-title-job-list a:hover {
    text-decoration: underline;
}

.sal-title-job-count {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Title CTA */
.sal-title-cta {
    background: #1a365d;
    color: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin: 24px 0;
}

.sal-title-cta h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.sal-title-cta p {
    opacity: 0.9;
    font-size: 15px;
    margin-bottom: 16px;
}

.sal-title-cta .sal-btn-primary {
    background: white;
    color: #1a365d;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 8px;
}

.sal-title-cta .sal-btn-primary:hover {
    background: #edf2f7;
    text-decoration: none;
    color: #1a365d;
}

/* Title Related Links */
.sal-title-related {
    margin-bottom: 24px;
}

.sal-title-related-link {
    display: block;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sal-title-related-link:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    text-decoration: none;
    transform: translateY(-1px);
}

.sal-title-related-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

.sal-title-related-footer a {
    color: #3b82f6;
    font-weight: 500;
}

/* ============================================
   pSEO TITLE PAGES - RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .sal-title-hero {
        padding: 24px 16px;
    }

    .sal-title-hero h1 {
        font-size: 1.5rem;
    }

    .sal-title-hero-subtitle {
        font-size: 0.95rem;
    }

    .sal-title-quick-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sal-title-quick-stats .sal-quick-stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
    }

    .sal-title-exp-row {
        flex-wrap: wrap;
    }

    .sal-title-exp-label {
        width: 100%;
        text-align: left;
        margin-bottom: 4px;
    }

    .sal-title-exp-bar-track {
        flex: 1;
    }

    .sal-title-career-flow {
        flex-direction: column;
    }

    .sal-title-career-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }

    .sal-title-career-step {
        width: 100%;
    }

    .sal-title-cta {
        padding: 24px 16px;
    }

    .sal-title-cta .sal-btn-primary {
        width: 100%;
        display: block;
    }
}

/* ============================================
   HOURLY RATE SECTION (Apprentice Pages)
   ============================================ */

.sal-title-hourly {
    background: #fffbeb;
    border: 1px solid #fbd38d;
}

.sal-hourly-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.sal-hourly-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.sal-hourly-card.highlight {
    border-color: #d69e2e;
    box-shadow: 0 2px 8px rgba(214, 158, 46, 0.2);
}

.sal-hourly-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 4px;
}

.sal-hourly-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #d69e2e;
}

.sal-hourly-card.highlight .sal-hourly-value {
    color: #b7791f;
}

.sal-hourly-annual {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

/* Hourly States Table */
.sal-title-hourly-states {
    margin-top: 16px;
    overflow-x: auto;
}

.sal-title-hourly-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sal-title-hourly-table th {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 2px solid #fcd34d;
    text-align: left;
}

.sal-title-hourly-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #fef3c7;
    color: #1e293b;
}

.sal-title-hourly-table tbody tr:hover {
    background: #fffbeb;
}

.sal-title-hourly-table a {
    color: #92400e;
    text-decoration: none;
    font-weight: 500;
}

.sal-title-hourly-table a:hover {
    color: #78350f;
    text-decoration: underline;
}

/* Hourly Section - Responsive */
@media (max-width: 768px) {
    .sal-hourly-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sal-hourly-grid .sal-hourly-card:last-child {
        grid-column: span 2;
    }

    .sal-hourly-value {
        font-size: 1.2rem;
    }

    .sal-title-hourly-table {
        font-size: 13px;
    }

    .sal-title-hourly-table th,
    .sal-title-hourly-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .sal-hourly-grid {
        grid-template-columns: 1fr;
    }

    .sal-hourly-grid .sal-hourly-card:last-child {
        grid-column: span 1;
    }
}