/**
 * Insights and Recommendations Page Styles
 * Matches community-dashboard.css structure
 */

/* ============================================================
   TOPBAR STYLES (same as dashboard)
   ============================================================ */

   .cmdb-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #fff;
    border: 1px solid #e0e3e8;
    border-radius: 0;
    gap: 20px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.cmdb-topbar--reversed {
    flex-direction: row-reverse;
}

.cmdb-topbar-temp {
    display: flex;
    justify-content: space-between;
    flex-direction: row !important;
    align-items: center;
}

.cmdb-topbar-temp .cmdb-topbar-left {
    direction: rtl;
    text-align: right;
}

.cmdb-topbar-temp .cmdb-topbar-right {
    direction: rtl;
}

.cmdb-topbar-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cmdb-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cmdb-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.cmdb-subtitle {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

/* ============================================================
   SEARCH BOX
   ============================================================ */

.cmdb-search {
    position: relative;
    display: flex;
    align-items: center;
}

.cmdb-search input {
    padding: 10px 40px 10px 14px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
    color: #333;
    width: 220px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cmdb-search input:focus {
    border-color: #2196f3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.15);
}

.cmdb-search input::placeholder {
    color: #999;
}

.cmdb-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================================
   ICON BUTTONS (HIDDEN)
   ============================================================ */

.cmdb-icon-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.cmdb-bell {
    position: relative;
}

.cmdb-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #e91e63;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* ============================================================
   LOGO
   ============================================================ */

.cmdb-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.cmdb-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.cmdb-page-header {
    margin: 24px 0 16px;
    text-align: left;
}

.cmdb-page-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
}

.cmdb-page-subtitle {
    margin: 0;
    font-size: 14px;
    color: #777777;
}

/* ============================================================
   MAIN WRAPPER (same as dashboard .training-and-jobs-wrapper)
   ============================================================ */

.insights-wrapper {
    background-color: #f8f9fa;
    padding: 24px;
    border: 1px solid #e0e3e8 !important;
    margin-top: -1px;
    min-height: 400px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.insights-wrapper.cmdb-lang-he {
    direction: rtl;
}

.insights-wrapper .cmdb-page-header {
    text-align: right;
    margin: 0 0 24px;
}

/* ============================================================
   INSIGHTS HEADER BLOCK (Fixed top block)
   ============================================================ */

.insights-header-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
}

.insights-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.insights-header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insights-header-icon svg {
    width: 40px;
    height: 40px;
    fill: #e91e63;
}

.insights-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.insights-header-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.insights-header-subtitle {
    margin: 0;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
}

.insights-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.insights-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.insights-btn svg {
    width: 18px;
    height: 18px;
}

.insights-btn--outline {
    background: #fff;
    border: 1px solid #e0e3e8;
    color: #555;
}

.insights-btn--outline:hover {
    background: #f8f9fa;
    border-color: #d0d3d8;
}

.insights-btn--primary {
    background: #e91e63;
    border: 1px solid #e91e63;
    color: #fff;
}

.insights-btn--primary:hover {
    background: #d81b60;
    border-color: #d81b60;
}

/* ============================================================
   TABS NAVIGATION
   ============================================================ */

.insights-tabs {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    background: transparent;
    padding: 0;
    margin-bottom: 24px;
    width: 100%;
}

.insights-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 8px;
}

.insights-tab svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    flex-shrink: 0;
}

.insights-tab:hover {
    color: #444;
}

.insights-tab.active {
    background: #fff;
    color: #333;
    font-weight: 600;
}

/* ============================================================
   CONTENT AREA
   ============================================================ */

.insights-content {
    min-height: 200px;
}

.insights-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============================================================
   FILTERS BOX
   ============================================================ */

.insights-filters-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e0e3e8;
	margin-bottom: 5px;
}

.insights-filters-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.insights-filters-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insights-filters-icon svg {
    width: 24px;
    height: 24px;
    stroke: #e91e63;
}

.insights-filters-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.insights-filters-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.insights-filters-subtitle {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.insights-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
}

.insights-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 150px;
}

.insights-filter-label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.insights-filter-select,
#filter-career-track-wrap select {
    padding: 2px 12px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    cursor: pointer;
    min-width: 120px;
    box-shadow: none !important;
    outline: none !important;
    height: auto !important;
    line-height: normal !important;
}

.insights-filter-select:focus,
#filter-career-track-wrap select:focus {
    outline: none !important;
    border-color: #e91e63 !important;
    box-shadow: none !important;
}

