/* =============================================================
   FynorCoin Design System
   Theme: Black / Red / Gold — Bootstrap-compatible override layer
   ============================================================= */

:root {
    --fynor-black: #0a0a0a;
    --fynor-black-soft: #0e0e0f;
    --fynor-surface: #121212;
    --fynor-surface-2: #171717;
    --fynor-surface-3: #1d1d1d;
    --fynor-border: #262626;
    --fynor-border-light: #333333;
    --fynor-white: #ffffff;
    --fynor-text: #f5f5f5;
    --fynor-muted: #a0a0a0;
    --fynor-muted-2: #737373;
    --fynor-gold: #f5c518;
    --fynor-gold-hover: #ffd84d;
    --fynor-gold-soft: rgba(245, 197, 24, 0.12);
    --fynor-red: #e10600;
    --fynor-red-hover: #ff2d27;
    --fynor-red-soft: rgba(225, 6, 0, 0.13);
    --fynor-success: #22c55e;
    --fynor-warning: #f59e0b;
    --fynor-danger: #ef4444;
    --fynor-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    --fynor-shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.22);
    --fynor-radius-sm: 10px;
    --fynor-radius: 14px;
    --fynor-radius-lg: 18px;
    --fynor-header-height: 82px;
    --fynor-sidebar-width: 280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
    font-family: 'Outfit', sans-serif !important;
}

body {
    margin: 0;
    color: var(--fynor-text);
    background: var(--fynor-black);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
        transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
    color: var(--fynor-gold);
}

img {
    max-width: 100%;
}

::selection {
    color: var(--fynor-black);
    background: var(--fynor-gold);
}

.fynor-body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 9% 8%, rgba(225, 6, 0, 0.11), transparent 24%),
        radial-gradient(circle at 91% 14%, rgba(245, 197, 24, 0.08), transparent 23%),
        var(--fynor-black);
}

.fynor-main {
    min-height: 70vh;
    padding-top: var(--fynor-header-height);
}

.fynor-skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 99999;
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--fynor-black);
    background: var(--fynor-gold);
}

.fynor-skip-link:focus {
    top: 20px;
}

.fynor-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--fynor-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fynor-kicker::before {
    width: 22px;
    height: 2px;
    content: '';
    background: var(--fynor-red);
}

/* Buttons */
.fynor-btn,
.cmn-btn,
.btn-border {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 20px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    transition: all 0.2s ease !important;
}

.fynor-btn:hover,
.cmn-btn:hover,
.btn-border:hover {
    transform: translateY(-2px);
}

