/* ============================================
   AI Creator Toolkit — Gallery Mode CSS
   Pinterest-style masonry grid
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@700;800;900&family=DM+Sans:wght@400;500;600&display=swap');

:root {
    --gal-accent: #FF385C;
    --gal-accent-d: #E01E50;
    --gal-paid: #7C3AED;
    --gal-free: #059669;
    --gal-vars: #F59E0B;
    --gal-navy: #111111;
    --gal-mid: #555555;
    --gal-soft: #999999;
    --gal-border: #EBEBEB;
    --gal-bg2: #F7F7F7;
    --gap: 8px;
    --r-card: 14px;
}

/* ── MODE BAR ───────────────────────── */
.act-mode-bar {
    background: white;
    border-bottom: 2px solid #F0F0F0;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.act-mode-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 60px;
}

.act-mode-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.act-mode-logo {
    color: #FF385C;
    font-size: 20px;
}

.act-mode-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #111;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .act-mode-brand-name {
        display: none;
    }
}

.act-mode-tabs {
    display: flex;
    gap: 4px;
    background: #F5F5F5;
    padding: 4px;
    border-radius: 12px;
}

.act-mode-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 20px;
    border: none;
    border-radius: 9px;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    position: relative;
}

.act-mode-tab:hover {
    color: #333;
    background: rgba(255, 255, 255, 0.7);
}

.act-mode-tab.active {
    background: white;
    color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    font-weight: 700;
}

.act-mode-tab-icon {
    font-size: 16px;
}

.act-mode-count {
    background: #FF385C;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 999px;
    margin-left: 2px;
}

@media (max-width: 480px) {
    .act-mode-tab-text {
        display: none;
    }

    .act-mode-tab {
        padding: 8px 14px;
    }
}

.act-mode-right {
    flex-shrink: 0;
}

.act-mode-cta {
    font-size: 13px;
    font-weight: 600;
    color: #FF385C;
    text-decoration: none;
}

.act-mode-cta:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .act-mode-right {
        display: none;
    }
}

/* MODE PANELS */
.act-mode-panel {
    display: none;
}

.act-mode-panel.active {
    display: block;
}

/* ── GALLERY WRAPPER ── */
.act-gallery-wrap {
    max-width: 800px;
    margin: 32px auto 0;
    background: #FFFFFF;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    font-family: 'DM Sans', sans-serif;
    overflow: hidden; /* Ensure rounded corners aren't broken */
    display: flex;
    flex-direction: column;
}

/* Make grid 2 cols instead of 3/4 due to constrained width */
@media (min-width: 601px) {
    .act-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── GALLERY HEADER ── */
.act-gallery-header {
    padding: 24px 32px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--gal-border);
}

.act-gallery-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--gal-navy);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.act-gallery-total {
    font-size: 13px;
    font-weight: 600;
    color: var(--gal-soft);
    background: var(--gal-bg2);
    padding: 3px 10px;
    border-radius: 999px;
}

.act-gallery-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Search */
.act-gallery-search-wrap {
    position: relative;
}

.act-gallery-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gal-soft);
    font-size: 16px;
    pointer-events: none;
}

.act-gallery-search {
    padding: 9px 16px 9px 36px;
    background: var(--gal-bg2);
    border: 1.5px solid var(--gal-border);
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--gal-navy);
    width: 240px;
    outline: none;
    transition: border-color .15s, width .25s;
}

.act-gallery-search:focus {
    border-color: var(--gal-accent);
    width: 280px;
    background: white;
}

/* View toggle */
.act-gallery-view-toggle {
    display: flex;
    gap: 4px;
}

.act-view-btn {
    width: 34px;
    height: 34px;
    background: var(--gal-bg2);
    border: 1.5px solid var(--gal-border);
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all .14s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gal-soft);
}

.act-view-btn.active,
.act-view-btn:hover {
    border-color: var(--gal-accent);
    color: var(--gal-accent);
    background: white;
}

/* ── FILTER BAR ── */
.act-gallery-filters {
    padding: 10px 20px;
    display: flex;
    gap: 6px;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--gal-border);
    flex-wrap: nowrap;
}

.act-gallery-filters::-webkit-scrollbar {
    display: none;
}