/* Override any Select2 or other library styles for career_track */
#filter-career-track-wrap .select2-container {
    min-width: 120px !important;
}

#filter-career-track-wrap .select2-container .select2-selection--single {
    padding: 2px 12px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    height: auto !important;
    min-height: 38px !important;
}

#filter-career-track-wrap .select2-container .select2-selection--single:focus,
#filter-career-track-wrap .select2-container.select2-container--focus .select2-selection--single {
    outline: none !important;
    border-color: #e91e63 !important;
    box-shadow: none !important;
}

#filter-career-track-wrap .select2-container .select2-selection__rendered {
    color: #333 !important;
    line-height: normal !important;
    padding: 0 !important;
}

#filter-career-track-wrap .select2-container .select2-selection__arrow {
    height: 100% !important;
}

.insights-filter-remote {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.insights-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.insights-checkbox-label input {
    display: none;
}

.insights-checkbox-box {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insights-checkbox-label input:checked + .insights-checkbox-box {
    background: #e91e63;
    border-color: #e91e63;
}

.insights-checkbox-label input:checked + .insights-checkbox-box::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.insights-filter-link {
    font-size: 13px;
    color: #e91e63;
    text-decoration: none;
}

.insights-filter-link:hover {
    text-decoration: underline;
}

.insights-filter-hint {
    font-size: 12px;
    color: #aaa;
}

/* ============================================================
   STATS CARDS
   ============================================================ */

.insights-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.insights-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid #e0e3e8;
    text-align: right;
}

.insights-stat-label {
    font-size: 13px;
    color: #777;
    margin-bottom: 4px;
}

.insights-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.insights-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.insights-stat-change svg {
    width: 16px;
    height: 16px;
}

.insights-stat-change--up {
    color: #22c55e;
}

.insights-stat-change--up svg {
    stroke: #22c55e;
}

.insights-stat-change--down {
    color: #3b82f6;
}

.insights-stat-change--down svg {
    stroke: #3b82f6;
}

/* ============================================================
   LEADING ROLES BOX
   ============================================================ */

.insights-roles-box {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e3e8;
    overflow: hidden;
}

.insights-roles-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px;
}

.insights-roles-header-right {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.insights-roles-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fce4ec;
    background: rgba(233, 30, 99, 0.15);
    border-radius: 5px;
}

.insights-roles-icon svg {
    width: 24px;
    height: 24px;
    stroke: #e91e63;
}

.insights-roles-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.insights-roles-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.insights-roles-subtitle {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.insights-roles-header-left {
    flex-shrink: 0;
}

/* Roles Top Wrapper (header + stats with gradient) */
.insights-roles-top {
    background: linear-gradient(to left, rgba(233, 30, 99, 0.05), rgba(33, 150, 243, 0.05));
    border-bottom: 1px solid #f0f0f0;
}

/* Roles Stats Row */
.insights-roles-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px 24px;
}

.insights-roles-stat {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
}

.insights-roles-stat-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.insights-roles-stat-icon svg {
    width: 14px;
    height: 14px;
}

.insights-roles-stat-label {
    order: 2;
}

.insights-roles-stat-value {
    flex-basis: 100%;
    text-align: center;
    order: 3;
}

.insights-roles-stat-icon--pink svg {
    stroke: #e91e63;
}

.insights-roles-stat-icon--green svg {
    stroke: #22c55e;
}

.insights-roles-stat-label {
    font-size: 13px;
    color: #777;
}

.insights-roles-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Roles Grid */
.insights-roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
}

/* Roles Loading State */
.insights-roles-loading,
.insights-empty-state {
    color: #777;
    font-size: 14px;
}

/* Role Card */
.insights-role-card {
    border: 1px solid #f0f0f0;
    border-top: 3px solid #e91e63;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(233, 30, 99, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.insights-role-card:hover {
    border-color: #e91e63;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
}

.insights-role-card-header {
    background: transparent;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.insights-role-nav {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.insights-role-nav:hover {
    opacity: 1;
}

.insights-role-nav svg {
    width: 18px;
    height: 18px;
    stroke: #666;
}

.insights-role-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row-reverse;
    margin-left: auto;
}

.insights-role-change {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}

.insights-role-change::before {
    content: "↗";
    font-size: 10px;
}

.insights-role-change--up {
    color: #22c55e;
}

.insights-role-change--down {
    color: #ef4444;
}

.insights-role-change--down::before {
    content: "↘";
}

.insights-role-badge {
    background: #e91e63;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
}

.insights-role-card-body {
    padding: 16px;
    background: transparent;
}

.insights-role-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: right;
}