.fynor-btn--gold,
.cmn-btn {
    color: #0b0b0b !important;
    background: linear-gradient(135deg, var(--fynor-gold), #e5a900) !important;
    box-shadow: 0 10px 24px rgba(245, 197, 24, 0.17) !important;
}

.fynor-btn--gold:hover,
.cmn-btn:hover {
    color: #000 !important;
    background: linear-gradient(135deg, var(--fynor-gold-hover), var(--fynor-gold)) !important;
    box-shadow: 0 13px 30px rgba(245, 197, 24, 0.26) !important;
}

.fynor-btn--ghost,
.btn-border {
    color: var(--fynor-white) !important;
    border-color: var(--fynor-border-light) !important;
    background: rgba(255, 255, 255, 0.025) !important;
}

.fynor-btn--ghost:hover,
.btn-border:hover {
    color: var(--fynor-gold) !important;
    border-color: rgba(245, 197, 24, 0.58) !important;
    background: var(--fynor-gold-soft) !important;
}

/* Header */
.fynor-header {
    z-index: 999;
    height: var(--fynor-header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.fynor-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-right: clamp(18px, 3vw, 46px);
    padding-left: clamp(18px, 3vw, 46px);
}

.fynor-brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 11px;
}

.fynor-brand img {
    width: auto;
    max-width: 168px;
    height: 44px;
    object-fit: contain;
}

.fynor-brand__mark {
    display: inline-grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(245, 197, 24, 0.4);
    border-radius: 50%;
    color: var(--fynor-black);
    background: linear-gradient(145deg, #ffe477, var(--fynor-gold) 58%, #a66f00);
    box-shadow: inset 0 0 0 4px rgba(10, 10, 10, 0.34), 0 8px 22px rgba(245, 197, 24, 0.16);
    font-size: 1.22rem;
    font-weight: 800;
}

.fynor-brand__text {
    color: var(--fynor-white);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.fynor-brand__text span {
    color: var(--fynor-gold);
}

.fynor-navbar > ul {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fynor-navbar > ul > li > a.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px !important;
    color: #c8c8c8 !important;
    font-size: 0.9rem;
    font-weight: 500;
}

.fynor-navbar > ul > li > a.nav-link::after {
    position: absolute;
    right: 14px;
    bottom: 4px;
    left: 14px;
    height: 2px;
    border-radius: 999px;
    content: '';
    background: linear-gradient(90deg, var(--fynor-red), var(--fynor-gold));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.fynor-navbar > ul > li:hover > a.nav-link,
.fynor-navbar > ul > li.active > a.nav-link {
    color: var(--fynor-white) !important;
}

.fynor-navbar > ul > li:hover > a.nav-link::after,
.fynor-navbar > ul > li.active > a.nav-link::after {
    transform: scaleX(1);
}

.fynor-header__actions {
    align-items: center;
    gap: 10px;
}

.fynor-language {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid var(--fynor-border);
    border-radius: 11px;
    color: var(--fynor-muted);
    background: rgba(255, 255, 255, 0.025);
}

.fynor-language select,
.changeLang {
    width: auto;
    padding: 0 18px 0 0 !important;
    border: 0 !important;
    outline: 0 !important;
    color: var(--fynor-white) !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-size: 0.82rem;
    font-weight: 600;
}

.fynor-language option,
.changeLang option {
    color: var(--fynor-white);
    background: var(--fynor-surface);
}

.mobile-nav-toggle {
    color: var(--fynor-white) !important;
    font-size: 2rem !important;
}

.fynor-mobile-actions {
    padding: 18px !important;
}

/* Generic frontend sections */
.fynor-home-page section,
.fynor-page-content section {
    position: relative;
}

.fynor-body .section-title h2,
.fynor-body .section-title h3,
.fynor-body .section-heading h2,
.fynor-body .section-heading h3 {
    color: var(--fynor-white) !important;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.fynor-body .section-title p,
.fynor-body .section-heading p,
.fynor-body p {
    color: var(--fynor-muted);
}

.fynor-body .card,
.fynor-body .plan-card,
.fynor-body .service-card,
.fynor-body .feature-card,
.fynor-body .blog-card,
.fynor-body .testimonial-card {
    border: 1px solid var(--fynor-border) !important;
    border-radius: var(--fynor-radius-lg) !important;
    color: var(--fynor-text);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent), var(--fynor-surface) !important;
    box-shadow: var(--fynor-shadow-soft);
}

.fynor-body .form-control,
.fynor-body .form-select,
.fynor-body textarea,
.fynor-body input,
.fynor-body select {
    min-height: 50px;
    border: 1px solid var(--fynor-border) !important;
    border-radius: 12px !important;
    color: var(--fynor-white) !important;
    background-color: #0f0f0f !important;
    box-shadow: none !important;
}

.fynor-body .form-control:focus,
.fynor-body .form-select:focus,
.fynor-body textarea:focus,
.fynor-body input:focus,
.fynor-body select:focus {
    border-color: rgba(245, 197, 24, 0.7) !important;
    box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.08) !important;
}

.fynor-body .form-control::placeholder,
.fynor-body textarea::placeholder,
.fynor-auth-body .form-control::placeholder {
    color: #666 !important;
}

/* Page hero */
.fynor-page-hero {
    position: relative;
    display: flex;
    min-height: 360px;
    align-items: flex-end;
    padding: 125px 0 70px;
    overflow: hidden;
    border-bottom: 1px solid var(--fynor-border);
    background-image: var(--page-hero-image);
    background-position: center;
    background-size: cover;
}

.fynor-page-hero::before {
    position: absolute;
    inset: 0;
    content: '';
    background:
        linear-gradient(90deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.86) 47%, rgba(10, 10, 10, 0.58) 100%),
        linear-gradient(0deg, var(--fynor-black), transparent 50%);
}

.fynor-page-hero__overlay {
    position: absolute;
    width: 420px;
    height: 420px;
    top: -200px;
    right: -100px;
    border-radius: 50%;
    background: rgba(225, 6, 0, 0.22);
    filter: blur(90px);
}

.fynor-page-hero__content {
    max-width: 760px;
}

.fynor-page-hero h1 {
    margin: 0 0 20px;
    color: var(--fynor-white);
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.fynor-breadcrumb {
    display: inline-flex;
    padding: 10px 15px;
    border: 1px solid var(--fynor-border);
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.82);
    backdrop-filter: blur(8px);
}

.fynor-breadcrumb .breadcrumb-item,
.fynor-breadcrumb .breadcrumb-item a {
    color: var(--fynor-muted);
    font-size: 0.84rem;
}

.fynor-breadcrumb .breadcrumb-item.active,
.fynor-breadcrumb .breadcrumb-item a:hover {
    color: var(--fynor-gold);
}

.fynor-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #666;
}

.fynor-page-content {
    min-height: 400px;
}

/* Footer */
.fynor-footer {
    position: relative;
    overflow: hidden;
    padding: 84px 0 0;
    border-top: 1px solid var(--fynor-border);
    background: #080808;
}

.fynor-footer::before {
    position: absolute;
    inset: 0;
    content: '';
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.fynor-footer__glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(100px);
}

.fynor-footer__glow--left {
    bottom: -220px;
    left: -170px;
    background: rgba(225, 6, 0, 0.15);
}

.fynor-footer__glow--right {
    top: -260px;
    right: -180px;
    background: rgba(245, 197, 24, 0.1);
}

.fynor-footer__top {
    padding-bottom: 54px;
}

.fynor-brand--footer {
    margin-bottom: 22px;
}

.fynor-footer__brand-block > p {
    max-width: 420px;
    margin-bottom: 24px;
    color: var(--fynor-muted);
    font-size: 0.94rem;
    line-height: 1.75;
}

.fynor-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fynor-socials a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--fynor-border);
    border-radius: 11px;
    color: var(--fynor-muted);
    background: var(--fynor-surface);
}

