/* ────────────────────────────────────────────────────────────
   GROWTH MODULE - SHARED STYLES
   ──────────────────────────────────────────────────────────── */

/* ── Copy Link Shortcode ── */
.tac-copy-link-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.tac-copy-link-label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.tac-copy-link-row {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f7f7;
    padding: 0 10px;
    gap: 6px;
}

.tac-copy-link-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.tac-copy-link-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    font-size: 13px !important;
    color: #333 !important;
    padding: 10px 0 !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tac-copy-link-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 4px;
    transition: color 0.2s;
    white-space: nowrap;
}

.tac-copy-link-btn:hover {
    color: #0d47a1;
}

.tac-copy-link-btn--copied {
    color: #2e7d32 !important;
}

.tac-btn-icon {
    margin-right: 10px;
    font-size: 18px;
}

/* ── Verified Expert Badge ── */
.tac-verified-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fff !important;
    padding: 3px 12px 3px 3px !important;
    border-radius: 100px !important;
    border: 1.5px solid #e0edf0 !important;
    font-family: 'Poppins', sans-serif !important;
    margin: 5px 0 !important;
    box-shadow: 0 4px 12px rgba(0, 76, 94, 0.05) !important;
    flex-shrink: 0 !important;
    max-width: fit-content !important;
    height: 32px !important;
}

.tac-vb-icon {
    width: 24px !important;
    height: 24px !important;
    background: #f1aa28 !important;
    /* Yellow-gold */
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 4px rgba(241, 170, 40, 0.2) !important;
    overflow: hidden !important;
}

.tac-vb-icon svg {
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
    stroke-width: 3.5px !important;
    display: block !important;
}

.tac-vb-text {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0d2d38 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

/* ── Experts Listing Grid ── */
.tac-experts-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.tac-experts-grid--1 {
    grid-template-columns: 1fr;
}

.tac-experts-grid--2 {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.tac-experts-grid--3 {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}

.tac-experts-grid--4 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

@media (max-width: 1024px) {
    .tac-experts-grid--4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .tac-experts-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {

    .tac-experts-grid--4,
    .tac-experts-grid--3,
    .tac-experts-grid--2 {
        grid-template-columns: 1fr;
    }
}

.tac-no-experts {
    text-align: center;
    color: #6b8c96;
    padding: 40px;
    font-size: 15px;
}

/* ── Copy Link Shortcode ── */
.tac-copy-link-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.tac-copy-link-label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.tac-copy-link-row {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f7f7;
    padding: 0 10px;
    gap: 6px;
}

.tac-copy-link-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.tac-copy-link-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    font-size: 13px !important;
    color: #333 !important;
    padding: 10px 0 !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tac-copy-link-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 4px;
    transition: color 0.2s;
    white-space: nowrap;
}

.tac-copy-link-btn:hover {
    color: #0d47a1;
}

.tac-copy-link-btn--copied {
    color: #2e7d32 !important;
}

/* ── Filter Button States (Available) ── */
.tac-show-available-btn,
.tac-show-available-btn .elementor-button {
    opacity: 0.45 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    transition: opacity 0.3s ease !important;
}

.tac-show-available-btn.tac-btn-active,
.tac-show-available-btn.tac-btn-active .elementor-button {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* ── Expert Card ── */
.tac-expert-card {
    background: #fff;
    border: 1.5px solid #e0edf0;
    border-radius: 14px;
    padding: 18px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.tac-expert-card:hover {
    box-shadow: 0 6px 24px rgba(4, 76, 96, 0.10);
    transform: translateY(-2px);
}

.tac-ec-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tac-ec-avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #d0e9ee;
    background: #eef6f8;
}

.tac-ec-avatar img,
.tac-ec-avatar .avatar {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    object-fit: cover;
    display: block;
}

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

.tac-ec-name {
    font-size: 15px;
    font-weight: 700;
    color: #0d2d38;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: block;
}

.tac-ec-name:hover {
    color: #044C60;
}

.tac-ec-credentials {
    font-size: 12px;
    color: #6b8c96;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tac-ec-dots {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #9bb8c2;
    font-size: 18px;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.15s;
}

.tac-ec-dots:hover {
    background: #f0f7f9;
    color: #044C60;
}

.tac-ec-specialty {
    font-size: 13px;
    color: #3a6272;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tac-ec-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.tac-ec-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.tac-ec-star {
    color: #f5a623;
    font-size: 14px;
}

.tac-ec-rating-score {
    font-weight: 700;
    color: #0d2d38;
}

.tac-ec-rating-count {
    color: #8aacb6;
}

.tac-ec-dot-sep {
    color: #ccd;
    font-size: 16px;
}

.tac-ec-resources {
    font-size: 13px;
    color: #6b8c96;
    font-weight: 500;
}

.tac-ec-resources strong {
    color: #0d2d38;
    font-weight: 700;
}

/* ── Vendor Card ── */
.tac-vendor-card {
    background: #fff !important;
    border: 1.5px solid #e0edf0;
    border-radius: 20px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif !important;
    margin: 10px 0;
}

.tac-vendor-card:hover {
    box-shadow: 0 10px 30px rgba(0, 76, 94, 0.08);
}

.tac-vc-header {
    position: relative;
    margin-bottom: 15px;
}

.tac-vc-type-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #004c5e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.tac-vc-heart {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    color: #cbd5e0;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
}

.tac-vc-heart:hover {
    color: #f56565;
}

.tac-vc-avatar-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid #f0f7f9;
    overflow: hidden;
    padding: 3px;
    background: #fff;
}

.tac-vc-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.tac-vc-resource-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.tac-vc-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
}