.insights-role-stats {
    display: flex;
    flex-direction: column-reverse !important;
    gap: 8px;
    margin-bottom: 12px;
}

.insights-role-stat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.insights-role-stat-row svg {
    width: 16px;
    height: 16px;
    stroke: #999;
    order: 1;
}

.insights-role-stat-row .insights-role-stat-label {
    order: 2;
}

.insights-role-stat-row .insights-role-stat-value {
    order: 3;
    margin-right: auto;
}

.insights-role-stat-label {
    font-size: 13px;
    color: #777;
}

.insights-role-stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.insights-role-progress {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.insights-role-progress-header {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.insights-role-progress-header svg {
    width: 16px;
    height: 16px;
    stroke: #999;
    order: 1;
}

.insights-role-progress-header .insights-role-progress-label {
    order: 2;
}

.insights-role-progress-header .insights-role-progress-value {
    order: 3;
    margin-right: auto;
}

.insights-role-progress-label {
    font-size: 13px;
    color: #777;
}

.insights-role-progress-value {
    font-size: 14px;
    font-weight: 600;
    color: #e91e63;
}

.insights-role-progress-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.insights-role-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e91e63 0%, #f48fb1 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ============================================================
   TWO COLUMN CHART BLOCKS
   ============================================================ */

.insights-two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.insights-chart-box {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e3e8;
    overflow: hidden;
}

.insights-chart-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.insights-chart-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insights-chart-icon svg {
    width: 24px;
    height: 24px;
}

.insights-chart-icon--pink svg {
    stroke: #e91e63;
}

.insights-chart-icon--blue svg {
    stroke: #2196f3;
}

.insights-chart-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.insights-chart-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.insights-chart-subtitle {
    margin: 0;
    font-size: 13px;
    color: #777;
}

.insights-chart-content {
    padding: 20px 24px;
    min-height: 200px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .cmdb-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px;
    }

    .cmdb-topbar--reversed {
        flex-direction: column;
    }

    .cmdb-topbar-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .cmdb-search input {
        width: 100%;
        min-width: 180px;
    }

    .insights-wrapper {
        padding: 16px;
    }

    .insights-header-block {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .insights-header-right {
        width: 100%;
    }

    .insights-header-left {
        width: 100%;
        justify-content: flex-start;
    }

    .insights-tabs {
        flex-wrap: nowrap;
    }

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

    .insights-tab {
        padding: 12px 16px;
        font-size: 14px;
    }

    .insights-filters-row {
        gap: 16px;
    }

    .insights-filter-group {
        min-width: 120px;
    }

    .insights-roles-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .insights-roles-header {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .insights-wrapper {
        padding: 12px;
    }

    .insights-header-block {
        padding: 12px;
    }

    .insights-header-icon {
        width: 40px;
        height: 40px;
    }

    .insights-header-icon svg {
        width: 22px;
        height: 22px;
    }

    .insights-header-title {
        font-size: 18px;
    }

    .insights-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .insights-tab {
        padding: 10px 8px;
        font-size: 12px;
    }

    .insights-tab svg {
        width: 14px;
        height: 14px;
    }

    .insights-stats-row {
        grid-template-columns: 1fr;
    }

    .insights-filters-box {
        padding: 16px;
    }

    .insights-stat-card {
        padding: 16px;
    }

    .insights-stat-value {
        font-size: 28px;
    }

    .insights-filter-group {
        width: 100%;
        min-width: auto;
    }

    .insights-roles-grid {
        grid-template-columns: 1fr;
    }

    .insights-roles-header {
        padding: 16px;
    }

    .insights-roles-grid {
        padding: 16px;
        gap: 12px;
    }

    .insights-role-card-body {
        padding: 12px;
    }
}

/* ========================================
   Course Recommendations Tab
   ======================================== */

.courses-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e0e3e8;
}

.courses-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.courses-header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(233, 30, 99, 0.05);
    border-radius: 5px;
}

.courses-header-icon svg {
    width: 24px;
    height: 24px;
    stroke: #e91e63;
}

.courses-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.courses-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.courses-subtitle {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Course Card */
.course-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid #e0e3e8;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.course-card:hover {
    border-color: #ccc;
}

/* Checked state - only checkbox selected, card stays white */
.course-card.checked {
    background: #fff;
    border-color: #e0e3e8;
}

/* Active state - clicked on card itself (overrides checked) */
.course-card.active {
    background: rgba(233, 30, 99, 0.08);
    border-color: #e91e63;
}

/* Active + Checked - active styling takes priority */
.course-card.active.checked {
    background: rgba(233, 30, 99, 0.08);
    border-color: #e91e63;
}

/* Course Checkbox */
.course-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding-top: 4px;
}

