@charset "UTF-8"; /** * Forumax Dashboard Stylesheet * * Entry file for compiling dashboard-specific styles. * * @package Forumax * @since 2.1.0 */ /** * Convert font-size from px to rem with px fallback * * @param $size - the value in pixel you want to convert * * e.g. p font-size: fs-rem(12px); * e.g. p {@include fontSize(12px);} * */ /*-------------------------------------- - Base ----------------------------------------*/ /** * Convert font-size from px to rem with px fallback * * @param $size - the value in pixel you want to convert * * e.g. p {@include fontSize(12px);} * */ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); .col { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; } /*-------------------------------------- - Utilities ----------------------------------------*/ :root { --container-width: 100%; --container-sm: 33.75rem; --container-md: 45rem; --container-lg: 60rem; --container-xl: 71.25rem; --container-xxl: 90rem; --container-fluid: 100%; --gutter-x: 1.875rem; --gutter-3: 0.125rem; --gutter-5: 0.225rem; --gutter-10: 0.625rem; --gutter-15: 0.9375rem; --gutter-20: 1.25rem; --gutter-25: 1.5625rem; --gutter-30: 1.875rem; --gutter-32: 2rem; --gutter-35: 2.1875rem; --gutter-40: 2.5rem; --gutter-45: 2.8125rem; --gutter-50: 3.125rem; --ff-roboto: "Roboto", sans-serif; --fw-100: 100; --fw-200: 200; --fw-300: 300; --fw-400: 400; --fw-500: 500; --fw-600: 600; --fw-700: 700; --fw-800: 800; --fw-900: 900; --fs-12: 0.75rem; --fs-13: 0.8125rem; --fs-14: 0.875rem; --fs-15: 0.9375rem; --fs-16: 1rem; --fs-17: 1.0625rem; --fs-18: 1.125rem; --fs-20: 1.25rem; --fs-21: 1.3125rem; --fs-24: 1.5rem; --fs-25: 1.5625rem; --fs-28: 1.75rem; --fs-30: 1.875rem; --fs-32: 2rem; --fs-35: 2.1875rem; --fs-40: 2.5rem; --fs-45: 2.8125rem; --hr-bg: var(--clr-black); --hr-width: 100%; --hr-height: 0.3125rem; --hr-gutter-y: 1.875rem; --hr-gutter-x: 0; --hr-padding: 0; --hr-radius: 0; --m: 0; --mt: 0; --mr: 0; --mb: 0; --ml: 0; --mx: 0; --my: 0; --m-auto: auto; --my-auto: auto; --mx-auto: auto; --p: 0; --pt: 0; --pr: 0; --pb: 0; --pl: 0; --px: 0; --py: 0; --p-auto: auto; --py-auto: auto; --px-auto: auto; --border-width: 0.0625rem; --border-style: solid; --border-clr: transparent; --border: var(--border-width) var(--border-style) var(--border-clr); --border-t: var(--border-width) var(--border-style) var(--border-clr); --border-r: var(--border-width) var(--border-style) var(--border-clr); --border-b: var(--border-width) var(--border-style) var(--border-clr); --border-l: var(--border-width) var(--border-style) var(--border-clr); --border-x: var(--border-width) var(--border-style) var(--border-clr); --border-y: var(--border-width) var(--border-style) var(--border-clr); --radius: 0; --radius-t: 0; --radius-r: 0; --radius-b: 0; --radius-l: 0; --radius-full: 50%; --btn-bg: transparent; --btn-clr: inherit; --btn-ff: var(--ff-roboto); --btn-fs: var(--fs-15); --btn-py: 0.625rem; --btn-px: 1.125rem; --btn-my: var(--my); --btn-mx: var(--mx); --clr-black: #000; --clr-black-100: #0D0E2B; --clr-dark: #252733; --clr-text: #575766; --clr-text-light: #9199A1; --clr-white: #fff; --frmx_brand_color: #6a28ea; --clr-orange: #ff5a46; --clr-yellow: #FFE132; --black_50: #ebebeb; --black_100: #d6d9dc; --black_150: #c8ccd0; --black_200: #bbc0c4; --black_300: #9fa6ad; --black_350: #9199a1; --black_400: #848d95; --black_500: #6a737c; --black_600: #535a60; --black_700: #3c4146; --black_750: #2f3337; --black_800: #242729; --black_900: #0c0d0e; } /** * Forumax Dashboard Styles * * Modern, visually stunning dashboard design with premium aesthetics. * * @package Forumax * @since 2.1.0 */ .forumax-dashboard-wrap { max-width: 1600px; margin: 20px 20px 20px 0; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif; } .forumax-dashboard-wrap * { box-sizing: border-box; } .forumax-dashboard-wrap { margin: 20px auto; } .forumax-dashboard { background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } .forumax-dashboard-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 32px; background: linear-gradient(135deg, #6831c1 0%, #8652e0 100%); color: #fff; gap: 20px; flex-wrap: wrap; } .forumax-dashboard-header .forumax-dashboard-header-left { display: flex; align-items: center; gap: 20px; } .forumax-dashboard-header .forumax-logo img { height: 48px; width: auto; } .forumax-dashboard-header .forumax-header-text h1 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; color: #fff; } .forumax-dashboard-header .forumax-header-text p { margin: 4px 0 0; font-size: 14px; opacity: 0.9; } .forumax-dashboard-header .forumax-dashboard-header-right { display: flex; align-items: center; gap: 16px; } .forumax-dashboard-header .forumax-version { background: rgba(255, 255, 255, 0.2); padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; } .forumax-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; } .forumax-btn .dashicons { font-size: 18px; width: 18px; height: 18px; } .forumax-btn.forumax-btn-secondary { background: rgba(255, 255, 255, 0.2); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); } .forumax-btn.forumax-btn-secondary:hover { background: rgba(255, 255, 255, 0.3); color: #fff; } .forumax-btn.forumax-btn-upgrade { background: #f1bd6c; color: #1e1e2f; width: 100%; justify-content: center; } .forumax-btn.forumax-btn-upgrade:hover { background: rgb(236.5652173913, 168.0931677019, 61.4347826087); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(241, 189, 108, 0.4); } .forumax-stats-section { padding: 32px; background: #fff; border-bottom: 1px solid #e5e7eb; } .forumax-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; } @media screen and (max-width: 1400px) { .forumax-stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } } .forumax-stat-card { position: relative; background: #ffffff; border-radius: 12px; padding: 24px; border: 1px solid #e5e7eb; transition: all 0.3s ease; overflow: hidden; } .forumax-stat-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 12px 12px 0 0; } .forumax-stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15); } .forumax-stat-card .forumax-stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; } .forumax-stat-card .forumax-stat-icon .dashicons { font-size: 24px; width: 24px; height: 24px; color: #fff; } .forumax-stat-card .forumax-stat-content { display: flex; flex-direction: column; gap: 4px; } .forumax-stat-card .forumax-stat-number { font-size: 32px; font-weight: 700; line-height: 1; color: #1e1e2f; } .forumax-stat-card .forumax-stat-label { font-size: 14px; color: #6b7280; font-weight: 500; } .forumax-stat-card .forumax-stat-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 13px; font-weight: 600; color: #6831c1; text-decoration: none; } .forumax-stat-card .forumax-stat-link .dashicons { font-size: 16px; width: 16px; height: 16px; transition: transform 0.2s ease; } .forumax-stat-card .forumax-stat-link:hover { color: #541fa3; } .forumax-stat-card .forumax-stat-link:hover .dashicons { transform: translateX(4px); } .forumax-stat-card .forumax-stat-badge { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; margin-top: 8px; } .forumax-stat-card .forumax-stat-badge.forumax-badge-warning { background: rgba(245, 158, 11, 0.1); color: rgb(172.4330708661, 110.9507874016, 7.0669291339); } .forumax-stat-card .forumax-stat-badge.forumax-badge-alert { background: rgba(239, 68, 68, 0.1); color: #ef4444; animation: pulse-alert 2s infinite; } .forumax-stat-card.forumax-stat-forums::before { background: #6831c1; } .forumax-stat-card.forumax-stat-forums .forumax-stat-icon { background: #6831c1; } .forumax-stat-card.forumax-stat-unanswered::before { background: #f59e0b; } .forumax-stat-card.forumax-stat-unanswered .forumax-stat-icon { background: #f59e0b; } .forumax-stat-card.forumax-stat-topics::before { background: #3b82f6; } .forumax-stat-card.forumax-stat-topics .forumax-stat-icon { background: #3b82f6; } .forumax-stat-card.forumax-stat-replies::before { background: #10b981; } .forumax-stat-card.forumax-stat-replies .forumax-stat-icon { background: #10b981; } .forumax-stat-card.forumax-stat-users::before { background: #8b5cf6; } .forumax-stat-card.forumax-stat-users .forumax-stat-icon { background: #8b5cf6; } .forumax-stat-card.forumax-stat-tags::before { background: #f59e0b; } .forumax-stat-card.forumax-stat-tags .forumax-stat-icon { background: #f59e0b; } .forumax-stat-card.forumax-stat-pending::before { background: #6b7280; } .forumax-stat-card.forumax-stat-pending .forumax-stat-icon { background: #6b7280; } .forumax-stat-card.forumax-stat-pending.has-pending::before { background: #ef4444; } .forumax-stat-card.forumax-stat-pending.has-pending .forumax-stat-icon { background: #ef4444; } .forumax-stat-card.forumax-stat-pending.has-pending { border-color: rgba(239, 68, 68, 0.3); } @keyframes pulse-alert { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } } .forumax-dashboard-content { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 32px; } @media (max-width: 1200px) { .forumax-dashboard-content { grid-template-columns: 1fr; } } .forumax-dashboard-main { display: flex; flex-direction: column; gap: 24px; } .forumax-dashboard-sidebar { display: flex; flex-direction: column; gap: 24px; } .forumax-card { background: #ffffff; border-radius: 12px; border: 1px solid #e5e7eb; overflow: hidden; transition: box-shadow 0.3s ease; } .forumax-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); } .forumax-card .forumax-card-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #f9fafb; border-bottom: 1px solid #e5e7eb; } .forumax-card .forumax-card-header h2 { margin: 0; font-size: 16px; font-weight: 600; color: #1e1e2f; display: flex; align-items: center; gap: 8px; } .forumax-card .forumax-card-header h2 .dashicons { font-size: 20px; width: 20px; height: 20px; color: #6831c1; } .forumax-card .forumax-card-header.forumax-gradient-header { background: linear-gradient(135deg, #6831c1 0%, #8652e0 100%); } .forumax-card .forumax-card-header.forumax-gradient-header h2 { color: #fff; } .forumax-card .forumax-card-header.forumax-gradient-header h2 .dashicons { color: #f1bd6c; } .forumax-card .forumax-card-body { padding: 20px; } .forumax-card .forumax-view-all { font-size: 13px; color: #6831c1; text-decoration: none; font-weight: 500; } .forumax-card .forumax-view-all:hover { color: #541fa3; } .forumax-actions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } @media (max-width: 768px) { .forumax-actions-grid { grid-template-columns: repeat(2, 1fr); } } .forumax-action-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; background: #f9fafb; border-radius: 12px; text-decoration: none; transition: all 0.3s ease; border: 1px solid transparent; } .forumax-action-item .forumax-action-icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, #6831c1 0%, #8652e0 100%); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; } .forumax-action-item .forumax-action-icon .dashicons { font-size: 24px; width: 24px; height: 24px; color: #fff; } .forumax-action-item .forumax-action-label { font-size: 13px; font-weight: 600; color: #374151; text-align: center; } .forumax-action-item:hover { background: #fff; border-color: #6831c1; box-shadow: 0 4px 12px rgba(104, 49, 193, 0.15); } .forumax-action-item:hover .forumax-action-icon { transform: scale(1.1); } .forumax-activity-list { list-style: none; margin: 0; padding: 0; } .forumax-activity-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e5e7eb; } .forumax-activity-item:last-child { border-bottom: none; padding-bottom: 0; } .forumax-activity-item:first-child { padding-top: 0; } .forumax-activity-item .forumax-activity-avatar { flex-shrink: 0; } .forumax-activity-item .forumax-activity-avatar img { width: 40px; height: 40px; border-radius: 50%; -o-object-fit: cover; object-fit: cover; } .forumax-activity-item .forumax-activity-content { flex: 1; min-width: 0; } .forumax-activity-item .forumax-activity-title { display: block; font-size: 14px; font-weight: 600; color: #1e1e2f; text-decoration: none; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .forumax-activity-item .forumax-activity-title:hover { color: #6831c1; } .forumax-activity-item .forumax-activity-title:focus { outline: none; } .forumax-activity-item .forumax-activity-excerpt { font-size: 13px; color: #374151; line-height: 1.5; margin-bottom: 6px; } .forumax-activity-item .forumax-activity-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: #6b7280; } .forumax-activity-item .forumax-activity-meta a { color: #6831c1; text-decoration: none; } .forumax-activity-item .forumax-activity-meta a:hover { text-decoration: underline; } .forumax-activity-item .forumax-activity-separator { opacity: 0.5; } .forumax-activity-item .forumax-activity-stats { flex-shrink: 0; } .forumax-activity-item .forumax-reply-count { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; background: #f3f4f6; border-radius: 4px; font-size: 12px; color: #6b7280; } .forumax-activity-item .forumax-reply-count .dashicons { font-size: 14px; width: 14px; height: 14px; } .forumax-empty-state { text-align: center; padding: 32px 20px; color: #6b7280; } .forumax-empty-state .dashicons { font-size: 48px; width: 48px; height: 48px; margin-bottom: 12px; opacity: 0.3; } .forumax-empty-state p { margin: 0; font-size: 14px; } .forumax-engagement-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #e5e7eb; } .forumax-engagement-item:last-child { border-bottom: none; padding-bottom: 0; } .forumax-engagement-item:first-child { padding-top: 0; } .forumax-engagement-item .forumax-engagement-label { font-size: 13px; color: #6b7280; } .forumax-engagement-item .forumax-engagement-value { font-size: 18px; font-weight: 700; color: #1e1e2f; } .forumax-pro-features { list-style: none; margin: 0 0 20px; padding: 0; } .forumax-pro-features li { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 13px; color: #374151; } .forumax-pro-features li .dashicons { font-size: 16px; width: 16px; height: 16px; color: #10b981; } .forumax-info-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #e5e7eb; } .forumax-info-item:last-child { border-bottom: none; padding-bottom: 0; } .forumax-info-item:first-child { padding-top: 0; } .forumax-info-item .forumax-info-label { font-size: 13px; color: #6b7280; } .forumax-info-item .forumax-info-value { font-size: 13px; font-weight: 600; color: #1e1e2f; } .forumax-info-item .forumax-info-value.forumax-plan-badge { padding: 4px 10px; border-radius: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; } .forumax-info-item .forumax-info-value.forumax-plan-badge.free { background: #f3f4f6; color: #6b7280; } .forumax-info-item .forumax-info-value.forumax-plan-badge.pro { background: linear-gradient(135deg, #f1bd6c, rgb(236.5652173913, 168.0931677019, 61.4347826087)); color: #1e1e2f; } .forumax-links-list { list-style: none; margin: 0; padding: 0; } .forumax-links-list li { margin-bottom: 8px; } .forumax-links-list li:last-child { margin-bottom: 0; } .forumax-links-list li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f9fafb; border-radius: 8px; text-decoration: none; color: #374151; font-size: 13px; font-weight: 500; transition: all 0.2s ease; } .forumax-links-list li a .dashicons { font-size: 18px; width: 18px; height: 18px; color: #6831c1; } .forumax-links-list li a:hover { background: #6831c1; color: #fff; } .forumax-links-list li a:hover .dashicons { color: #fff; } .forumax-dashboard-error { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 40px; text-align: center; margin-top: 20px; } .forumax-dashboard-error h2 { margin: 0 0 12px; color: #ef4444; } .forumax-dashboard-error p { margin: 0; color: #6b7280; } /** * Analytics Locked Page * * Forumax analytics presentation for free users. * * @package Forumax * @since 2.3.0 */ /* ─── Variables ──────────────────────────────────── */ /* ─── Reset & base ──────────────────────────────── */ .frmx-analytics-page { margin: 20px 20px 20px 0; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .frmx-analytics-page *, .frmx-analytics-page *::before, .frmx-analytics-page *::after { box-sizing: border-box; } /* ─── Shell ───────────────────────────────────────── */ .frmx-analytics-shell { width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 12px 40px rgba(15, 23, 42, 0.06); } /* ─── Shared badge / kicker ──────────────────────── */ .frmx-analytics-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; } .frmx-analytics-kicker--dark { background: rgba(124, 58, 237, 0.1); color: #7c3aed; } /* ─── Buttons ────────────────────────────────────── */ .frmx-analytics-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); } .frmx-analytics-btn svg { flex-shrink: 0; } .frmx-analytics-btn--accent { background: linear-gradient(135deg, #f7b14f 0%, #f59e0b 100%); border-color: rgba(245, 158, 11, 0.3); color: #1c1917; box-shadow: 0 1px 2px rgba(245, 158, 11, 0.3), 0 4px 12px rgba(245, 158, 11, 0.15); } .frmx-analytics-btn--accent:hover { background: linear-gradient(135deg, #f5a83d 0%, rgb(206.7275590551, 133.0173228346, 8.4724409449) 100%); color: #1c1917; box-shadow: 0 1px 2px rgba(245, 158, 11, 0.4), 0 8px 20px rgba(245, 158, 11, 0.25); transform: translateY(-1px); } .frmx-analytics-btn--secondary { background: #fff; border-color: #e2e8f0; color: #1e293b; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06); } .frmx-analytics-btn--secondary:hover { border-color: #cbd5e1; background: #f8fafc; color: #0f172a; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); transform: translateY(-1px); } .frmx-analytics-btn--primary { background: linear-gradient(135deg, #7c3aed 0%, rgb(105.3553488372, 29.9618604651, 234.4381395349) 100%); color: #fff; border-color: rgba(124, 58, 237, 0.3); box-shadow: 0 1px 2px rgba(124, 58, 237, 0.3), 0 4px 12px rgba(124, 58, 237, 0.2); } .frmx-analytics-btn--primary:hover { background: linear-gradient(135deg, rgb(105.3553488372, 29.9618604651, 234.4381395349) 0%, rgb(91.3451162791, 19.5739534884, 214.2260465116) 100%); color: #fff; box-shadow: 0 1px 2px rgba(124, 58, 237, 0.4), 0 8px 20px rgba(124, 58, 237, 0.3); transform: translateY(-1px); } /* ─── Top bar ────────────────────────────────────── */ .frmx-analytics-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 36px 28px; background: linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #8b5cf6 100%); position: relative; overflow: hidden; } .frmx-analytics-topbar::before { content: ""; position: absolute; top: -60%; right: -10%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%); pointer-events: none; } .frmx-analytics-topbar::after { content: ""; position: absolute; bottom: -40%; left: 15%; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%); pointer-events: none; } .frmx-analytics-topbar__main { display: flex; align-items: center; gap: 18px; min-width: 0; position: relative; z-index: 1; } .frmx-analytics-topbar__logo { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1); backdrop-filter: blur(8px); } .frmx-analytics-topbar__logo img { height: 26px; width: auto; display: block; } .frmx-analytics-topbar__copy h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 6px; font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; color: #fff; } .frmx-analytics-topbar__copy p { margin: 0; max-width: 42ch; font-size: 13.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.82); } .frmx-analytics-topbar__actions { position: relative; z-index: 1; } .frmx-analytics-plan { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(4px); } /* ─── Hero section ──────────────────────────────── */ .frmx-analytics-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr); gap: 40px; padding: 40px 36px; background: linear-gradient(180deg, #f1f5f9 0%, #fff 100%); border-bottom: 1px solid #e2e8f0; } .frmx-analytics-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(139, 92, 246, 0.12) 100%); color: #7c3aed; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; } .frmx-analytics-hero__eyebrow svg { flex-shrink: 0; } .frmx-analytics-hero__copy h2 { margin: 18px 0 14px; max-width: 16ch; font-size: 38px; line-height: 1.08; letter-spacing: -0.04em; color: #0f172a; } .frmx-analytics-hero__copy p { max-width: 48ch; margin: 0; font-size: 15px; line-height: 1.75; color: #64748b; } .frmx-analytics-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; } /* ─── Summary items ─────────────────────────────── */ .frmx-analytics-summary { display: grid; gap: 10px; margin-top: 28px; } .frmx-analytics-summary__item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03); transition: all 0.2s ease; } .frmx-analytics-summary__item:hover { border-color: #c7d2fe; box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06); } .frmx-analytics-summary__item strong { display: block; margin-bottom: 2px; font-size: 14px; color: #0f172a; } .frmx-analytics-summary__item p { margin: 0; font-size: 12.5px; line-height: 1.55; color: #64748b; } .frmx-analytics-summary__icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; } .frmx-analytics-summary__icon--blue { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.16) 100%); color: #3b82f6; } .frmx-analytics-summary__icon--purple { background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0.16) 100%); color: #7c3aed; } .frmx-analytics-summary__icon--green { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.16) 100%); color: #10b981; } /* ─── Preview widget ────────────────────────────── */ .frmx-analytics-preview__window { padding: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 12px 36px rgba(15, 23, 42, 0.07); } .frmx-analytics-preview__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding: 4px 4px 0; } .frmx-analytics-preview__dots { display: flex; gap: 6px; } .frmx-analytics-preview__dots span { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; } .frmx-analytics-preview__dots span:first-child { background: #a78bfa; } .frmx-analytics-preview__dots span:nth-child(2) { background: #ddd6fe; } .frmx-analytics-preview__label { font-size: 12px; font-weight: 700; color: #7c3aed; letter-spacing: 0.02em; } .frmx-analytics-preview { /* Preview stats */ } .frmx-analytics-preview__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .frmx-analytics-preview__stat { padding: 16px 14px 14px; background: #fafbff; border: 1px solid #eef2ff; border-radius: 16px; transition: all 0.2s ease; } .frmx-analytics-preview__stat:hover { border-color: #c7d2fe; background: #f5f3ff; } .frmx-analytics-preview__stat label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em; } .frmx-analytics-preview__stat strong { display: block; font-size: 26px; line-height: 1; letter-spacing: -0.03em; color: #0f172a; } .frmx-analytics-preview { /* Sparklines */ } .frmx-analytics-preview__sparkline { margin-top: 8px; height: 24px; opacity: 0.6; } .frmx-analytics-preview__sparkline svg { width: 100%; height: 100%; } .frmx-analytics-preview { /* Preview chart */ } .frmx-analytics-preview__chart { position: relative; margin-top: 14px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%); } .frmx-analytics-preview__chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 220px; padding: 20px 18px 24px; } .frmx-analytics-preview { /* Lock overlay */ } .frmx-analytics-preview__lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); } .frmx-analytics-preview__lock span { font-size: 13px; font-weight: 800; color: #1e1b4b; letter-spacing: 0.02em; } .frmx-analytics-preview__lock-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(124, 58, 237, 0.08); color: #7c3aed; } /* ─── Badges ──────────────────────────────────── */ .frmx-analytics-badge { display: inline-flex; margin-top: 8px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; } .frmx-analytics-badge--green { background: rgba(16, 185, 129, 0.1); color: rgb(12.752238806, 147.447761194, 102.8149253731); } .frmx-analytics-badge--purple { background: rgba(139, 92, 246, 0.1); color: #7c3aed; } .frmx-analytics-badge--amber { background: rgba(245, 158, 11, 0.1); color: rgb(206.7275590551, 133.0173228346, 8.4724409449); } /* ─── Chart bars with animation ─────────────────── */ .frmx-bar { flex: 1; min-width: 0; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, rgba(139, 92, 246, 0.4) 0%, rgba(124, 58, 237, 0.65) 100%); animation: frmx-bar-grow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both; } .frmx-bar-1 { height: 22%; animation-delay: 0s; } .frmx-bar-2 { height: 38%; animation-delay: 0.06s; } .frmx-bar-3 { height: 28%; animation-delay: 0.12s; } .frmx-bar-4 { height: 55%; animation-delay: 0.18s; } .frmx-bar-5 { height: 40%; animation-delay: 0.24s; } .frmx-bar-6 { height: 65%; animation-delay: 0.3s; } .frmx-bar-7 { height: 48%; animation-delay: 0.36s; } @keyframes frmx-bar-grow { from { height: 0; opacity: 0; } to { opacity: 1; } } /* ─── Section ────────────────────────────────────── */ .frmx-analytics-section { padding: 44px 36px; border-bottom: 1px solid #e2e8f0; } .frmx-analytics-section--soft { background: linear-gradient(180deg, #faf5ff 0%, #f8fafc 100%); } .frmx-analytics-section__header { max-width: 640px; margin: 0 auto; text-align: center; } .frmx-analytics-section__header h2 { margin: 16px 0 10px; font-size: 30px; line-height: 1.15; letter-spacing: -0.035em; color: #0f172a; } .frmx-analytics-section__header p { margin: 0; font-size: 14.5px; line-height: 1.75; color: #64748b; } /* Section icons */ .frmx-analytics-icon { width: 48px; height: 48px; margin: 0 auto; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(124, 58, 237, 0.14) 100%); color: #7c3aed; } .frmx-analytics-icon--blue { background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.14) 100%); color: #3b82f6; } /* ─── Stats grid (What you can measure) ──────── */ .frmx-analytics-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; } .frmx-analytics-stat { padding: 22px 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; transition: all 0.25s ease; position: relative; overflow: hidden; } .frmx-analytics-stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: transparent; border-radius: 16px 16px 0 0; transition: background 0.25s ease; } .frmx-analytics-stat:hover { border-color: #c7d2fe; box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04); transform: translateY(-2px); } .frmx-analytics-stat:nth-child(1):hover::before { background: linear-gradient(90deg, #6366f1, rgb(155.16, 157.08, 246.04)); } .frmx-analytics-stat:nth-child(2):hover::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); } .frmx-analytics-stat:nth-child(3):hover::before { background: linear-gradient(90deg, #14b8a6, rgb(34.2, 231, 209.4)); } .frmx-analytics-stat:nth-child(4):hover::before { background: linear-gradient(90deg, #f59e0b, rgb(247.4094488189, 181.3716535433, 69.7905511811)); } .frmx-analytics-stat { /* Stat icons */ } .frmx-analytics-stat__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; margin-bottom: 16px; } .frmx-analytics-stat__icon--indigo { background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.18) 100%); color: #6366f1; } .frmx-analytics-stat__icon--violet { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.18) 100%); color: #8b5cf6; } .frmx-analytics-stat__icon--teal { background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.18) 100%); color: #14b8a6; } .frmx-analytics-stat__icon--amber { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.18) 100%); color: #f59e0b; } .frmx-analytics-stat strong { display: block; margin-bottom: 8px; font-size: 18px; letter-spacing: -0.02em; color: #0f172a; } .frmx-analytics-stat span { display: block; font-size: 13px; line-height: 1.7; color: #64748b; } /* ─── Report cards grid ─────────────────────────── */ .frmx-analytics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; } .frmx-analytics-card { padding: 24px 22px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; transition: all 0.25s ease; } .frmx-analytics-card:hover { border-color: #c7d2fe; box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04); transform: translateY(-2px); } .frmx-analytics-card { /* Card icons */ } .frmx-analytics-card__icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; margin-bottom: 14px; } .frmx-analytics-card__icon--indigo { background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.16) 100%); color: #6366f1; } .frmx-analytics-card__icon--violet { background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.16) 100%); color: #8b5cf6; } .frmx-analytics-card__icon--teal { background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(20, 184, 166, 0.16) 100%); color: #14b8a6; } .frmx-analytics-card__icon--amber { background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.16) 100%); color: #f59e0b; } .frmx-analytics-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; color: #0f172a; } .frmx-analytics-card p { margin: 0; font-size: 13.5px; line-height: 1.75; color: #64748b; } /* ─── Footer CTA ─────────────────────────────────── */ .frmx-analytics-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px; background: linear-gradient(135deg, #faf5ff 0%, #f0f9ff 50%, #fff 100%); position: relative; overflow: hidden; } .frmx-analytics-footer__glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 200px; background: radial-gradient(ellipse, rgba(124, 58, 237, 0.06) 0%, transparent 70%); pointer-events: none; } .frmx-analytics-footer__content { max-width: 560px; position: relative; z-index: 1; } .frmx-analytics-footer__content h2 { margin: 14px 0 8px; font-size: 28px; line-height: 1.15; letter-spacing: -0.035em; color: #0f172a; } .frmx-analytics-footer__content p { margin: 0; font-size: 14px; line-height: 1.75; color: #64748b; } .frmx-analytics-footer > .frmx-analytics-btn { position: relative; z-index: 1; flex-shrink: 0; } /* ─── Responsive ─────────────────────────────────── */ @media (max-width: 1080px) { .frmx-analytics-hero { grid-template-columns: 1fr; gap: 32px; } .frmx-analytics-hero__copy h2 { max-width: none; } } @media (max-width: 980px) { .frmx-analytics-topbar, .frmx-analytics-footer { flex-direction: column; align-items: flex-start; } .frmx-analytics-stats { grid-template-columns: 1fr 1fr; } } @media (max-width: 782px) { .frmx-analytics-page { margin-right: 10px; } .frmx-analytics-topbar, .frmx-analytics-hero, .frmx-analytics-section, .frmx-analytics-footer { padding-left: 20px; padding-right: 20px; } .frmx-analytics-topbar__copy h1, .frmx-analytics-hero__copy h2, .frmx-analytics-section__header h2, .frmx-analytics-footer__content h2 { font-size: 24px; max-width: none; } .frmx-analytics-topbar__main { align-items: flex-start; } .frmx-analytics-topbar__logo { width: 48px; height: 48px; } .frmx-analytics-preview__stats, .frmx-analytics-stats, .frmx-analytics-grid { grid-template-columns: 1fr; } } /** * Forumax Setup Wizard Styles * * Redesigned to follow the Jobus onboarding wizard aesthetic: * clean top bar, numbered steps, large card, left-aligned content. * * @package Forumax * @since 2.2.0 */ body.forumax-setup-page.admin-bar { padding-top: 0 !important; } body.forumax-setup-page #wpadminbar { display: none !important; } body.forumax-setup-page #adminmenu, body.forumax-setup-page #adminmenuback, body.forumax-setup-page #adminmenuwrap, body.forumax-setup-page #adminmenushadow { display: none !important; } body.forumax-setup-page .update-nag, body.forumax-setup-page .notice, body.forumax-setup-page .error, body.forumax-setup-page .success, body.forumax-setup-page .warning, body.forumax-setup-page #wpfooter, body.forumax-setup-page .wp-header-end { display: none !important; } body.forumax-setup-page #wpwrap { background: #f8fafc; } body.forumax-setup-page #wpcontent, body.forumax-setup-page #wpbody { margin-left: 0 !important; padding: 0 !important; float: none; } body.forumax-setup-page html, body.forumax-setup-page #wpwrap, body.forumax-setup-page #wpcontent { height: 100%; min-height: 100vh; overflow-y: auto; } .forumax-setup-wrap { margin: 0; padding: 0; width: 100%; min-height: 100vh; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif; display: flex; flex-direction: column; align-items: center; } .forumax-setup-wrap * { box-sizing: border-box; } .forumax-setup-topbar { width: 100%; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226, 232, 240, 0.8); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 64px; flex-shrink: 0; } .forumax-setup-topbar .forumax-setup-logo img { height: 32px; width: auto; display: block; } .forumax-setup-topbar .forumax-btn-skip-top { display: inline-flex; align-items: center; gap: 6px; color: #64748b; font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 0; transition: color 0.2s ease; } .forumax-setup-topbar .forumax-btn-skip-top .dashicons { font-size: 14px; width: 14px; height: 14px; } .forumax-setup-topbar .forumax-btn-skip-top:hover { color: #0f172a; } .forumax-setup-steps-bar { width: 100%; display: flex; justify-content: center; padding: 28px 40px 0; } .forumax-progress-steps { display: flex; align-items: center; gap: 0; } .forumax-progress-step { display: flex; align-items: center; gap: 10px; position: relative; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .forumax-progress-step:hover:not(.active) .forumax-step-circle { border-color: rgba(104, 49, 193, 0.4); color: #6831c1; } .forumax-progress-step:hover:not(.active) .forumax-step-label { color: #334155; } .forumax-progress-step:not(:last-child)::after { content: ""; display: block; width: 72px; height: 2px; background: #e2e8f0; margin: 0 8px; transition: background 0.3s ease; flex-shrink: 0; } .forumax-progress-step.completed:not(:last-child)::after { background: #10b981; } .forumax-progress-step .forumax-step-circle { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid #e2e8f0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #64748b; transition: all 0.3s ease; flex-shrink: 0; position: relative; } .forumax-progress-step .forumax-step-circle .frmx-step-number { line-height: 1; } .forumax-progress-step .forumax-step-circle .frmx-step-check { display: none; font-size: 16px; width: 16px; height: 16px; color: #fff; } .forumax-progress-step .forumax-step-label { font-size: 14px; font-weight: 500; color: #64748b; white-space: nowrap; transition: color 0.3s ease; } @media (max-width: 768px) { .forumax-progress-step .forumax-step-label { display: none; } } .forumax-progress-step.active .forumax-step-circle { background: #6831c1; border-color: #6831c1; color: #fff; } .forumax-progress-step.active .forumax-step-label { color: #6831c1; font-weight: 600; } .forumax-progress-step.completed .forumax-step-circle { background: #10b981; border-color: #10b981; } .forumax-progress-step.completed .forumax-step-circle .frmx-step-number { display: none; } .forumax-progress-step.completed .forumax-step-circle .frmx-step-check { display: flex; align-items: center; justify-content: center; } .forumax-progress-step.completed .forumax-step-label { color: #10b981; } .forumax-setup-card { width: 100%; max-width: 660px; background: #ffffff; border-radius: 20px; box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.08), 0 8px 16px -4px rgba(0, 0, 0, 0.04); border: 1px solid rgba(255, 255, 255, 0.6); margin: 28px 40px 40px; display: flex; flex-direction: column; overflow: hidden; position: relative; } .forumax-setup-card-body { padding: 40px 48px 32px; flex: 1; } @media (max-width: 640px) { .forumax-setup-card-body { padding: 28px 24px 24px; } } .forumax-setup-step { display: none; } .forumax-setup-step-title { font-size: 24px; font-weight: 700; color: #0f172a; margin: 0 0 8px; line-height: 1.3; } .forumax-setup-step-desc { font-size: 15px; color: #64748b; margin: 0 0 32px; line-height: 1.6; } .forumax-welcome-emoji { font-size: 36px; line-height: 1; margin-bottom: 16px; display: block; } .forumax-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; } @media (max-width: 560px) { .forumax-feature-grid { grid-template-columns: 1fr; } } .forumax-feature-item { text-align: center; padding: 20px 16px; background: #f1f5f9; border-radius: 12px; border: 1px solid #e2e8f0; transition: all 0.25s ease; } .forumax-feature-item .forumax-feature-icon { width: 48px; height: 48px; margin: 0 auto 14px; background: rgba(104, 49, 193, 0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; } .forumax-feature-item .forumax-feature-icon .dashicons { font-size: 22px; width: 22px; height: 22px; color: #6831c1; } .forumax-feature-item h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #334155; } .forumax-feature-item p { margin: 0; font-size: 13px; color: #64748b; line-height: 1.5; } .forumax-feature-item:hover { border-color: rgba(104, 49, 193, 0.3); background: rgba(104, 49, 193, 0.03); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); } .forumax-info-box { display: flex; gap: 12px; padding: 14px 18px; background: rgba(59, 130, 246, 0.06); border: 1px solid rgba(59, 130, 246, 0.18); border-radius: 10px; color: rgb(11.1512195122, 99.1219512195, 242.8487804878); font-size: 14px; line-height: 1.6; margin-top: 20px; } .forumax-info-box .dashicons { flex-shrink: 0; font-size: 18px; width: 18px; height: 18px; margin-top: 2px; } .forumax-color-field .forumax-color-input-wrap { display: flex; align-items: center; gap: 12px; } .forumax-color-field .forumax-color-input-wrap input[type=color] { -webkit-appearance: none; -moz-appearance: none; appearance: none; border: 2px solid #e2e8f0; border-radius: 10px; width: 48px; height: 48px; padding: 3px; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease; background: none; } .forumax-color-field .forumax-color-input-wrap input[type=color]::-webkit-color-swatch-wrapper { padding: 0; } .forumax-color-field .forumax-color-input-wrap input[type=color]::-webkit-color-swatch { border: none; border-radius: 7px; } .forumax-color-field .forumax-color-input-wrap input[type=color]::-moz-color-swatch { border: none; border-radius: 7px; } .forumax-color-field .forumax-color-input-wrap input[type=color]:hover, .forumax-color-field .forumax-color-input-wrap input[type=color]:focus { border-color: #6831c1; box-shadow: 0 0 0 3px rgba(104, 49, 193, 0.1); outline: none; } .forumax-color-field .forumax-color-hex-input { width: 120px; padding: 11px 14px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-size: 14px; font-family: "SF Mono", "Fira Code", monospace, inherit; color: #0f172a; text-transform: uppercase; letter-spacing: 0.5px; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .forumax-color-field .forumax-color-hex-input:focus { outline: none; border-color: #6831c1; box-shadow: 0 0 0 3px rgba(104, 49, 193, 0.1); } .forumax-section-heading { margin: 0 0 4px; font-size: 17px; font-weight: 600; color: #0f172a; } .forumax-section-subheading { font-size: 13px; color: #64748b; margin: 0 0 20px; line-height: 1.5; } .forumax-section + .forumax-section { margin-top: 32px; } .forumax-toggle-rows { display: flex; flex-direction: column; gap: 2px; } .forumax-toggle-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #f1f5f9; border-radius: 10px; cursor: pointer; transition: background 0.2s ease; margin-bottom: 0 !important; } .forumax-toggle-row input[type=checkbox] { display: none; } .forumax-toggle-row .frmx-row-icon { width: 36px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .forumax-toggle-row .frmx-row-icon .dashicons { font-size: 18px; width: 18px; height: 18px; color: #64748b; } .forumax-toggle-row .frmx-row-body { flex: 1; min-width: 0; } .forumax-toggle-row .frmx-row-body .frmx-row-title { display: block; font-size: 14px; font-weight: 600; color: #334155; margin-bottom: 2px; } .forumax-toggle-row .frmx-row-body .frmx-row-desc { display: block; font-size: 13px; color: #64748b; line-height: 1.4; } .forumax-toggle-row .frmx-toggle-switch { position: relative; width: 42px; height: 24px; background: #d1d5db; border-radius: 12px; transition: background 0.2s ease; flex-shrink: 0; } .forumax-toggle-row .frmx-toggle-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform 0.2s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); } .forumax-toggle-row input[type=checkbox]:checked ~ .frmx-toggle-switch { background: #6831c1; } .forumax-toggle-row input[type=checkbox]:checked ~ .frmx-toggle-switch::after { transform: translateX(18px); } .forumax-toggle-row:hover { background: rgba(104, 49, 193, 0.04); } .forumax-form-group { margin-bottom: 20px; } .forumax-form-group label:not(.forumax-toggle-row) { display: block; font-size: 14px; font-weight: 600; color: #334155; margin-bottom: 8px; } .forumax-form-group input[type=text], .forumax-form-group input[type=number], .forumax-form-group textarea, .forumax-form-group select { width: 100%; padding: 11px 14px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-size: 14px; color: #0f172a; transition: border-color 0.2s ease, box-shadow 0.2s ease; font-family: inherit; background: #fff; } .forumax-form-group input[type=text]:focus, .forumax-form-group input[type=number]:focus, .forumax-form-group textarea:focus, .forumax-form-group select:focus { outline: none; border-color: #6831c1; box-shadow: 0 0 0 3px rgba(104, 49, 193, 0.1); } .forumax-form-group input[type=text]::-moz-placeholder, .forumax-form-group input[type=number]::-moz-placeholder, .forumax-form-group textarea::-moz-placeholder, .forumax-form-group select::-moz-placeholder { color: #9ca3af; } .forumax-form-group input[type=text]::placeholder, .forumax-form-group input[type=number]::placeholder, .forumax-form-group textarea::placeholder, .forumax-form-group select::placeholder { color: #9ca3af; } .forumax-form-group textarea { resize: vertical; min-height: 84px; } .forumax-form-group .forumax-field-description { margin: 6px 0 0; font-size: 13px; color: #64748b; line-height: 1.4; } .forumax-form-row { display: flex; align-items: center; gap: 16px; margin-top: 4px; } .forumax-form-row > label { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: #334155; white-space: nowrap; margin-bottom: 0; } .forumax-form-row .forumax-inline-field { display: flex; align-items: center; gap: 12px; } .forumax-form-row .forumax-inline-field input[type=number] { width: 80px; padding: 9px 12px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-size: 14px; color: #0f172a; font-family: inherit; background: #fff; text-align: center; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .forumax-form-row .forumax-inline-field input[type=number]:focus { outline: none; border-color: #6831c1; box-shadow: 0 0 0 3px rgba(104, 49, 193, 0.1); } .forumax-form-row .forumax-inline-field .forumax-field-description { margin: 0; font-size: 13px; color: #64748b; } .forumax-option-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } @media (max-width: 560px) { .forumax-option-cards { grid-template-columns: 1fr; } } .forumax-option-card { cursor: pointer; } .forumax-option-card input[type=radio] { display: none; } .forumax-option-card .forumax-option-content { padding: 18px 14px; background: #f1f5f9; border: 1.5px solid #e2e8f0; border-radius: 12px; text-align: center; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); } .forumax-option-card .forumax-option-content .dashicons { font-size: 28px; width: 28px; height: 28px; color: #64748b; margin-bottom: 10px; transition: transform 0.25s ease; } .forumax-option-card .forumax-option-content h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #334155; } .forumax-option-card .forumax-option-content p { margin: 0; font-size: 12px; color: #64748b; line-height: 1.4; } .forumax-option-card input[type=radio]:checked ~ .forumax-option-content { background: rgba(104, 49, 193, 0.08); border-color: #6831c1; } .forumax-option-card input[type=radio]:checked ~ .forumax-option-content .dashicons { color: #6831c1; } .forumax-option-card input[type=radio]:checked ~ .forumax-option-content h4 { color: #6831c1; } .forumax-option-card:hover .forumax-option-content { border-color: rgba(104, 49, 193, 0.4); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); } .forumax-option-card:hover .forumax-option-content .dashicons { transform: scale(1.1); } .forumax-layout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; } @media (max-width: 560px) { .forumax-layout-grid { grid-template-columns: 1fr; } } .forumax-layout-option { cursor: pointer; } .forumax-layout-option input[type=radio] { display: none; } .forumax-layout-option .forumax-layout-preview { border-radius: 8px; overflow: hidden; border: 1.5px solid #e2e8f0; transition: all 0.2s ease; background: #fff; } .forumax-layout-option .forumax-layout-preview .forumax-layout-preview-img { height: 64px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; } .forumax-layout-option .forumax-layout-preview .forumax-layout-preview-img .dashicons { font-size: 28px; width: 28px; height: 28px; color: #9ca3af; } .forumax-layout-option .forumax-layout-preview .forumax-layout-info { padding: 10px; text-align: center; } .forumax-layout-option .forumax-layout-preview .forumax-layout-info .forumax-layout-title { display: block; font-size: 13px; font-weight: 600; color: #334155; } .forumax-layout-option .forumax-layout-preview .forumax-layout-info .forumax-layout-desc { display: block; font-size: 11px; color: #64748b; margin-top: 2px; line-height: 1.3; } .forumax-layout-option input[type=radio]:checked ~ .forumax-layout-preview { border-color: #6831c1; box-shadow: 0 0 0 2px rgba(104, 49, 193, 0.15); } .forumax-layout-option input[type=radio]:checked ~ .forumax-layout-preview .forumax-layout-preview-img { background: rgba(104, 49, 193, 0.08); } .forumax-layout-option input[type=radio]:checked ~ .forumax-layout-preview .forumax-layout-preview-img .dashicons { color: #6831c1; } .forumax-layout-option input[type=radio]:checked ~ .forumax-layout-preview .forumax-layout-title { color: #6831c1; } .forumax-layout-option:hover .forumax-layout-preview { border-color: rgba(104, 49, 193, 0.4); } .forumax-advanced-box { display: flex; gap: 12px; padding: 16px 18px; background: rgba(16, 185, 129, 0.06); border: 1px solid rgba(16, 185, 129, 0.2); border-radius: 10px; margin-top: 8px; } .forumax-advanced-box .frmx-adv-icon { font-size: 18px; flex-shrink: 0; line-height: 1.5; } .forumax-advanced-box .frmx-adv-body .frmx-adv-title { display: block; font-size: 14px; font-weight: 600; color: rgb(11.9402985075, 138.0597014925, 96.2686567164); margin-bottom: 4px; } .forumax-advanced-box .frmx-adv-body .frmx-adv-desc { display: block; font-size: 13px; color: #64748b; line-height: 1.5; margin-bottom: 8px; } .forumax-advanced-box .frmx-adv-body .frmx-adv-link { font-size: 13px; font-weight: 600; color: rgb(13.9701492537, 161.5298507463, 112.6343283582); text-decoration: none; } .forumax-advanced-box .frmx-adv-body .frmx-adv-link:hover { text-decoration: underline; } .forumax-success-circle { width: 88px; height: 88px; margin: 0 auto 24px; background: #6831c1; border-radius: 50%; display: flex; align-items: center; justify-content: center; animation: frmx-success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); } .forumax-success-circle .dashicons { font-size: 48px; width: 48px; height: 48px; color: #fff; } @keyframes frmx-success-pop { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } .forumax-complete-title { font-size: 24px; font-weight: 700; text-align: center; margin: 0 0 8px; color: #0f172a; } .forumax-complete-desc { font-size: 15px; text-align: center; color: #64748b; margin: 0 0 32px; line-height: 1.6; } .forumax-next-steps { display: flex; flex-direction: column; gap: 10px; max-width: 520px; margin: 0 auto; } .forumax-next-step-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #f1f5f9; border: 1.5px solid #e2e8f0; border-radius: 12px; text-decoration: none; transition: all 0.2s ease; } .forumax-next-step-card .forumax-next-step-icon { width: 40px; height: 40px; background: rgba(104, 49, 193, 0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .forumax-next-step-card .forumax-next-step-icon .dashicons { font-size: 20px; width: 20px; height: 20px; color: #6831c1; } .forumax-next-step-card .forumax-next-step-content { flex: 1; } .forumax-next-step-card .forumax-next-step-content h3 { margin: 0 0 2px; font-size: 14px; font-weight: 600; color: #334155; } .forumax-next-step-card .forumax-next-step-content p { margin: 0; font-size: 13px; color: #64748b; } .forumax-next-step-card > .dashicons { flex-shrink: 0; font-size: 16px; width: 16px; height: 16px; color: #9ca3af; transition: transform 0.2s ease, color 0.2s ease; } .forumax-next-step-card:hover { border-color: rgba(104, 49, 193, 0.35); background: rgba(104, 49, 193, 0.04); } .forumax-next-step-card:hover > .dashicons { transform: translateX(3px); color: #6831c1; } .forumax-upgrade-banner { margin: 28px 48px; padding: 22px 28px; background: linear-gradient(135deg, #6831c1 0%, #8652e0 100%); border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; } @media (max-width: 560px) { .forumax-upgrade-banner { flex-direction: column; text-align: center; margin-left: 24px; margin-right: 24px; } } .forumax-upgrade-banner .forumax-upgrade-content { display: flex; align-items: center; gap: 14px; flex: 1; } .forumax-upgrade-banner .forumax-upgrade-content .dashicons { font-size: 36px; width: 36px; height: 36px; color: #f1bd6c; flex-shrink: 0; } .forumax-upgrade-banner .forumax-upgrade-content h3 { margin: 0 0 3px; font-size: 16px; font-weight: 700; color: #fff; } .forumax-upgrade-banner .forumax-upgrade-content p { margin: 0; font-size: 13px; opacity: 0.9; } .forumax-upgrade-banner .forumax-btn-upgrade { background: #f1bd6c; color: #1e1e2f; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s ease; white-space: nowrap; border: none; } .forumax-upgrade-banner .forumax-btn-upgrade:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } .forumax-setup-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 20px 48px 28px; border-top: 1px solid #f1f5f9; } @media (max-width: 560px) { .forumax-setup-card-footer { padding: 16px 24px 24px; flex-direction: column-reverse; gap: 10px; } } .forumax-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; cursor: pointer; border: none; font-family: inherit; line-height: 1.4; } .forumax-btn .dashicons { font-size: 16px; width: 16px; height: 16px; } .forumax-btn.forumax-btn-primary { background: #6831c1; color: #fff; box-shadow: 0 2px 4px rgba(104, 49, 193, 0.2); } .forumax-btn.forumax-btn-primary:hover { background: #541fa3; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(104, 49, 193, 0.35); color: #fff; } .forumax-btn.forumax-btn-secondary { background: #fff; color: #334155; border: 1.5px solid #e2e8f0; } .forumax-btn.forumax-btn-secondary:hover { border-color: #9ca3af; color: #0f172a; } .forumax-btn.forumax-btn-welcome { margin-top: 28px; } .forumax-btn-prev, .forumax-btn-finish { display: none; } .forumax-field-error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important; } .forumax-error-msg { color: #ef4444; font-size: 13px; margin: 4px 0 0; animation: frmx-error-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; } @keyframes frmx-error-shake { 10%, 90% { transform: translate3d(-1px, 0, 0); } 20%, 80% { transform: translate3d(2px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-4px, 0, 0); } 40%, 60% { transform: translate3d(4px, 0, 0); } } .forumax-step-animating { animation: frmx-step-enter 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; } @keyframes frmx-step-enter { 0% { opacity: 0; transform: translateY(12px) scale(0.99); } 100% { opacity: 1; transform: translateY(0) scale(1); } }