.tac-badge-course {
    background: #e6fffa;
    color: #044C60;
}

.tac-badge-masterclass {
    background: #ebf8ff;
    color: #2b6cb0;
}

.tac-badge-sessions {
    background: #fffaf0;
    color: #dd6b20;
}

/* ── Growth Dynamic Borders ── */
[class*="res-type-"] {
    border-left-style: solid !important;
    border-left-width: 6px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[class*="res-type-"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.res-type-masterclass {
    border-left-color: #EFB023 !important;
}

.res-type-course {
    border-left-color: #C93A3A !important;
}

.res-type-one-to-one-sessions {
    border-left-color: #044C60 !important;
}

.res-type-other-resources {
    border-left-color: #A7D7DA !important;
}

/* ── Main Action Button ── */
.tac-main-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #004c5e;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    border: 2px solid #004c5e;
}

.tac-main-action-btn:hover {
    background: #0d2d38;
    border-color: #0d2d38;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tac-main-action-btn.is-purchased {
    background: #fff;
    color: #004c5e !important;
    border: 2px solid #004c5e;
}

.tac-main-action-btn.is-purchased:hover {
    background: #004c5e;
    color: #fff !important;
}

.tac-btn-icon {
    margin-right: 10px;
    font-size: 18px;
}

.tac-badge-other {
    background: #f7fafc;
    color: #4a5568;
}

.tac-vc-name {
    font-size: 17px;
    font-weight: 800;
    color: #0d2d38;
    text-align: center;
    margin: 0 0 5px;
}

.tac-vc-specialty {
    font-size: 13px;
    color: #718096;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 36px;
}

.tac-vc-metrics {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #4a5568;
}

.tac-vc-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tac-vc-metric-star {
    color: #f6ad55;
    font-size: 14px;
}

.tac-vc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 15px;
}

.tac-vc-tag {
    background: #f0f4f8;
    color: #4a5568;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.tac-vc-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px solid #f7fafc;
}

.tac-vc-btn {
    color: #004c5e;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.tac-vc-btn:hover {
    text-decoration: underline;
}

/* ── Main Action & Message Buttons ── */
.tac-main-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #004c5e;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    border: 2px solid #004c5e;
}

.tac-main-action-btn:hover {
    background: #0d2d38;
    border-color: #0d2d38;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tac-main-action-btn.is-purchased {
    background: #fff;
    color: #004c5e !important;
    border: 2px solid #004c5e;
}

.tac-main-action-btn.is-purchased:hover {
    background: #004c5e;
    color: #fff !important;
}

.tac-expert-msg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #004c5e !important;
    border: 2px solid #004c5e;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.tac-expert-msg-btn:hover {
    background: #004c5e;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ── Transactions Table (General) ── */
.tac-transactions-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-family: 'Poppins', sans-serif !important;
    margin-top: 5px !important;
}

.tac-transactions-table th {
    padding: 12px 0 !important;
    color: #718096 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: left !important;
    text-transform: none !important;
}