.fynor-socials a:hover {
    color: var(--fynor-black);
    border-color: var(--fynor-gold);
    background: var(--fynor-gold);
    transform: translateY(-3px);
}

.fynor-footer__column h5 {
    margin-bottom: 20px;
    color: var(--fynor-white);
    font-size: 1rem;
    font-weight: 700;
}

.fynor-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fynor-footer__column li {
    margin-bottom: 12px;
}

.fynor-footer__column li,
.fynor-footer__column li a {
    color: var(--fynor-muted);
    font-size: 0.9rem;
}

.fynor-footer__column li a:hover {
    color: var(--fynor-gold);
    transform: translateX(3px);
}

.fynor-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fynor-footer__contact li i {
    margin-top: 2px;
    color: var(--fynor-gold);
}

.fynor-network-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.fynor-network-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border: 1px solid var(--fynor-border);
    border-radius: 999px;
    color: #c9c9c9;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.72rem;
    font-weight: 600;
}

.fynor-footer__notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(245, 197, 24, 0.18);
    border-radius: 14px;
    background: rgba(245, 197, 24, 0.045);
}

.fynor-footer__notice i {
    margin-top: 2px;
    color: var(--fynor-gold);
}

.fynor-footer__notice p {
    margin: 0;
    color: #8d8d8d;
    font-size: 0.78rem;
    line-height: 1.6;
}

.fynor-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 22px 0;
    border-top: 1px solid var(--fynor-border);
    color: #757575;
    font-size: 0.82rem;
}

.fynor-footer__status,
.fynor-dashboard-footer > span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fynor-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fynor-success);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.1);
}

/* Back to top */
.fynor-back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 950;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(245, 197, 24, 0.35);
    border-radius: 13px;
    color: var(--fynor-black);
    background: var(--fynor-gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all 0.2s ease;
}