.course-checkbox input[type="checkbox"] {
    display: none;
}

.course-checkbox-box {
    width: 14px;
    height: 14px;
    border: 1.5px solid #ccc;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #fff;
}

.course-checkbox-box::after {
    content: '';
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
}

.course-checkbox input[type="checkbox"]:checked + .course-checkbox-box {
    background: #e91e63;
    border-color: #e91e63;
}

.course-checkbox input[type="checkbox"]:checked + .course-checkbox-box::after {
    transform: rotate(45deg) scale(1);
}

/* Course Content */
.course-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.course-duration {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.course-skills {
    margin: 0;
    font-size: 13px;
    color: #888;
}


.course-members {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 2px 10px;
    background: rgba(33, 150, 243, 0.08);
    border: 1px solid rgba(33, 150, 243, 0.25);
    border-radius: 6px;
    font-size: 12px;
    color: #2196f3;
    width: fit-content;
}

.course-members svg {
    width: 12px;
    height: 12px;
    stroke: #2196f3;
}

/* Tab Badge */
.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #e91e63;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    margin-right: 8px;
}

/* ========================================
   Course Details Section
   ======================================== */

.course-details-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e0e3e8;
    margin-top: 20px;
}

.course-details-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.course-details-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(233, 30, 99, 0.05);
    border-radius: 5px;
}

.course-details-icon svg {
    width: 24px;
    height: 24px;
    stroke: #e91e63;
}

.course-details-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-details-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.course-details-subtitle {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.course-details-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.course-details-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.course-detail-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

.course-detail-stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(233, 30, 99, 0.1);
    border-radius: 8px;
}

.course-detail-stat-icon svg {
    width: 20px;
    height: 20px;
    stroke: #e91e63;
}

.course-detail-stat-icon--green {
    background: rgba(76, 175, 80, 0.1);
}

.course-detail-stat-icon--green svg {
    stroke: #4caf50;
}

.course-detail-stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.course-detail-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.course-detail-stat-value--green {
    color: #4caf50;
}

.course-detail-stat-label {
    font-size: 13px;
    color: #777;
}

.course-details-skills {
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.course-details-skills-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.course-details-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-skill-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(33, 150, 243, 0.08);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: #2196f3;
}

/* ========================================
   Course Impact Section
   ======================================== */

.course-impact-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 2px solid #e91e63;
    margin-top: 20px;
}

.course-impact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.course-impact-title-area {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.course-impact-icon {
    color: #4caf50;
    font-size: 18px;
    font-weight: bold;
}

.course-impact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-impact-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.course-impact-title span {
    color: #4caf50;
}

.course-impact-subtitle {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.course-impact-filter {
    flex-shrink: 0;
}

.course-impact-select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
}

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

.course-impact-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
}

.course-impact-stat--pink {
    background: rgba(233, 30, 99, 0.08);
}

.course-impact-stat--green {
    background: rgba(76, 175, 80, 0.08);
}

.course-impact-stat--blue {
    background: rgba(33, 150, 243, 0.08);
}

.course-impact-stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.course-impact-stat--pink .course-impact-stat-icon {
    background: rgba(233, 30, 99, 0.15);
}

.course-impact-stat--pink .course-impact-stat-icon svg {
    width: 20px;
    height: 20px;
    stroke: #e91e63;
}

.course-impact-stat--green .course-impact-stat-icon {
    background: rgba(76, 175, 80, 0.15);
}

.course-impact-stat--green .course-impact-stat-icon svg {
    width: 20px;
    height: 20px;
    stroke: #4caf50;
}

.course-impact-stat--blue .course-impact-stat-icon {
    background: rgba(33, 150, 243, 0.15);
}

.course-impact-stat--blue .course-impact-stat-icon svg {
    width: 20px;
    height: 20px;
    stroke: #2196f3;
}

.course-impact-stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.course-impact-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.course-impact-stat-label {
    font-size: 13px;
    color: #666;
}

/* ========================================
   Relevant Roles Section
   ======================================== */