.tac-transactions-table td {
    padding: 16px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.tac-export-btn {
    display: inline-flex !important;
    align-items: center !important;
    background: #084c61 !important;
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 1.5px solid #084c61 !important;
}

.tac-export-btn:hover {
    background: #0d2d38 !important;
    border-color: #0d2d38 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.tac-transactions-table.full {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    width: 100% !important;
    border: none !important;
    table-layout: fixed !important;
}

.tac-transactions-table.full th {
    padding: 15px 12px 25px 12px !important;
    color: #718096 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    border-bottom: 1.2px solid #f1f5f9 !important;
    text-transform: none !important;
    text-align: left !important;
    font-family: 'Poppins', sans-serif !important;
    background: transparent !important;
}

.tac-transactions-table.full td {
    padding: 12px 12px !important;
    border-bottom: 1.2px solid #f1f5f9 !important;
    vertical-align: middle !important;
    font-family: 'Poppins', sans-serif !important;
    height: 60px !important;
}

.tac-transactions-table.full td.tx-amount {
    color: #16a34a !important;
    font-weight: 800 !important;
    font-size: 17px !important;
}

.tac-transactions-table.full th[style*="text-align: center"],
.tac-transactions-table.full td[style*="text-align: center"] {
    text-align: center !important;
}

.tac-transactions-table.full tr:last-child td {
    border-bottom: none !important;
}

.tac-transactions-table.full th:nth-child(1) {
    width: 15% !important;
}

.tac-transactions-table.full th:nth-child(2) {
    width: 25% !important;
}

.tac-transactions-table.full th:nth-child(3) {
    width: 20% !important;
}

.tac-transactions-table.full th:nth-child(4) {
    width: 10% !important;
}

.tac-transactions-table.full th:nth-child(5) {
    width: 12% !important;
}

.tac-transactions-table.full th:nth-child(6) {
    width: 18% !important;
}

/* ── Badges ── */
body .tx-badge,
.tac-transactions-table.full .tx-badge {
    padding: 5px 12px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: lowercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Poppins', sans-serif !important;
    white-space: nowrap !important;
    min-width: 90px !important;
    line-height: 1 !important;
}

body .tx-badge::first-letter {
    text-transform: uppercase !important;
}

/* Type Colors */
body .tx-type-course {
    background: #ecfdf5 !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

body .tx-type-resource {
    background: #eff6ff !important;
    color: #3b82f6 !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

body .tx-type-masterclass {
    background: #f5f3ff !important;
    color: #8b5cf6 !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

body .tx-type-one-to-one-sessions {
    background: #fff7ed !important;
    color: #f97316 !important;
    border: 1px solid rgba(249, 115, 22, 0.2) !important;
}

/* Status Colors */
body .tx-status-completed {
    background: #ecfdf5 !important;
    color: #10b981 !important;
}

body .tx-status-processing {
    background: #fffbeb !important;
    color: #f59e0b !important;
}

body .tx-status-refunded {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

body .tx-status-pending,
body .tx-status-on-hold {
    background: #fffbeb !important;
    color: #d97706 !important;
}

body .tx-status-cancelled {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

body .tx-status-failed {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

/* ── Summary Cards ── */
.tac-summary-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
}

.tac-summary-card {
    padding: 30px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    font-family: 'Poppins', sans-serif !important;
    transition: transform 0.2s !important;
}

.tac-summary-card:hover {
    transform: translateY(-2px) !important;
}

.tac-summary-card.earnings {
    background: #084c61 !important;
    color: #fff !important;
}

.tac-summary-card.sales {
    background: #f1aa28 !important;
    color: #fff !important;
}

.tac-summary-card.avg {
    background: #fff !important;
    border: 1.5px solid #f1f5f9 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    color: #0d2d38 !important;
}

.tac-sc-icon {
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tac-sc-icon svg {
    width: 26px !important;
    height: 26px !important;
}

.tac-summary-card.avg .tac-sc-icon {
    background: #f8fafc !important;
    color: #94a3b8 !important;
}

.tac-summary-card .tac-sc-info h3 {
    margin: 0 !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.tac-summary-card .tac-sc-info span {
    font-size: 15px !important;
    opacity: 0.8 !important;
    font-weight: 600 !important;
    display: block !important;
    margin-top: 2px !important;
}

.tac-summary-card .woocommerce-Price-amount {
    color: inherit !important;
}

/* ── Revenue Chart & Dashboard ── */
.tac-revenue-dashboard {
    background: #fff;
    border-radius: 16px;
    font-family: 'Poppins', sans-serif;
    padding: 30px;
    border: 1.5px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.tac-rd-main-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 35px !important;
    padding-bottom: 20px !important;
    border-bottom: 1.5px solid #f8fafc !important;
}

.tac-rd-mh-left {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.tac-rd-mh-left h2 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0d2d38 !important;
}

.tac-svg-icon {
    width: 18px !important;
    height: 18px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.tac-svg-icon.header-icon {
    width: 18px !important;
    height: 18px !important;
    color: #0d2d38 !important;
}

.tac-rd-mh-left .header-icon-wrap {
    background: #f1f5f9 !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    margin-right: 12px !important;
}

.tac-rd-body {
    display: flex !important;
    gap: 0 !important;
    margin-top: 10px !important;
}

.tac-rd-left {
    flex: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    padding-right: 40px !important;
}

.tac-rd-right {
    flex: 0.9 !important;
    display: flex !important;
    flex-direction: column !important;
    border-left: 1.5px solid #f1f5f9 !important;
    padding-left: 40px !important;
}

.tac-rd-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 25px !important;
}

.tac-rd-label {
    font-size: 14px !important;
    color: #94a3b8 !important;
    margin-bottom: 10px !important;
    display: block !important;
    font-weight: 500 !important;
}

.tac-rd-total-p {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.tac-rd-total {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0d2d38 !important;
    margin: 0 !important;
}

.tac-rd-growth {
    font-size: 15px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.tac-rd-growth .growth-arrow {
    width: 14px !important;
    height: 14px !important;
}

.tac-rd-range {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 5px !important;
}

.tac-rd-range svg {
    width: 15px !important;
    height: 15px !important;
    color: #94a3b8 !important;
}

.tac-rd-range span {
    font-size: 13px !important;
    color: #6b8c96 !important;
    font-weight: 500 !important;
}

.tac-chart-canvas-wrap {
    height: 280px;
    position: relative;
}

.tac-rd-stat-box {
    padding: 25px 0;
    border-bottom: 1px solid #f1f5f9;
}

.tac-rd-stat-box:first-child {
    padding-top: 0;
}

.tac-rd-stat-box:last-child {
    border-bottom: none;
}

.tac-rd-stat-label {
    font-size: 14px !important;
    color: #94a3b8 !important;
    margin-bottom: 8px !important;
    display: block !important;
    font-weight: 500 !important;
}

.tac-rd-stat-val {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0d2d38 !important;
    margin-bottom: 2px !important;
}

.tac-rd-stat-sub {
    font-size: 12px !important;
    color: #6b8c96 !important;
    font-weight: 500 !important;
}

/* ── Filters & Search ── */
.tac-filters-box {
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 32px !important;
    font-family: 'Poppins', sans-serif !important;
}

#tac-filter-form {
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
    width: 100% !important;
}

.tac-f-search {
    position: relative !important;
    flex: 2 !important;
}

.tac-f-search svg {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
}

.tac-f-search input {
    width: 100% !important;
    padding: 12px 15px 12px 45px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    transition: all 0.3s !important;
}

.tac-f-search input:focus {
    border-color: #084c61 !important;
    outline: none !important;
}

.tac-custom-dropdown {
    position: relative !important;
    flex: 1 !important;
    cursor: pointer !important;
}

.tac-cd-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 15px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #4a5568 !important;
    background: #fff !important;
}

.tac-cd-label {
    flex: 1 !important;
}

.tac-cd-header svg.dropdown-arrow {
    width: 12px !important;
    height: 12px !important;
    color: #94a3b8 !important;
}

.tac-custom-dropdown.open .tac-cd-menu {
    display: block !important;
}

.tac-custom-dropdown.open .tac-cd-header {
    border-color: #ff7a1a !important;
}

.tac-cd-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-top: none !important;
    border-radius: 0 0 10px 10px !important;
    z-index: 100 !important;
    display: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.tac-cd-item {
    padding: 10px 15px !important;
    transition: all 0.2s !important;
}

.tac-cd-item:hover {
    background: #ff7a1a !important;
    color: #fff !important;
}

/* ── Pagination ── */
.tac-pagination-btns a.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ── Visibility ── */
.tac-hide-if-purchased {
    display: none !important;
}

.tac-show-if-purchased {
    display: block !important;
}

div.tac-show-if-purchased {
    display: flex !important;
}

/* ── Responsive Chart ── */
@media (max-width: 991px) {
    .tac-revenue-dashboard {
        flex-direction: column !important;
    }

    .tac-rd-body {
        flex-direction: column !important;
    }

    .tac-rd-left {
        padding-right: 0 !important;
        border-right: none !important;
    }

    .tac-rd-right {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid #f1f5f9 !important;
        margin-top: 20px !important;
    }
}

/* ==========================================================================
/* ── Vendor Card (Figma Redesign) ── */
.tac-vendor-card {
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.tac-vendor-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(0, 76, 94, 0.1) !important;
}

.tac-vc-header {
    height: 140px !important;
    background-color: #004c5e !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
}

.tac-vc-overlay {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    z-index: 5 !important;
}

.tac-vc-badge-tac {
    background: #FFB800 !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 10px !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
}

.tac-vc-heart {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(4px) !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    cursor: pointer !important;
}

.tac-vc-avatar-wrap {
    position: absolute !important;
    bottom: -35px !important;
    left: 20px !important;
    width: 90px !important;
    height: 90px !important;
    border-radius: 16px !important;
    background: #fff !important;
    padding: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    z-index: 10 !important;
}

.tac-vc-avatar {
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px !important;
    object-fit: cover !important;
}

.tac-vc-body {
    padding: 50px 20px 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.tac-vc-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin: 0 0 4px 0 !important;
    text-align: left !important;
}

.tac-vc-creds {
    font-weight: 400 !important;
    color: #64748B !important;
    font-size: 14px !important;
}

.tac-vc-specialty {
    font-size: 13px !important;
    color: #64748B !important;
    margin-bottom: 20px !important;
    min-height: auto !important;
    text-align: left !important;
}

/* Featured Resource Row */
.tac-vc-featured-resource {
    background: #F8FAFC !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 15px !important;
}

.tac-vc-fr-title {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
}

.tac-vc-fr-price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
}

.tac-vc-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    margin-bottom: 20px !important;
}

.tac-vc-tag {
    background: #E2E8F0 !important;
    color: #475569 !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 100px !important;
}

/* Footer Stats Row */
.tac-vc-footer-stats {
    margin-top: auto !important;
    padding-top: 15px !important;
    border-top: 1px solid #F1F5F9 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.tac-vc-stat-left {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.tac-vc-rating {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 13px !important;
    color: #0F172A !important;
}

.tac-star {
    color: #FFB800 !important;
    font-size: 16px !important;
}

.tac-count {
    color: #64748B !important;
    font-weight: 400 !important;
}

.tac-vc-students {
    font-size: 12px !important;
    color: #64748B !important;
    display: flex !important;
    align-items: center !important;
}

.tac-vc-resource-icons {
    display: flex !important;
    gap: 8px !important;
}

.tac-vc-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
}

.tac-icon-course {
    background: #EF4444 !important;
}

.tac-icon-masterclass {
    background: #0EA5E9 !important;
}

.tac-icon-sessions {
    background: #F59E0B !important;
}

.tac-vc-icon .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

/* ==========================================================================
   TRANSACTION PAGE & FILTERS
   ========================================================================== */
.tac-transaction-page-header {
    margin-bottom: 35px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
}

.tac-transaction-page-header h1 {
    margin: 15px 0 5px 0 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0d2d38 !important;
}

.tac-filters-box {
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 32px !important;
}

#tac-filter-form {
    display: flex !important;
    gap: 16px !important;
    width: 100% !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.tac-f-search {
    flex: 1 !important;
    position: relative !important;
}

.tac-f-search input {
    width: 100% !important;
    height: 52px !important;
    padding: 0 15px 0 54px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    color: #4a5568 !important;
    background: #fff !important;
    line-height: 52px !important;
    outline: none !important;
}

.tac-custom-dropdown {
    position: relative !important;
    min-width: 200px !important;
}

.tac-cd-header {
    height: 52px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0 15px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    gap: 12px !important;
}

.tac-cd-label {
    font-size: 15px !important;
    color: #4a5568 !important;
    font-weight: 500 !important;
    flex: 1 !important;
}

.tac-cd-menu {
    display: none;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    z-index: 1000 !important;
    padding: 8px !important;
}

.tac-cd-item {
    padding: 10px 15px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    color: #4a5568 !important;
    transition: all 0.2s !important;
}

.tac-cd-item:hover {
    background: #f7fafc !important;
    color: #004c5e !important;
}

/* Dashboard Summary Row */
.tac-summary-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 24px !important;
    margin-bottom: 35px !important;
}

.tac-summary-card {
    padding: 40px 30px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

.tac-summary-card.earnings {
    background: #084c61 !important;
    color: #fff !important;
}

.tac-summary-card.sales {
    background: #f1aa28 !important;
    color: #fff !important;
}

.tac-summary-card.avg {
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #0d2d38 !important;
}

.tac-sc-icon {
    font-size: 32px !important;
    opacity: 0.6 !important;
    width: 40px !important;
    text-align: center !important;
}

.tac-summary-card.avg .tac-sc-icon {
    color: #6b8c96 !important;
    opacity: 0.7 !important;
}

.tac-sc-info h3 {
    margin: 0 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: inherit !important;
    line-height: 1 !important;
}

.tac-sc-info span {
    font-size: 14px !important;
    opacity: 0.9 !important;
    font-weight: 500 !important;
    display: block !important;
    margin-top: 8px !important;
}

.tac-summary-card.avg .tac-sc-info span {
    color: #b1bcc7 !important;
}

/* Full Transactions Table */
.tac-full-transactions-wrap {
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 40px !important;
}

.tac-transactions-table.full th {
    font-size: 14px !important;
    color: #6b8c96 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
}

.tac-transactions-table.full td {
    vertical-align: middle !important;
}

/* Pagination */
.tac-pagination-btns {
    display: flex !important;
    gap: 8px !important;
}

.tac-pagination-btns a {
    padding: 8px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    background: #fff !important;
}

.tac-pagination-btns a:hover:not(.disabled) {
    background: #f7fafc !important;
    border-color: #cbd5e0 !important;
}

.tac-pagination-btns a.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Status Badges */
.tx-badge {
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    letter-spacing: 0.05em !important;
    min-width: 90px !important;
    text-align: center !important;
}

/* Processing: Yellow/Gold (WooCommerce Default) */
.tx-status-processing {
    background-color: #fef3c7 !important;
    color: #92400e !important;
}

/* Completed: Success Green */
.tx-status-completed {
    background-color: #dcfce7 !important;
    color: #166534 !important;
}

/* Refunded: Grey/Muted */
.tx-status-refunded {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
}

/* Cancelled/Failed: Red/Rose */
.tx-status-cancelled,
.tx-status-failed {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}

/* On Hold: Indigo/Blue */
.tx-status-on-hold,
.tx-status-pending {
    background-color: #e0f2fe !important;
    color: #075985 !important;
}

/* ── Fix Header Badge & Heart Overlay Overlap (Vendor Card) ── */
.tac-vc-overlay {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    /* Creates margin between badge and heart */
    z-index: 10 !important;
    width: auto !important;
}

.tac-vc-badge-tac {
    background: #ffc107 !important;
    /* Yellow */
    color: #0d2d38 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    position: relative !important;
    /* Removes overlap */
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.tac-vc-heart {
    position: relative !important;
    /* Removes absolute right=0 overlap */
    top: auto !important;
    right: auto !important;
    color: #ffffff !important;
    background: rgba(13, 45, 56, 0.4) !important;
    /* Semi-transparent circular background for visibility */
    padding: 6px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    backdrop-filter: blur(4px) !important;
}

.tac-vc-heart svg {
    width: 18px !important;
    height: 18px !important;
}



.tac-vc-heart:hover {
    color: #f56565 !important;
    background: rgba(13, 45, 56, 0.7) !important;
    transform: scale(1.1) !important;
}

/* Global overrides for Poppins specifically for Growth components */
.tac-revenue-dashboard *:not(i):not(.dashicons),
.tac-transactions-wrap *:not(i):not(.dashicons),
.tac-full-transactions-wrap *:not(i):not(.dashicons),
.tac-summary-row *:not(i):not(.dashicons),
.tac-filters-box *:not(i):not(.dashicons),
.tac-transaction-page-header *:not(i):not(.dashicons),
.tac-vendor-card *:not(i):not(.dashicons),
.tac-expert-card *:not(i):not(.dashicons) {
    font-family: 'Poppins', sans-serif !important;
}

/* ── Hover-Expand Resource Icons (Vendor Card) ── */
.tac-vc-resource-icons {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    /* Prevent layout breakage */
    justify-content: flex-end !important;
}

.tac-vc-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 32px !important;
    border-radius: 8px !important;
    padding: 0 9px !important;
    /* Exactly 32px wide with 14px icon */
    width: auto !important;
    max-width: 32px !important;
    min-width: 32px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: max-width 0.4s ease, padding 0.4s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.tac-vc-icon:hover {
    max-width: 200px !important;
    /* Expands to fit text smoothly */
    padding: 0 12px !important;
}

.tac-vc-icon i {
    font-size: 14px !important;
    flex-shrink: 0 !important;
    width: 14px !important;
    text-align: center !important;
}

.tac-icon-text {
    opacity: 0 !important;
    margin-left: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: opacity 0.3s ease 0.1s, margin 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.tac-vc-icon:hover .tac-icon-text {
    opacity: 1 !important;
    margin-left: 6px !important;
}

/* Colors Based on Figma */
.tac-icon-course {
    background-color: #d93844 !important;
    color: #ffffff !important;
}

.tac-icon-masterclass {
    background-color: #044c60 !important;
    color: #ffffff !important;
}

.tac-icon-sessions {
    background-color: #f2b827 !important;
    color: #0d2d38 !important;
}

.tac-icon-other {
    background-color: #b1d6df !important;
    color: #0d2d38 !important;
}

.growth-categories .elementor-widget-button.tab-active .elementor-button {
    background-color: #044C60 !important;
    color: #F5F5F5 !important;
}

/* Active tab SVG stroke */
.growth-categories .elementor-widget-button.tab-active .elementor-button svg path {
    stroke: #F5F5F5 !important;
}

.growth-categories span.elementor-button-content-wrapper {
    align-items: center;
}

.growth-categories span.elementor-button-icon svg {
    width: 20px;
}

/* Card Container */
.tac-latest-contribution-card {
    background: #F7DBAD;
    /* beige background like screenshot */
    border-radius: 12px;
    padding: 30px 20px 30px 20px;
    box-shadow: none;
    border: none;
    font-family: 'Poppins', sans-serif;
}

/* Header */
.tac-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #033543;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
}

.tac-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    color: #033543;
}

.tac-card-divider {
    height: 1px;
    background: rgba(3, 53, 67, 0.2);
    margin: 18px 0 22px;
}

/* Title Row */
.tac-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.tac-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #033543;
    line-height: 26px;
    flex: 1;
    font-family: 'Poppins', sans-serif;
}

/* Category Badge */
.tac-category-badge {
    background-color: rgba(245, 245, 245, 0.15);
    /* #F5F5F5 at 15% */
    border: 1px solid rgba(3, 53, 67, 0.15);
    /* #033543 at 15% */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* Safari support */
    color: #033543;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500
}

/* Downloads Text */
.tac-download-count {
    font-size: 12px;
    color: #033543;
    margin-bottom: 18px;
    font-weight: 500;
}

/* Manage Link */
.tac-manage-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #033543;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.tac-manage-link svg {
    transition: transform 0.2s ease;
}

.tac-manage-link:hover svg {
    transform: translateX(4px);
}

/* Upload Button */
.tac-upload-btn {
    display: block;
    text-align: center;
    background: #0E5666;
    color: #F5E6C8;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
    transition: background 0.25s ease;
}

.tac-upload-btn:hover {
    background: #044C60;
}

/* Icons */
.tac-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.popup-filters-buttons-container:has(.apply-filters__button.jsf_hidden) {
    display: none !important;
}

/* Add plus icon on right center */
.add-plus-icon {
    position: relative;
    padding-right: 40px;
    /* space for icon */
}

.add-plus-icon::after {
    content: "+";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #044c604d;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

/* Tablet and Mobile: hide plus icon */
@media (max-width: 1024px) {
    .add-plus-icon::after {
        display: none;
    }
}