.fynor-back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fynor-back-to-top:hover {
    background: var(--fynor-gold-hover);
    transform: translateY(-3px);
}

/* Modal */
.fynor-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--fynor-border);
    border-radius: 18px;
    color: var(--fynor-text);
    background: var(--fynor-surface);
    box-shadow: var(--fynor-shadow);
}

.fynor-modal .modal-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--fynor-border);
    background: linear-gradient(110deg, rgba(225, 6, 0, 0.1), rgba(245, 197, 24, 0.035));
}

.fynor-modal .modal-title {
    color: var(--fynor-white);
    font-weight: 700;
}

.fynor-modal .modal-body {
    padding: 24px;
}

.fynor-modal-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 120px;
    color: var(--fynor-muted);
}

/* Auth */
.fynor-auth-body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--fynor-text);
    background: var(--fynor-black);
}

.fynor-auth-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(225, 6, 0, 0.1), transparent 28%),
        radial-gradient(circle at 84% 20%, rgba(245, 197, 24, 0.085), transparent 24%),
        #090909;
}

.fynor-auth-grid {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at center, black 10%, transparent 74%);
}

.fynor-auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.fynor-auth-orb--one {
    width: 320px;
    height: 320px;
    top: -120px;
    left: -80px;
    background: rgba(225, 6, 0, 0.15);
}

.fynor-auth-orb--two {
    width: 360px;
    height: 360px;
    right: -100px;
    bottom: -160px;
    background: rgba(245, 197, 24, 0.1);
}

.fynor-auth-main {
    min-height: 100vh;
}

.fynor-auth-body .auth-section {
    display: grid !important;
    min-height: 100vh;
    grid-template-columns: minmax(460px, 0.95fr) minmax(480px, 1.05fr);
    background: transparent !important;
}

.fynor-auth-body .auth-wrapper {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 72px);
    border-right: 1px solid var(--fynor-border);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(16px);
}

.fynor-auth-body .auth-top-part {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 620px;
    margin: 0 auto 42px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.fynor-auth-body .auth-logo img {
    width: auto !important;
    max-width: 170px;
    height: 48px;
    object-fit: contain;
}

.fynor-auth-body .auth-top-part p,
.fynor-auth-body .auth-top-part span {
    color: var(--fynor-muted) !important;
}

.fynor-auth-body .auth-body-part {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 0 !important;
    background: transparent !important;
}

.fynor-auth-body .auth-form-wrapper {
    padding: clamp(24px, 3vw, 38px) !important;
    border: 1px solid var(--fynor-border) !important;
    border-radius: 20px !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 40%),
        rgba(18, 18, 18, 0.94) !important;
    box-shadow: var(--fynor-shadow) !important;
}

.fynor-auth-body .auth-form-wrapper h3 {
    margin-bottom: 9px !important;
    color: var(--fynor-white) !important;
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    font-weight: 750;
    letter-spacing: -0.045em;
}

.fynor-auth-body .auth-form-wrapper h3::after {
    display: block;
    width: 42px;
    height: 3px;
    margin: 16px auto 27px;
    border-radius: 999px;
    content: '';
    background: linear-gradient(90deg, var(--fynor-red), var(--fynor-gold));
}

.fynor-auth-body label {
    display: inline-block;
    margin-bottom: 8px;
    color: #d1d1d1 !important;
    font-size: 0.82rem;
    font-weight: 600;
}

.fynor-auth-body .form-control,
.fynor-auth-body input,
.fynor-auth-body select {
    min-height: 51px;
    border: 1px solid var(--fynor-border) !important;
    border-radius: 12px !important;
    color: var(--fynor-white) !important;
    background: #0d0d0d !important;
    box-shadow: none !important;
}

.fynor-auth-body .form-control:focus,
.fynor-auth-body input:focus,
.fynor-auth-body select:focus {
    border-color: rgba(245, 197, 24, 0.72) !important;
    box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.08) !important;
}

.fynor-auth-body .form-check-input {
    min-height: auto !important;
    border-color: #555 !important;
}

.fynor-auth-body .form-check-input:checked {
    border-color: var(--fynor-gold) !important;
    background-color: var(--fynor-gold) !important;
}

