/* =========================================
   Resource Finder Chatbot — Frontend Styles
   ========================================= */

/* ── Floating Button ── */
#rfc-fab {
    position: fixed !important;
    bottom: 28px !important;
    right: 28px !important;
    left: auto !important;
    top: auto !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: #8248d3 !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 24px rgba(130,72,211,0.5) !important;
    z-index: 2147483647 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    transition: transform 0.2s, background 0.2s !important;
}
#rfc-fab:hover { background: #6b35b8 !important; transform: scale(1.08) !important; }

/* ── Chat Window ── */
#rfc-popup {
    position: fixed !important;
    bottom: 100px !important;
    right: 28px !important;
    left: auto !important;
    top: auto !important;
    width: 360px !important;
    height: 500px !important;
    max-width: calc(100vw - 56px) !important;
    max-height: calc(100vh - 120px) !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2) !important;
    z-index: 2147483646 !important;
    display: none;
    flex-direction: column !important;
    overflow: hidden !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
}
#rfc-popup.rfc-open {
    display: flex !important;
    animation: rfc-up 0.2s ease;
}
@keyframes rfc-up {
    from { opacity:0; transform: translateY(12px); }
    to   { opacity:1; transform: translateY(0); }
}

/* Header */
#rfc-popup .rfc-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 16px !important;
    background: #8248d3 !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
}
.rfc-header-btns {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
#rfc-popup .rfc-header button {
    background: none !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 4px !important;
    opacity: 0.85 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: opacity 0.15s, background 0.15s !important;
}
#rfc-popup .rfc-header button:hover {
    opacity: 1 !important;
    background: rgba(255,255,255,0.15) !important;
}
#rfc-close-btn { font-size: 18px !important; padding: 2px 4px !important; }

/* Messages */
#rfc-popup .rfc-messages {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 14px 14px 8px !important;
    background: #f8fafc !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    scroll-behavior: smooth !important;
}
#rfc-popup .rfc-messages::-webkit-scrollbar { width: 4px; }
#rfc-popup .rfc-messages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

/* Bubbles */
#rfc-popup .rfc-message { display: flex; max-width: 88%; }
#rfc-popup .rfc-message.rfc-user { align-self: flex-end; flex-direction: row-reverse; }
#rfc-popup .rfc-message.rfc-bot  { align-self: flex-start; }
#rfc-popup .rfc-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    line-height: 1.5;
    word-break: break-word;
}
#rfc-popup .rfc-user .rfc-bubble {
    background: #8248d3; color: #fff; border-bottom-right-radius: 4px;
}
#rfc-popup .rfc-bot .rfc-bubble {
    background: #fff; color: #1e293b;
    border: 1px solid #e2e8f0; border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Typing */
#rfc-popup .rfc-typing {
    padding: 8px 16px; display: flex; align-items: center; gap: 5px; background: #f8fafc;
}
#rfc-popup .rfc-typing span {
    width: 8px; height: 8px; background: #94a3b8; border-radius: 50%;
    animation: rfc-bounce 1.2s infinite ease-in-out;
}
#rfc-popup .rfc-typing span:nth-child(2) { animation-delay: 0.2s; }
#rfc-popup .rfc-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes rfc-bounce {
    0%,80%,100% { transform:scale(0.8); opacity:0.5; }
    40% { transform:scale(1.2); opacity:1; }
}

/* Input */
#rfc-popup .rfc-input-area {
    display: flex; align-items: center; padding: 10px 12px;
    border-top: 1px solid #e2e8f0; background: #fff; gap: 8px; flex-shrink: 0;
}
#rfc-popup .rfc-input {
    flex: 1; border: 1px solid #cbd5e1; border-radius: 24px;
    padding: 9px 16px; font-size: 15px; outline: none; color: #1e293b;
}
#rfc-popup .rfc-input:focus { border-color: #8248d3; box-shadow: 0 0 0 3px rgba(130,72,211,0.1); }
#rfc-popup .rfc-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #8248d3;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(130,72,211,0.4);
    padding: 0;
}
#rfc-popup .rfc-send-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    transform: rotate(0deg);
}
#rfc-popup .rfc-send-btn:hover:not(:disabled) {
    background: #6b35b8;
    transform: scale(1.08);
}
#rfc-popup .rfc-send-btn:active:not(:disabled) { transform: scale(0.93); }
#rfc-popup .rfc-send-btn:disabled { background: #c7d2fe; cursor: not-allowed; box-shadow: none; }