.act-gfilter {
    flex-shrink: 0;
    padding: 6px 14px;
    background: transparent;
    border: 1.5px solid var(--gal-border);
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--gal-mid);
    cursor: pointer;
    transition: all .14s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.act-gfilter:hover {
    border-color: var(--gal-accent);
    color: var(--gal-accent);
}

.act-gfilter.active {
    background: var(--gal-navy);
    border-color: var(--gal-navy);
    color: white;
    font-weight: 700;
}

.act-gfilter-count {
    font-size: 10px;
    opacity: .6;
}

.act-gfilter-divider {
    width: 1px;
    height: 20px;
    background: var(--gal-border);
    flex-shrink: 0;
    margin: 0 4px;
}

/* ── MASONRY GRID ── */
.act-gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    padding: 0 32px 40px;
}

@media (max-width: 800px) {
    .act-gallery-grid {
        padding: 0 20px 30px;
    }
}

@media (max-width: 340px) {
    .act-gallery-grid {
        columns: 1;
    }
}

.act-gallery-grid.compact {
    columns: 6;
}

@media (max-width: 1100px) {
    .act-gallery-grid.compact {
        columns: 5;
    }
}

@media (max-width: 800px) {
    .act-gallery-grid.compact {
        columns: 3;
    }
}

@media (max-width: 560px) {
    .act-gallery-grid.compact {
        columns: 2;
    }
}

/* ── CARD ── */
.act-gallery-card {
    break-inside: avoid;
    margin-bottom: var(--gap);
    border-radius: var(--r-card);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    opacity: 0;
    animation: galCardIn .5s cubic-bezier(.22, 1, .36, 1) forwards;
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s;
}

.act-gallery-card:hover {
    transform: scale(1.022);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
    z-index: 2;
}

@keyframes galCardIn {
    from {
        opacity: 0;
        transform: scale(.97) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.act-gallery-card-img {
    position: relative;
    overflow: hidden;
    background: var(--gal-bg2);
    display: block;
    width: 100%;
}

.act-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}

.act-gallery-card:hover .act-gallery-img {
    transform: scale(1.05);
}

/* Placeholder */
.act-gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 12px;
}

.act-gallery-placeholder-icon {
    font-size: 36px;
    line-height: 1;
}

.act-gallery-placeholder-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gal-soft);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Paid blur */
.act-gallery-paid-blur {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(7px);
    background: rgba(255, 255, 255, .05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.act-gallery-paid-badge {
    background: rgba(124, 58, 237, .90);
    color: white;
    padding: 5px 13px;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
}

/* Badges */
.act-gallery-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    z-index: 5;
    flex-wrap: wrap;
}

.act-gbadge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.act-gbadge-free {
    background: rgba(5, 150, 105, .88);
    color: white;
}

.act-gbadge-paid {
    background: rgba(124, 58, 237, .88);
    color: white;
}

.act-gbadge-owned {
    background: rgba(5, 150, 105, .88);
    color: white;
}

.act-gbadge-vars {
    background: rgba(245, 158, 11, .88);
    color: #0A0B0F;
}

.act-gbadge-ref {
    background: rgba(245, 158, 11, .88);
    color: #0A0B0F;
}

/* Like */
.act-gallery-like {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, .92);
    border: none;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gal-mid);
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 3px;
    backdrop-filter: blur(8px);
    font-family: 'DM Sans', sans-serif;
    transition: all .13s;
}

.act-gallery-like:hover,
.act-gallery-like.liked {
    color: #E84040;
}

/* Hover overlay */
.act-gallery-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .4) 50%, transparent 100%);
    opacity: 0;
    transition: opacity .2s ease;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    z-index: 4;
}

.act-gallery-card:hover .act-gallery-hover {
    opacity: 1;
}

.act-gallery-hover-inner {
    width: 100%;
    transform: translateY(6px);
    transition: transform .2s ease;
}

.act-gallery-card:hover .act-gallery-hover-inner {
    transform: translateY(0);
}