.fynor-auth-body .color-change,
.fynor-auth-body .auth-form-wrapper a:not(.cmn-btn) {
    color: var(--fynor-gold) !important;
}

.fynor-auth-body .auth-footer-part {
    width: 100%;
    max-width: 620px;
    margin: 24px auto 0;
    padding: 0 !important;
    color: var(--fynor-muted-2);
    background: transparent !important;
}

.fynor-auth-body .auth-thumb-area {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.92)),
        radial-gradient(circle at 50% 30%, rgba(245, 197, 24, 0.08), transparent 35%),
        #0d0d0d;
}

.fynor-auth-body .auth-thumb-area::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: '';
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.75), transparent 28%);
}

.fynor-auth-body .auth-thumb {
    width: 100%;
    height: 100%;
}

.fynor-auth-body .auth-thumb img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.05);
}

.fynor-auth-home-link {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--fynor-border);
    border-radius: 999px;
    color: var(--fynor-muted);
    background: rgba(18, 18, 18, 0.86);
    backdrop-filter: blur(12px);
    font-size: 0.8rem;
}

/* Dashboard layout */
.fynor-dashboard-body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--fynor-text);
    background: #0b0b0c;
}

.fynor-dashboard-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1050;
    display: flex;
    height: 74px;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--fynor-border);
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(16px);
}

.fynor-dashboard-header__left,
.fynor-dashboard-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-open-btn {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--fynor-border);
    border-radius: 11px;
    color: var(--fynor-white);
    background: var(--fynor-surface);
    font-size: 1.25rem;
}

.fynor-dashboard-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--fynor-white);
    font-weight: 800;
}

.fynor-dashboard-brand img {
    width: auto;
    max-width: 152px;
    height: 38px;
    object-fit: contain;
}

.fynor-user-menu {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 5px 10px 5px 5px;
    border: 1px solid var(--fynor-border);
    border-radius: 13px;
    color: var(--fynor-white);
    background: var(--fynor-surface);
}

.fynor-user-menu::after {
    display: none;
}

.fynor-user-avatar {
    display: grid;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(245, 197, 24, 0.28);
    border-radius: 10px;
    color: var(--fynor-black);
    background: var(--fynor-gold);
    font-weight: 800;
}

.fynor-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fynor-user-meta {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.fynor-user-meta strong {
    max-width: 150px;
    overflow: hidden;
    color: var(--fynor-white);
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fynor-user-meta small {
    color: var(--fynor-muted-2);
    font-size: 0.67rem;
}

.fynor-user-dropdown {
    min-width: 220px;
    padding: 9px;
    border: 1px solid var(--fynor-border);
    border-radius: 14px;
    background: var(--fynor-surface);
    box-shadow: var(--fynor-shadow-soft);
}

.fynor-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #d2d2d2;
    font-size: 0.84rem;
}

.fynor-user-dropdown .dropdown-item:hover {
    color: var(--fynor-gold);
    background: var(--fynor-gold-soft);
}

.fynor-user-dropdown .dropdown-divider {
    border-color: var(--fynor-border);
}

.fynor-dashboard-shell {
    display: flex;
    min-height: 100vh;
    padding-top: 74px;
}

.fynor-sidebar {
    position: fixed !important;
    top: 74px !important;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: flex;
    width: var(--fynor-sidebar-width) !important;
    height: calc(100vh - 74px) !important;
    flex-direction: column;
    padding: 20px 14px 18px;
    overflow-y: auto;
    border-right: 1px solid var(--fynor-border);
    background: #0d0d0e !important;
    box-shadow: none !important;
}

.fynor-sidebar::-webkit-scrollbar {
    width: 5px;
}

.fynor-sidebar::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: #333;
}

.fynor-sidebar__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 15px;
}

.fynor-sidebar__label {
    color: #5f5f5f;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.fynor-sidebar__close {
    display: grid !important;
}