/* Resource Cards */
#rfc-popup .rfc-resources { display: flex; flex-direction: column; gap: 8px; width: 100%; }
#rfc-popup .rfc-resource-card {
    display: flex; gap: 10px; background: #fff;
    border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
#rfc-popup .rfc-resource-number {
    width: 24px; height: 24px; background: #8248d3; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
}
#rfc-popup .rfc-resource-body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
#rfc-popup .rfc-resource-name  { font-size: 14px; color: #1e293b; font-weight: 600; }
#rfc-popup .rfc-resource-location { font-size: 12px; color: #64748b; }
#rfc-popup .rfc-resource-phone,
#rfc-popup .rfc-resource-website { font-size: 12px; color: #8248d3; text-decoration: none; word-break: break-all; }
#rfc-popup .rfc-resource-phone:hover,
#rfc-popup .rfc-resource-website:hover { text-decoration: underline; }
#rfc-popup .rfc-resource-notes { font-size: 12px; color: #64748b; margin: 0; }

/* Mobile */
@media (max-width: 480px) {
    #rfc-fab  { bottom: 16px !important; right: 16px !important; width: 52px !important; height: 52px !important; }
    #rfc-popup {
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 85vh !important;
        max-height: 85vh !important;
        border-radius: 20px 20px 0 0 !important;
    }
}

/* ── Mobile responsive ────────────────────────────────── */
@media screen and (max-width: 480px) {
    #rfc-fab {
        bottom: 16px !important;
        right: 16px !important;
        width: 52px !important;
        height: 52px !important;
    }
    #rfc-popup {
        position: fixed !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        top: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 60vh !important;
        max-height: 60vh !important;
        border-radius: 16px 16px 0 0 !important;
    }
}