.act-gallery-hover-title {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.act-gallery-hover-meta {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 10px;
}

.act-gallery-hover-niche {
    font-size: 10px;
    color: rgba(255, 255, 255, .78);
    font-weight: 500;
}

.act-gallery-hover-tool {
    font-size: 9px;
    background: rgba(255, 255, 255, .18);
    color: white;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.act-gallery-use-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: white;
    color: var(--gal-navy);
    border: none;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    transition: all .14s;
}

.act-gallery-use-btn:hover {
    background: var(--gal-accent);
    color: white;
    transform: scale(1.04);
}

/* Empty state */
.act-gallery-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--gal-soft);
    column-span: all;
}

.act-gallery-empty-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 20px;
}

.act-gallery-empty h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--gal-navy);
    margin-bottom: 10px;
}

.act-gallery-empty p {
    font-size: 15px;
    max-width: 380px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.act-gallery-empty-btn {
    padding: 12px 28px;
    background: var(--gal-navy);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all .18s;
}

.act-gallery-empty-btn:hover {
    background: #333;
}

/* Load more */
.act-gallery-load-more-wrap {
    text-align: center;
    padding: 32px 20px;
}

.act-gallery-load-more {
    padding: 12px 40px;
    background: var(--gal-bg2);
    border: 1.5px solid var(--gal-border);
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--gal-mid);
    cursor: pointer;
    transition: all .18s;
}

.act-gallery-load-more:hover {
    border-color: var(--gal-accent);
    color: var(--gal-accent);
}

/* ══════════════════════════════════════
   PROMPT DETAIL MODAL
══════════════════════════════════════ */
.act-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(12px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.act-modal-overlay.open {
    display: flex;
}

.act-prompt-modal {
    background: white;
    border-radius: 20px;
    max-width: 820px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .35);
    animation: modalIn .28s cubic-bezier(.22, 1, .36, 1);
    position: relative;
}

@media (max-width: 640px) {
    .act-prompt-modal {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(.94) translateY(16px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.act-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, .08);
    border: none;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    z-index: 10;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .13s;
}

.act-modal-close:hover {
    background: rgba(232, 64, 64, .15);
    color: #E84040;
}

.act-modal-left {
    position: relative;
    background: #f0f0f0;
    overflow: hidden;
    min-height: 320px;
}

.act-modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.act-modal-img-note {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .45);
    color: rgba(255, 255, 255, .80);
    font-size: 11px;
    padding: 8px 14px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.act-modal-no-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: linear-gradient(135deg, #F5F3EE, #EDE9E0);
}

.act-modal-right {
    padding: 26px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 92vh;
}

.act-modal-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.act-modal-chip {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.chip-niche {
    background: #F0F0F0;
    color: #666;
}

.chip-free {
    background: rgba(5, 150, 105, .10);
    color: #059669;
}

.chip-paid {
    background: rgba(124, 58, 237, .10);
    color: #7C3AED;
}

.chip-tool {
    background: #EEF2FF;
    color: #5B5FED;
}

.chip-vars {
    background: rgba(245, 158, 11, .12);
    color: #B45309;
}

.act-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #111;
    line-height: 1.2;
    margin: 0;
}

.act-modal-ref-warn {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 11px 13px;
    background: #FEF3C7;
    border: 1.5px solid #F59E0B;
    border-radius: 10px;
    font-size: 12px;
    color: #92400E;
    line-height: 1.5;
}

.act-modal-prompt-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #aaa;
    margin-bottom: 8px;
    display: block;
}

.act-modal-prompt-box {
    background: #FAFAFA;
    border: 1.5px solid #EBEBEB;
    border-radius: 10px;
    padding: 13px 15px;
    font-size: 13px;
    line-height: 1.75;
    color: #222;
    font-style: italic;
    word-break: break-word;
}

.act-modal-copy-btn {
    width: 100%;
    padding: 13px;
    background: #111;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.act-modal-copy-btn.copied {
    background: #059669;
}

.act-modal-copy-btn:hover:not(.copied) {
    background: #333;
}

/* ── Inline Variable Fill-in ── */
.act-var-section {
    border-top: 1.5px solid #EBEBEB;
    padding-top: 12px;
    margin-top: 4px;
}