.fynor-sidebar-menu {
    flex: 1;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.fynor-sidebar-menu > li {
    margin-bottom: 5px;
}

.fynor-sidebar-menu > li > a {
    position: relative;
    display: flex !important;
    min-height: 48px;
    align-items: center;
    gap: 12px;
    padding: 11px 13px !important;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #a9a9a9 !important;
    background: transparent !important;
    font-size: 0.86rem;
    font-weight: 500;
}

.fynor-sidebar-menu > li > a > i:first-child {
    width: 21px;
    color: #777;
    font-size: 1rem;
    text-align: center;
}

.fynor-sidebar-menu > li > a > span:nth-child(2) {
    flex: 1;
}

.fynor-sidebar-menu > li:hover > a,
.fynor-sidebar-menu > li.active > a,
.fynor-sidebar-menu > li[class*='active'] > a,
.fynor-sidebar-menu > li.open > a {
    color: var(--fynor-white) !important;
    border-color: rgba(245, 197, 24, 0.14);
    background: linear-gradient(90deg, rgba(225, 6, 0, 0.11), rgba(245, 197, 24, 0.07)) !important;
}

.fynor-sidebar-menu > li.active > a::before,
.fynor-sidebar-menu > li[class*='active'] > a::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: -14px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    content: '';
    background: var(--fynor-gold);
    box-shadow: 0 0 14px rgba(245, 197, 24, 0.5);
}

.fynor-sidebar-menu > li:hover > a > i:first-child,
.fynor-sidebar-menu > li.active > a > i:first-child,
.fynor-sidebar-menu > li[class*='active'] > a > i:first-child,
.fynor-sidebar-menu > li.open > a > i:first-child {
    color: var(--fynor-gold);
}

.fynor-menu-badge {
    flex: none !important;
    padding: 4px 7px;
    border-radius: 999px;
    color: var(--fynor-black);
    background: var(--fynor-gold);
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
}

.fynor-submenu-arrow {
    color: #606060 !important;
    font-size: 0.75rem !important;
    transition: transform 0.2s ease;
}

.fynor-sidebar-menu > li.open .fynor-submenu-arrow {
    transform: rotate(180deg);
}

.fynor-sidebar-menu .submenu {
    display: none;
    margin: 5px 0 8px 34px !important;
    padding: 4px 0 4px 14px !important;
    border-left: 1px solid var(--fynor-border);
    list-style: none;
}

.fynor-sidebar-menu > li.open > .submenu,
.fynor-sidebar-menu > li.active > .submenu,
.fynor-sidebar-menu > li[class*='active'] > .submenu {
    display: block;
}

.fynor-sidebar-menu .submenu li a {
    display: block;
    padding: 8px 10px !important;
    border-radius: 8px;
    color: #777 !important;
    font-size: 0.78rem;
}

.fynor-sidebar-menu .submenu li.active a,
.fynor-sidebar-menu .submenu li[class*='active'] a,
.fynor-sidebar-menu .submenu li a:hover {
    color: var(--fynor-gold) !important;
    background: rgba(245, 197, 24, 0.05) !important;
}

.fynor-current-plan {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin: 16px 2px 12px;
    padding: 14px;
    border: 1px solid rgba(245, 197, 24, 0.18);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.08), rgba(225, 6, 0, 0.06));
}

.fynor-current-plan__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    color: var(--fynor-black);
    background: var(--fynor-gold);
}

.fynor-current-plan > div:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.fynor-current-plan span {
    color: var(--fynor-muted-2);
    font-size: 0.65rem;
}

.fynor-current-plan strong {
    overflow: hidden;
    color: var(--fynor-white);
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fynor-current-plan > a {
    color: var(--fynor-gold);
}

.fynor-sidebar-logout {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 12px;
    margin: 0 2px;
    padding: 10px 13px;
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 12px;
    color: #d67878;
    background: rgba(239, 68, 68, 0.035);
    font-size: 0.84rem;
}

.fynor-sidebar-logout:hover {
    color: #fff;
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.09);
}

.fynor-dashboard-main {
    width: calc(100% - var(--fynor-sidebar-width));
    min-height: calc(100vh - 74px);
    margin-left: var(--fynor-sidebar-width);
    background:
        radial-gradient(circle at 95% 0%, rgba(245, 197, 24, 0.045), transparent 22%),
        radial-gradient(circle at 0% 20%, rgba(225, 6, 0, 0.045), transparent 20%),
        #0b0b0c;
}