/* ── Prominent Chatbot Shortcode ─────────────────────────── */
#rfc-prominent-wrap {
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 32px rgba(130,72,211,0.15);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
#rfc-prominent-header {
    background: #8248d3;
    color: #fff;
    padding: 28px 32px;
    text-align: center;
}
#rfc-prominent-header h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #fff !important;
}
#rfc-prominent-header p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
    color: #fff !important;
}
#rfc-prominent-chat {
    background: #f8f9fb;
    display: flex;
    flex-direction: column;
    height: 420px;
}
#rfc-prominent-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#rfc-prominent-input-area {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}
#rfc-prominent-input {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 10px 18px;
    font-size: 15px;
    outline: none;
}
#rfc-prominent-input:focus { border-color: #8248d3; }
#rfc-prominent-send {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #9b59d4, #8248d3, #6b35b8);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(130,72,211,0.55), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
#rfc-prominent-send::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.4s ease;
}
#rfc-prominent-send:hover::before { left: 100%; }
#rfc-prominent-send:hover {
    background: linear-gradient(135deg, #a562e0, #8248d3, #5a2aa0);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(130,72,211,0.65), inset 0 1px 0 rgba(255,255,255,0.2);
}
#rfc-prominent-send:active { transform: translateY(0px) scale(0.96); }
#rfc-prominent-send svg { stroke: #fff; width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
.rfc-prominent-msg { display: flex; max-width: 85%; }
.rfc-prominent-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.rfc-prominent-msg.bot  { align-self: flex-start; }
.rfc-prominent-bubble {
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}
.rfc-prominent-msg.bot  .rfc-prominent-bubble { background: #fff; border: 1px solid #e2e8f0; color: #1e293b; }
.rfc-prominent-msg.user .rfc-prominent-bubble { background: #8248d3; color: #fff; }

/* ── Resource List Shortcode ─────────────────────────────── */
.rfc-resource-list { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.rfc-rl-section { margin-bottom: 40px; }
.rfc-rl-heading {
    font-size: 20px;
    font-weight: 700;
    color: #8248d3;
    border-bottom: 2px solid #8248d3;
    padding-bottom: 8px;
    margin-bottom: 20px;
    text-transform: capitalize;
}
.rfc-rl-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.rfc-rl-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}
.rfc-rl-card:hover { box-shadow: 0 4px 16px rgba(130,72,211,0.15); }
.rfc-rl-card h4 { margin: 0 0 8px; font-size: 16px; color: #1e293b; font-weight: 700; }
.rfc-rl-type { display: inline-block; background: #f3eaff; color: #8248d3; font-size: 12px; padding: 2px 10px; border-radius: 12px; margin-bottom: 8px; }
.rfc-rl-location, .rfc-rl-phone, .rfc-rl-email, .rfc-rl-website { margin: 4px 0; font-size: 13px; color: #475569; }
.rfc-rl-email a, .rfc-rl-website a { color: #8248d3; text-decoration: none; }
.rfc-rl-desc { margin-top: 10px; font-size: 13px; color: #64748b; line-height: 1.5; border-top: 1px solid #f1f5f9; padding-top: 10px; }
@media (max-width: 768px) {
    .rfc-rl-cards { grid-template-columns: 1fr; }
    #rfc-prominent-wrap { border-radius: 12px !important; margin: 0 10px 30px; overflow: hidden; }
    #rfc-prominent-header { padding: 20px; }
    #rfc-prominent-header h2 { font-size: 20px; }
    #rfc-prominent-header p { font-size: 13px; }
    #rfc-prominent-chat { height: 350px; }
    #rfc-prominent-input-area { padding: 10px 12px; gap: 8px; }
    #rfc-prominent-input { font-size: 14px; padding: 9px 14px; }
    #rfc-prominent-send { width: 48px; height: 48px; border-radius: 12px; }
    #rfc-prominent-send svg { width: 22px !important; height: 22px !important; }
    #rfc-rl-search { font-size: 14px; padding: 12px 16px; }
    .rfc-rl-heading { font-size: 17px; }
    .rfc-rl-card { padding: 14px; }
    .rfc-rl-card h4 { font-size: 15px; }
}

@media (max-width: 480px) {
    #rfc-prominent-wrap { margin: 0 0 20px; border-radius: 0; }
    #rfc-prominent-header { padding: 16px; }
    #rfc-prominent-header h2 { font-size: 18px; }
    #rfc-prominent-chat { height: 300px; }
}

/* ── Resource List Search Bar ────────────────────────────── */
.rfc-rl-search-wrap {
    margin-bottom: 28px;
}
#rfc-rl-search {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1e293b;
    background: #fff;
}
#rfc-rl-search:focus {
    border-color: #8248d3;
    box-shadow: 0 0 0 4px rgba(130,72,211,0.1);
}
.rfc-rl-no-results {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
    font-size: 16px;
}

/* ── Pagination ──────────────────────────────────────────── */
.rfc-rl-total { color: #64748b; font-size: 14px; margin-bottom: 16px; }
.rfc-rl-section-tag { font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 4px; }
.rfc-rl-card-categories {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.rfc-rl-card-categories-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}
.rfc-rl-category-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 2px 7px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.3;
}
.rfc-rl-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.rfc-rl-page-btn {
    background: #8248d3;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(130,72,211,0.3);
}
.rfc-rl-page-btn:hover {
    background: #6b35b8;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(130,72,211,0.4);
}
.rfc-rl-page-info { color: #64748b; font-size: 14px; }
.rfc-rl-page-num {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 14px; font-weight: 600;
    color: #64748b !important;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}
.rfc-rl-page-num:hover { background: #f3eaff; border-color: #8248d3; color: #8248d3 !important; }
.rfc-rl-page-num.active { background: #8248d3 !important; border-color: #8248d3 !important; color: #fff !important; }
.rfc-rl-page-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: #64748b !important;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}
.rfc-rl-page-btn:hover { background: #f3eaff; border-color: #8248d3; color: #8248d3 !important; }
.rfc-rl-dots { color: #94a3b8; font-size: 14px; padding: 0 4px; }

.rfc-rl-loading { text-align: center; padding: 40px; color: #8248d3; font-size: 16px; }
.rfc-rl-no-results { text-align: center; padding: 40px; color: #94a3b8; font-size: 16px; }

/* ── Skeleton Loading ────────────────────────────────────── */
.rfc-rl-skeleton { pointer-events: none; }
.rfc-sk-tag, .rfc-sk-title, .rfc-sk-line {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: rfc-shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}
.rfc-sk-tag   { height: 12px; width: 60%; }
.rfc-sk-title { height: 18px; width: 80%; }
.rfc-sk-line  { height: 12px; width: 90%; }
.rfc-sk-line.short { width: 50%; }
@keyframes rfc-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Resource Card Action Buttons ────────────────────────── */
.rfc-rl-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.rfc-rl-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
    border: 1.5px solid;
}
.rfc-rl-call {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #16a34a !important;
}
.rfc-rl-call:hover { background: #22c55e; color: #fff !important; }
.rfc-rl-email-btn {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #2563eb !important;
}
.rfc-rl-email-btn:hover { background: #3b82f6; color: #fff !important; }
.rfc-rl-website-btn {
    background: #f3eaff;
    border-color: #8248d3;
    color: #8248d3 !important;
}
.rfc-rl-website-btn:hover { background: #8248d3; color: #fff !important; }

/* ── Resource List Filters ───────────────────────────────── */
.rfc-rl-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.rfc-rl-filter-btn {
    padding: 8px 18px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.rfc-rl-filter-btn:hover {
    border-color: #8248d3;
    color: #8248d3;
    background: #f3eaff;
}
.rfc-rl-filter-btn.active {
    background: #8248d3;
    border-color: #8248d3;
    color: #fff;
}
.rfc-rl-category-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -8px 0 20px;
    max-width: 620px;
    position: relative;
}
.rfc-rl-category-filter label {
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.rfc-rl-category-filter::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #8248d3;
    border-bottom: 2px solid #8248d3;
    pointer-events: none;
    transform: translateY(-65%) rotate(45deg);
}
#rfc-rl-category {
    width: 100%;
    min-width: 450px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    padding: 10px 44px 10px 16px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15,23,42,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
#rfc-rl-category:focus {
    border-color: #8248d3;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(130,72,211,0.12), 0 6px 18px rgba(15,23,42,0.08);
}
#rfc-rl-category:hover {
    border-color: #b794e8;
    box-shadow: 0 5px 18px rgba(130,72,211,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}
#rfc-rl-category::-ms-expand {
    display: none;
}
@media (max-width: 480px) {
    .rfc-rl-category-filter {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
        max-width: none;
    }
    .rfc-rl-category-filter::after {
        top: auto;
        bottom: 16px;
    }
    #rfc-rl-category {
        min-width: 0;
    }
}

/* ── Show All Button ─────────────────────────────────────── */
.rfc-rl-show-all-btn {
    padding: 7px 16px;
    border-radius: 50px;
    border: 1.5px solid #8248d3;
    background: #fff;
    color: #8248d3;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.rfc-rl-show-all-btn:hover {
    background: #8248d3;
    color: #fff;
}

/* ── Prominent Reset Button ──────────────────────────────── */
#rfc-prominent-reset {
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    cursor: pointer !important;
    color: #fff !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.9 !important;
    padding: 0 !important;
}
#rfc-prominent-reset:hover { opacity: 1 !important; background: rgba(255,255,255,0.15) !important; }
#rfc-prominent-reset svg { stroke: #fff !important; }
#rfc-prominent-header > div { display: flex !important; justify-content: space-between !important; align-items: center !important; }

/* ── Explore More Button ─────────────────────────────────── */
.rfc-explore-more-wrap {
    text-align: center;
    padding: 20px 0;
    grid-column: 1 / -1;
}
.rfc-explore-more-btn {
    background: linear-gradient(135deg, #8248d3, #6b35b8);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(130,72,211,0.4);
    transition: all 0.2s;
}
.rfc-explore-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(130,72,211,0.5);
}

/* ── Show More Button (Bot) ──────────────────────────────── */
.rfc-show-more-wrap { text-align: center; padding: 8px 0; }
.rfc-show-more-btn {
    background: linear-gradient(135deg, #8248d3, #6b35b8);
    color: #fff !important;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(130,72,211,0.35);
    transition: all 0.2s;
}
.rfc-show-more-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 15px rgba(130,72,211,0.45); }