.relevant-roles-section {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #e0e3e8;
    border-radius: 10px;
    background: #fff;
}

.relevant-roles-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.relevant-roles-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.relevant-roles-icon svg {
    width: 20px;
    height: 20px;
    stroke: #4caf50;
}

.relevant-roles-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.relevant-roles-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.relevant-roles-subtitle {
    margin: 0;
    font-size: 14px;
    color: #4caf50;
}

.relevant-roles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.relevant-role-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid #e0e3e8;
    border-radius: 10px;
    background: #fff;
}

.relevant-role-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.relevant-role-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.relevant-role-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.relevant-role-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.relevant-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.relevant-role-jobs {
    margin: 0;
    font-size: 13px;
    color: #4caf50;
}

.relevant-role-members {
    margin: 0;
    font-size: 13px;
    color: #4caf50;
}

.relevant-role-progress-area {
    width: 100%;
}

.relevant-role-count {
    font-size: 13px;
    color: #666;
}

.relevant-role-progress {
    width: 100%;
    height: 8px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.relevant-role-progress-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e0e0e0;
    border-radius: 4px;
}

.relevant-role-progress-fill {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: #4caf50;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.relevant-roles-summary {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.relevant-roles-summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.relevant-roles-summary-label {
    font-size: 14px;
    color: #666;
}

.relevant-roles-summary-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* ========================================
   Course Info Section
   ======================================== */