.fynor-dashboard-content {
    min-height: calc(100vh - 130px);
    padding: clamp(18px, 2.6vw, 34px);
}

/* Override old dashboard wrappers so old views remain usable */
.fynor-dashboard-body .dashboard-main,
.fynor-dashboard-body .dashboard-section,
.fynor-dashboard-body .dashboard-body-part,
.fynor-dashboard-body .dashboard-body {
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.fynor-dashboard-body .dashboard-card,
.fynor-dashboard-body .single-dashboard-card,
.fynor-dashboard-body .dashboard-box,
.fynor-dashboard-body .card,
.fynor-dashboard-body .table-responsive,
.fynor-dashboard-body .main-content {
    border: 1px solid var(--fynor-border) !important;
    border-radius: 16px !important;
    color: var(--fynor-text) !important;
    background: var(--fynor-surface) !important;
    box-shadow: var(--fynor-shadow-soft) !important;
}

.fynor-dashboard-body h1,
.fynor-dashboard-body h2,
.fynor-dashboard-body h3,
.fynor-dashboard-body h4,
.fynor-dashboard-body h5,
.fynor-dashboard-body h6 {
    color: var(--fynor-white) !important;
}

.fynor-dashboard-body p,
.fynor-dashboard-body label,
.fynor-dashboard-body .text-muted {
    color: var(--fynor-muted) !important;
}

.fynor-dashboard-body .form-control,
.fynor-dashboard-body .form-select,
.fynor-dashboard-body input,
.fynor-dashboard-body select,
.fynor-dashboard-body textarea {
    min-height: 48px;
    border: 1px solid var(--fynor-border) !important;
    border-radius: 11px !important;
    color: var(--fynor-white) !important;
    background: #0e0e0f !important;
    box-shadow: none !important;
}

.fynor-dashboard-body .form-control:focus,
.fynor-dashboard-body .form-select:focus,
.fynor-dashboard-body input:focus,
.fynor-dashboard-body select:focus,
.fynor-dashboard-body textarea:focus {
    border-color: rgba(245, 197, 24, 0.7) !important;
    box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.08) !important;
}

.fynor-dashboard-body table {
    color: #d6d6d6 !important;
}

.fynor-dashboard-body table th {
    color: var(--fynor-muted) !important;
    border-color: var(--fynor-border) !important;
    background: #101010 !important;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fynor-dashboard-body table td {
    border-color: var(--fynor-border) !important;
    background: var(--fynor-surface) !important;
}

.fynor-dashboard-body .pagination .page-link {
    color: var(--fynor-muted);
    border-color: var(--fynor-border);
    background: var(--fynor-surface);
}

.fynor-dashboard-body .pagination .active .page-link,
.fynor-dashboard-body .pagination .page-link:hover {
    color: var(--fynor-black);
    border-color: var(--fynor-gold);
    background: var(--fynor-gold);
}

.fynor-dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 56px;
    padding: 0 clamp(18px, 2.6vw, 34px);
    border-top: 1px solid var(--fynor-border);
    color: #666;
    background: #090909;
    font-size: 0.76rem;
}

.fynor-sidebar-overlay {
    position: fixed;
    inset: 74px 0 0 0;
    z-index: 1035;
    display: none;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(2px);
}

.fynor-sidebar-overlay.active {
    display: block;
}

.fynor-mobile-nav {
    display: none;
}

/* Preloader */
.fynor-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background: var(--fynor-black);
}

.fynor-preloader__coin {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 2px solid var(--fynor-gold);
    border-radius: 50%;
    color: var(--fynor-black);
    background: var(--fynor-gold);
    box-shadow: 0 0 0 10px rgba(245, 197, 24, 0.07), 0 0 35px rgba(245, 197, 24, 0.25);
    font-size: 1.8rem;
    font-weight: 800;
    animation: fynorPulse 1s ease-in-out infinite alternate;
}

@keyframes fynorPulse {
    to {
        transform: scale(1.08) rotate(8deg);
        box-shadow: 0 0 0 16px rgba(245, 197, 24, 0.03), 0 0 50px rgba(245, 197, 24, 0.35);
    }
}

