.rw-kit-template {
    --rw-kit-purple: #8c2cff;
    --rw-kit-blue: #6155ff;
    --rw-kit-surface: #0d0d0f;
    --rw-kit-border: rgba(255, 255, 255, .14);
    --rw-kit-text: #fff;
    width: 100%;
    color: var(--rw-kit-text);
    overflow-anchor: none;
}

.rw-kit-tabs {
    display: grid;
    grid-template-columns: repeat(var(--rw-kit-tab-count, 3), minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 26px;
}

.rw-kit-template .rw-kit-tab {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 14px 20px;
    border: 1px solid var(--rw-kit-border);
    border-radius: 7px;
    background: #050505 !important;
    color: #fff !important;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.rw-kit-template .rw-kit-tab:hover,
.rw-kit-template .rw-kit-tab:focus-visible {
    border-color: var(--rw-kit-border) !important;
    transform: translateY(-1px);
    outline: none;
}

.rw-kit-template .rw-kit-tab.is-active {
    border-color: transparent;
    background: linear-gradient(110deg, var(--rw-kit-purple), var(--rw-kit-blue)) !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(111, 60, 255, .22);
}

.rw-kit-tab-icon,
.rw-kit-tab-icon svg {
    width: 22px;
    height: 22px;
}

.rw-kit-tab-icon svg {
    display: block;
    fill: currentColor;
}

.rw-kit-tab-count {
    min-width: 24px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    font-size: 11px;
    text-align: center;
}

.rw-kit-template .rw-kit-tab.is-active .rw-kit-tab-count {
    background: rgba(0, 0, 0, .2);
}

.rw-kit-panel[hidden] {
    display: none !important;
}

.rw-kit-grid {
    display: block;
}

.rw-kit-empty {
    margin: 0;
    padding: 48px 24px;
    border: 1px dashed var(--rw-kit-border);
    border-radius: 8px;
    color: rgba(255, 255, 255, .68);
    text-align: center;
}

.rw-kit-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
}

.rw-kit-template .rw-kit-load-more {
    min-width: 180px;
    min-height: 46px;
    padding: 11px 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 7px;
    background: #050505 !important;
    color: #fff !important;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}

.rw-kit-template .rw-kit-load-more:hover,
.rw-kit-template .rw-kit-load-more:focus-visible {
    border-color: rgba(140, 44, 255, .8) !important;
    background: rgba(140, 44, 255, .12) !important;
    outline: none;
}

.rw-kit-template .rw-kit-load-more:disabled {
    cursor: wait;
    opacity: .62;
}

.rw-kit-load-status {
    min-height: 18px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    text-align: center;
}

.rw-kit-seo-copy {
    margin-top: 42px;
    padding-top: 34px;
    border-top: 1px solid var(--rw-kit-border);
    color: rgba(255, 255, 255, .82);
}

.rw-kit-seo-copy h2,
.rw-kit-seo-copy h3 {
    color: #fff;
}

@media (max-width: 640px) {
    .rw-kit-tabs {
        gap: 8px;
    }

    .rw-kit-tab {
        min-height: 52px;
        padding: 11px 8px;
        font-size: 12px;
    }

    .rw-kit-tab-icon,
    .rw-kit-tab-icon svg {
        width: 18px;
        height: 18px;
    }

    .rw-kit-tab-count {
        display: none;
    }

}

@media (prefers-reduced-motion: reduce) {
    .rw-kit-template *,
    .rw-kit-template *::before,
    .rw-kit-template *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