.act-var-header {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #F59E0B;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.act-var-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.act-var-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.act-var-badge {
    flex-shrink: 0;
    min-width: 80px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.act-var-input {
    flex: 1;
    padding: 8px 12px;
    border: 1.5px solid #DDD;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #222;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    background: #FAFAFA;
}

.act-var-input::placeholder {
    color: #BBB;
    font-style: italic;
}

.act-var-input:focus {
    background: white;
}

/* Live preview highlight spans */
.act-var-filled {
    font-style: normal;
    font-weight: 700;
    border-radius: 3px;
    padding: 0 1px;
}

.act-var-empty {
    font-style: italic;
    opacity: .7;
}

.act-modal-generate-on {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.act-modal-tool-link {
    padding: 5px 12px;
    background: #F5F5F5;
    border: 1.5px solid #EBEBEB;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: all .13s;
}

.act-modal-tool-link:hover {
    border-color: var(--gal-accent);
    color: var(--gal-accent);
    background: #FFF5F7;
}

.act-modal-price-big {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #7C3AED;
}

.act-modal-unlock-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(124, 58, 237, .30);
    transition: all .2s;
    margin-bottom: 8px;
}

.act-modal-unlock-btn:hover {
    transform: translateY(-1px);
}

.act-modal-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid #EBEBEB;
    margin-top: auto;
}

.act-modal-tag {
    padding: 4px 10px;
    background: #F5F5F5;
    border-radius: 999px;
    font-size: 11px;
    color: #777;
}

/* ═══════════════════════════════════════
   RECOMMENDED AI TOOLS STRIP
═══════════════════════════════════════ */
.act-tools-strip {
    margin: 14px 0 18px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fafafa 0%, #f3f0ff 100%);
    border: 1px solid #e9e4f5;
    border-radius: 14px;
}

.act-tools-strip-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.act-tools-strip-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #333;
}

.act-tools-strip-sub {
    font-size: 12px;
    color: #999;
}

.act-tools-strip-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.act-tool-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, .85);
    border: 1.5px solid #ebe6f4;
    border-radius: 10px;
    text-decoration: none;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .18s ease;
    backdrop-filter: blur(6px);
}

.act-tool-card:hover {
    border-color: var(--gal-accent, #E0115F);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(224, 17, 95, .12);
    color: var(--gal-accent, #E0115F);
}

.act-tool-icon {
    font-size: 18px;
}

.act-tool-name {
    font-weight: 700;
}

.act-tool-tag {
    padding: 2px 7px;
    background: #f0ecff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #7C3AED;
}

/* ═══════════════════════════════════════
   AFFILIATE TOAST
═══════════════════════════════════════ */
.act-aff-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 100001;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: #fff;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .28);
    animation: actToastIn .4s ease;
    max-width: 440px;
}

@keyframes actToastIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.act-aff-toast-icon {
    font-size: 20px;
}

.act-aff-toast-link {
    color: #a5b4fc;
    font-weight: 700;
    text-decoration: underline;
}

.act-aff-toast-link:hover {
    color: #fff;
}

.act-aff-toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    padding: 0 0 0 8px;
}

.act-aff-toast-close:hover {
    color: #fff;
}

/* ═══════════════════════════════════════
   FOOTER TOOLS SECTION
═══════════════════════════════════════ */
.act-footer-tools {
    margin-top: 40px;
    padding: 28px 22px;
    background: linear-gradient(135deg, #f8fafc, #f0ecff);
    border: 1px solid #e4e0f2;
    border-radius: 16px;
    text-align: center;
}

.act-footer-tools-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #333;
    margin: 0 0 6px;
}

.act-footer-tools-desc {
    font-size: 13px;
    color: #888;
    margin: 0 auto 20px;
}

.act-footer-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.act-footer-tool {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid #ebe6f4;
    border-radius: 12px;
    text-decoration: none;
    color: #444;
    text-align: left;
    transition: all .18s ease;
}

.act-footer-tool:hover {
    border-color: var(--gal-accent, #E0115F);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.act-ft-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.act-footer-tool strong {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #333;
}

.act-footer-tool small {
    font-size: 11px;
    color: #888;
}

/* ═══════════════════════════════════════
   AFFILIATE DISCLOSURE
═══════════════════════════════════════ */
.act-disclosure {
    margin-top: 20px;
    padding: 12px 16px;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 10px;
    color: #92400e;
    font-size: 12px;
    line-height: 1.5;
}

/* Tooltip for admin settings */
.act-tooltip {
    cursor: help;
    font-size: 13px;
    opacity: .7;
}