/* Responsive */
@media (max-width: 1199.98px) {
    .fynor-navbar > ul > li > a.nav-link {
        padding-right: 10px !important;
        padding-left: 10px !important;
        font-size: 0.84rem;
    }

    .sidebar-open-btn {
        display: grid;
    }

    .fynor-sidebar {
        transform: translateX(-105%);
        transition: transform 0.25s ease;
    }

    .fynor-sidebar.active {
        transform: translateX(0);
    }

    .fynor-dashboard-main {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    :root {
        --fynor-header-height: 72px;
    }

    .fynor-header__container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .fynor-navbar > ul {
        top: 72px !important;
        right: 14px !important;
        bottom: auto !important;
        left: 14px !important;
        max-height: calc(100vh - 94px);
        padding: 14px !important;
        overflow-y: auto;
        border: 1px solid var(--fynor-border) !important;
        border-radius: 16px !important;
        background: rgba(15, 15, 15, 0.98) !important;
        box-shadow: var(--fynor-shadow) !important;
    }

    .fynor-navbar > ul > li > a.nav-link {
        min-height: 46px;
        padding: 0 12px !important;
        border-radius: 9px;
    }

    .fynor-navbar > ul > li > a.nav-link::after {
        display: none;
    }

    .fynor-navbar > ul > li.active > a.nav-link,
    .fynor-navbar > ul > li > a.nav-link:hover {
        color: var(--fynor-gold) !important;
        background: var(--fynor-gold-soft);
    }

    .fynor-auth-body .auth-section {
        grid-template-columns: 1fr;
    }

    .fynor-auth-body .auth-wrapper {
        min-height: 100vh;
        border-right: 0;
    }

    .fynor-auth-body .auth-thumb-area {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .fynor-brand img {
        max-width: 136px;
        height: 38px;
    }

    .fynor-brand__text {
        font-size: 1.05rem;
    }

    .fynor-page-hero {
        min-height: 300px;
        padding-bottom: 48px;
    }

    .fynor-footer {
        padding-top: 64px;
    }

    .fynor-footer__bottom,
    .fynor-dashboard-footer {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .fynor-auth-body .auth-wrapper {
        padding: 70px 18px 28px;
    }

    .fynor-auth-body .auth-top-part {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 26px;
    }

    .fynor-auth-body .auth-form-wrapper {
        padding: 24px 18px !important;
    }

    .fynor-dashboard-header {
        height: 66px;
        padding: 0 12px;
    }

    .fynor-dashboard-brand img {
        max-width: 124px;
        height: 34px;
    }

    .fynor-dashboard-shell {
        padding-top: 66px;
        padding-bottom: 72px;
    }

    .fynor-sidebar {
        top: 66px !important;
        width: min(86vw, 300px) !important;
        height: calc(100vh - 66px) !important;
    }

    .fynor-sidebar-overlay {
        inset: 66px 0 0 0;
    }

    .fynor-dashboard-content {
        padding: 16px 12px 24px;
    }

    .fynor-mobile-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        display: grid;
        height: 68px;
        grid-template-columns: repeat(5, 1fr);
        border-top: 1px solid var(--fynor-border);
        background: rgba(12, 12, 12, 0.96);
        backdrop-filter: blur(14px);
    }

    .fynor-mobile-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        color: #777;
        font-size: 0.64rem;
    }

    .fynor-mobile-nav a i {
        font-size: 1rem;
    }

    .fynor-mobile-nav a.active {
        color: var(--fynor-gold);
    }

    .fynor-back-to-top {
        right: 14px;
        bottom: 82px;
    }
}

@media (max-width: 480px) {
    .fynor-brand__mark {
        width: 38px;
        height: 38px;
    }

    .fynor-page-hero h1 {
        font-size: 2.15rem;
    }

    .fynor-breadcrumb {
        padding: 8px 12px;
    }

    .fynor-auth-home-link {
        right: 14px;
        bottom: 14px;
    }

    .fynor-user-menu {
        gap: 6px;
    }
}