.course-info-section {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.course-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.course-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-info-label {
    font-size: 14px;
    color: #666;
}

.course-info-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.course-info-value--large {
    font-size: 22px;
}

.course-info-skills {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.course-info-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-info-skill-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #2196f3;
    border-radius: 20px;
    font-size: 13px;
    color: #2196f3;
}

/* ========================================
   Course Action Buttons
   ======================================== */

.course-action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.course-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.course-action-btn svg {
    width: 20px;
    height: 20px;
}

.course-action-btn--primary {
    background: #e91e63;
    color: #fff;
    border: none;
}

.course-action-btn--primary:hover {
    background: #d81b60;
}

.course-action-btn--primary svg {
    stroke: #fff;
}

.course-action-btn--outline {
    background: #fff;
    color: #333;
    border: 1px solid #e0e3e8;
}

.course-action-btn--outline:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.course-action-btn--outline svg {
    stroke: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .courses-section {
        padding: 16px;
    }
    
    .course-card {
        padding: 12px 16px;
    }
    
    .course-details-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .course-impact-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .course-impact-stats {
        grid-template-columns: 1fr;
    }
    
    .relevant-role-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .relevant-role-progress-area {
        width: 100%;
    }
    
    .relevant-roles-summary {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   Compare Courses Tab
   ======================================== */

/* Empty State */
.compare-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
}

.compare-empty-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.compare-empty-icon svg {
    width: 100%;
    height: 100%;
    stroke: #999;
}

.compare-empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.compare-empty-text {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
}

.compare-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #e91e63;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.compare-empty-btn:hover {
    background: #d81b60;
}

.compare-empty-btn svg {
    width: 18px;
    height: 18px;
}

/* Comparison Table Wrapper */
.compare-table-wrapper {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

/* Header */
.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.compare-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-header-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-header-icon svg {
    width: 24px;
    height: 24px;
    stroke: #e91e63;
}

.compare-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.compare-header-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.compare-header-subtitle {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.compare-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.compare-export-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.compare-export-btn svg {
    width: 16px;
    height: 16px;
}

/* Comparison Table */
.compare-table {
    width: 100%;
    background: #fff;
}

.compare-row {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
}

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

.compare-row--header {
    background: #fff;
}

.compare-row--section {
    background: #f8f9fa;
}

.compare-cell {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    align-items: center;
}

.compare-cell--label {
    flex: 0 0 200px;
    font-size: 14px;
    color: #555;
    gap: 8px;
    background: #fff;
}

.compare-cell--label svg {
    stroke: #888;
    flex-shrink: 0;
}

.compare-cell--full {
    flex: 1 1 100%;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.compare-cell--course {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 20px;
}

.compare-course-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.compare-course-provider {
    font-size: 12px;
    color: #888;
}

.compare-cell--value {
    font-size: 14px;
    color: #333;
    justify-content: center;
    text-align: center;
}

/* Skills Tags in Comparison */
.compare-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.compare-skill-tag {
    display: inline-flex;
    padding: 2px 4px;
    background: #fff;
    border: 1px solid #2196f3;
    border-radius: 4px;
    font-size: 11px;
    color: #2196f3;
    font-weight: 600;
}

/* Quick Summary */
.compare-summary {
    margin: 20px;
    background: rgba(233, 30, 99, 0.08);
    border: 1px solid rgba(233, 30, 99, 0.3);
    border-radius: 10px;
}

.compare-summary-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 14px 20px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.compare-summary-header svg {
    width: 16px;
    height: 16px;
    stroke: #e91e63;
}

.compare-summary-stats {
    display: flex;
    justify-content: space-around;
    padding: 0 20px 16px;
}

.compare-summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.compare-summary-label {
    font-size: 12px;
    color: #666;
}

.compare-summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .compare-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .compare-cell--label {
        flex: 0 0 120px;
        font-size: 12px;
    }
    
    .compare-cell {
        padding: 12px;
        font-size: 12px;
    }
    
    .compare-course-name {
        font-size: 13px;
    }
}


/* Top skills chart */
.insights-skills-card {
  border-radius: 16px;
  padding: 16px;
}

.insights-skills-chart-wrap {
  width: 100%;
}

.insights-skills-gainers {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.insights-skill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.insights-skill-name {
  opacity: 0.9;
}

.insights-skill-count {
  font-weight: 600;
}

.insights-chart-actions{
  display:flex;
  justify-content:flex-end;
  margin-bottom:12px;
}

.insights-skills-chart-wrap{
  width:100%;
  height:260px; /* כדי ש-Chart.js יקבל גובה קבוע */
}

.insights-chart-note{
  margin-top:10px;
  font-size:12px;
  color:#999;
}
/* Small refresh button (force override) */
#ir-top-skills-refresh{
  font-size: 10px;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 6px;
}
.insights-chart-legend{
  margin-top: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  color: #666;
  flex-wrap: wrap;
}

.insights-legend-item{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.insights-legend-swatch{
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.insights-legend-swatch--current{ background:#1E88E5; }
.insights-legend-swatch--prev{ background:#90CAF9; }

/* Top Roles */

.insights-top-roles-chart-wrap{
  width: 100%;
  height: 260px; /* גובה קבוע ל-Chart.js */
}

.insights-top-roles-movers{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.insights-role-mover-row{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 14px;
}

.insights-role-mover-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 24px;
  padding: 0 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.insights-role-mover-badge.is-up{ background: #22c55e; }
.insights-role-mover-badge.is-down{ background: #ef4444; }
.insights-role-mover-badge.is-neutral{ background: #9ca3af; }

.insights-role-mover-count{
  color: #666;
  min-width: 90px;
}

.insights-role-mover-name{
  color: #333;
  font-weight: 600;
}
.insights-btn.insights-btn--outline.insights-refresh-btn{
  font-size: 10px;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 6px;
}


/* Top roles movers - same look as skills gainers */
#irTopRolesMovers{
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

#irTopRolesMovers .insights-skill-delta{
  min-width: 70px;
  text-align: left; 
}

/* ============================================================
   SHARE REPORT MODAL & NOTICE
   ============================================================ */

.insights-share-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 20px auto;
    max-width: 80%;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #856404;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.insights-share-notice svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: #ffc107;
}

.insights-share-notice strong {
    font-weight: 600;
}

.insights-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.insights-share-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: slideDown 0.3s ease;
}

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

.insights-share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.insights-share-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.insights-share-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.insights-share-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.insights-share-modal-body {
    padding: 24px;
}

.insights-share-notice-text {
    background: #e3f2fd;
    color: #1565c0;
    padding: 10px 16px;
    border-radius: 6px;
    margin: 0 0 20px 0;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

.insights-share-url-box {
    margin-bottom: 20px;
}

.insights-share-url-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    background: #f9f9f9;
    direction: ltr;
    text-align: left;
}

.insights-share-url-input:focus {
    outline: none;
    border-color: #e91e63;
    background: #fff;
}

.insights-share-buttons {
    display: grid;
    gap: 12px;
}

.insights-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.insights-share-btn svg {
    width: 20px;
    height: 20px;
}

.insights-share-btn--email {
    background: #2196f3;
    color: #fff;
}

.insights-share-btn--email:hover {
    background: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.insights-share-btn--whatsapp {
    background: #25d366;
    color: #fff;
}

.insights-share-btn--whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.insights-share-btn--copy {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.insights-share-btn--copy:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}