/* Visiosoft shop & admin panel */
.fi-body {
    background:
        radial-gradient(900px 320px at 0% 0%, rgba(13, 148, 136, 0.12), transparent 55%),
        radial-gradient(700px 280px at 100% 0%, rgba(14, 165, 233, 0.08), transparent 50%),
        #f4f7f8;
}

.fi-sidebar {
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0;
}

.fi-sidebar-header {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.fi-sidebar-item-label,
.fi-header-heading,
.fi-simple-header-heading {
    letter-spacing: -0.02em;
}

.fi-sidebar-item.fi-active .fi-sidebar-item-btn,
.fi-sidebar-item-btn:hover {
    border-radius: 0.75rem;
}

.fi-main {
    padding-top: 0.25rem;
}

.fi-header-heading {
    font-weight: 700 !important;
}

.fi-section,
.fi-ta-ctn,
.fi-fo-component-ctn,
.fi-wi-stats-overview,
.fi-wi-widget {
    border-radius: 1rem !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 118, 110, 0.06) !important;
}

.fi-section-content,
.fi-ta-content {
    padding-top: 0.25rem;
}

.fi-ta-row:hover {
    background: #f0fdfa !important;
}

html.dark .fi-ta-row:hover,
.dark .fi-ta-row:hover {
    background: #1e293b !important;
}

html.dark .fi-ta-row:hover .fi-ta-text,
html.dark .fi-ta-row:hover .fi-ta-col,
html.dark .fi-ta-row:hover a,
html.dark .fi-ta-row:hover button,
html.dark .fi-ta-row:hover .fi-icon,
.dark .fi-ta-row:hover .fi-ta-text,
.dark .fi-ta-row:hover .fi-ta-col,
.dark .fi-ta-row:hover a,
.dark .fi-ta-row:hover button,
.dark .fi-ta-row:hover .fi-icon {
    color: #f1f5f9 !important;
}

.fi-btn-primary,
.fi-ac-btn-action {
    border-radius: 0.7rem !important;
    font-weight: 600;
}

.fi-badge {
    border-radius: 999px !important;
    font-weight: 600;
}

.fi-input,
.fi-select-input,
.fi-textarea {
    border-radius: 0.7rem !important;
}

.fi-simple-card {
    border-radius: 1.25rem !important;
    box-shadow: 0 18px 50px rgba(15, 118, 110, 0.12) !important;
    border: 1px solid #ccfbf1 !important;
}

.fi-topbar {
    backdrop-filter: blur(8px);
}

.fi-wi-stats-overview-stat {
    border-radius: 1rem;
    border: 1px solid #e2e8f0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.fi-wi-stats-overview-stat-value {
    font-size: 1.7rem !important;
    letter-spacing: -0.03em;
}

.fi-main:has(.vs-home) .fi-header {
    display: none;
}

.fi-main:has(.vs-home) {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}

.fi-main:has(.vs-home) .fi-sc.fi-grid {
    --cols-default: minmax(0, 1fr) !important;
    --cols-sm: minmax(0, 1fr) !important;
    --cols-md: minmax(0, 1fr) !important;
    --cols-lg: minmax(0, 1fr) !important;
    --cols-xl: minmax(0, 1fr) !important;
    --cols-2xl: minmax(0, 1fr) !important;
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) !important;
}

.fi-main:has(.vs-home) .fi-sc.fi-grid > *,
.fi-main:has(.vs-home) .fi-wi-widget,
.vs-home {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
}

.vs-stat-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.vs-bars-weeks {
    grid-template-columns: repeat(8, 1fr);
}

.vs-hero-copy .vs-hero-actions {
    margin-top: 1.15rem;
}

.vs-hero-side {
    align-content: center;
}

.fi-wi-widget:has(.vs-home) {
    box-shadow: none !important;
    background: transparent !important;
    border: 0 !important;
}

.vs-home {
    display: grid;
    gap: 1.1rem;
}

.vs-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
    align-items: center;
    gap: 1.5rem;
    padding: 1.55rem 1.6rem 1.45rem;
    border-radius: 1.15rem;
    color: #f0fdfa;
    background:
        radial-gradient(520px 180px at 92% 0%, rgba(125, 211, 252, 0.28), transparent 60%),
        linear-gradient(135deg, #0f766e 0%, #115e59 42%, #0f172a 100%);
    box-shadow: 0 18px 40px rgba(15, 118, 110, 0.22);
}

@media (max-width: 900px) {
    .vs-hero {
        grid-template-columns: 1fr;
    }
}

.vs-hero-kicker {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #99f6e4;
}

.vs-hero h2 {
    margin: 0.35rem 0 0;
    font-size: 1.85rem;
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
}

.vs-hero-meta {
    margin: 0.7rem 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: #ccfbf1;
}

.vs-hero-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
}

.vs-hero-pill-muted {
    font-weight: 600;
    background: rgba(15, 23, 42, 0.22);
}

.vs-hero-bar {
    margin-top: 0.9rem;
    width: min(22rem, 100%);
    height: 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
}

.vs-hero-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #5eead4;
}

.vs-hero-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    align-content: end;
}

.vs-hero-metric {
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.vs-hero-metric span {
    display: block;
    font-size: 0.75rem;
    color: #99f6e4;
}

.vs-hero-metric strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.25rem;
    color: #ffffff;
}

.vs-hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vs-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none !important;
}

.vs-hero-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.vs-hero-btn-primary {
    background: #ffffff;
    color: #0f766e !important;
    border-color: #ffffff;
}

.vs-hero-btn-primary:hover {
    background: #f0fdfa;
}

.vs-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.vs-stat {
    display: block;
    padding: 1rem 1rem 0.95rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.vs-stat-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    background: #0f766e;
}

.vs-stat-sky .vs-stat-icon { background: #0284c7; }
.vs-stat-green .vs-stat-icon { background: #059669; }
.vs-stat-amber .vs-stat-icon { background: #d97706; }

.vs-stat-label {
    margin: 0.7rem 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.vs-stat-value {
    margin: 0.2rem 0 0;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.vs-stat-value small {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.vs-stat-hint {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: #64748b;
}

.vs-panels {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.85rem;
}

.vs-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem 1rem 0.6rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.vs-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.vs-panel-head h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
}

.vs-panel-head a,
.vs-panel-head span {
    font-size: 0.8rem;
    color: #0f766e;
    text-decoration: none;
}

.vs-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-top: 1px solid #f1f5f9;
    text-decoration: none !important;
}

.vs-row div {
    display: grid;
    gap: 0.1rem;
}

.vs-row strong {
    color: #0f172a;
    font-size: 0.92rem;
}

.vs-row span,
.vs-row em {
    font-size: 0.8rem;
    color: #64748b;
    font-style: normal;
}

.vs-row-right {
    text-align: right;
}

.vs-row em:not(.is-paid) {
    color: #d97706;
    font-weight: 600;
}

.vs-row .is-paid {
    color: #059669;
    font-weight: 600;
}

.vs-empty {
    color: #64748b;
    font-size: 0.9rem;
    padding: 0.75rem 0 1rem;
}

.vs-bars {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.45rem;
    align-items: end;
    height: 7.5rem;
    padding: 0.4rem 0 0.2rem;
}

.vs-bar {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    gap: 0.35rem;
}

.vs-bar-fill {
    width: 100%;
    max-width: 1.35rem;
    border-radius: 0.45rem 0.45rem 0.2rem 0.2rem;
    background: linear-gradient(180deg, #2dd4bf, #0f766e);
}

.vs-bar small {
    color: #64748b;
    font-size: 0.7rem;
}

@media (max-width: 1100px) {
    .vs-stats,
    .vs-panels {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .vs-stats,
    .vs-panels,
    .vs-hero-side {
        grid-template-columns: 1fr;
    }
}

html.dark .vs-stat,
html.dark .vs-panel {
    background: #111827;
    border-color: #334155;
}

html.dark .vs-stat-value,
html.dark .vs-panel-head h3,
html.dark .vs-row strong {
    color: #f8fafc;
}

html.dark .fi-body {
    background: #0b1220;
}

html.dark .fi-sidebar {
    background: #0f172a !important;
    border-right-color: #1e293b;
}

html.dark .fi-section,
html.dark .fi-ta-ctn,
html.dark .fi-simple-card {
    box-shadow: none !important;
}

.fi-simple-layout {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100dvh;
    background: #eef4f4;
}

.vs-auth-panel {
    position: relative;
    overflow: hidden;
    color: #f0fdfa;
    padding: 1.35rem 1.4rem 1.2rem;
    background:
        radial-gradient(520px 220px at 92% 0%, rgba(125, 211, 252, 0.28), transparent 58%),
        linear-gradient(145deg, #0f766e 0%, #115e59 42%, #0f172a 100%);
}

.vs-auth-panel-inner {
    position: relative;
    z-index: 1;
    max-width: 28rem;
}

.vs-auth-logo {
    height: 2.5rem;
    width: auto;
    margin-bottom: 1rem;
    padding: 0.4rem 0.65rem;
    background: #ffffff;
    border-radius: 0.7rem;
}

.vs-auth-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #99f6e4;
}

.vs-auth-panel h2 {
    margin: 0.4rem 0 0;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.vs-auth-lead {
    margin: 0.65rem 0 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #ccfbf1;
}

.vs-auth-points {
    display: none;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.vs-auth-points li {
    position: relative;
    margin: 0 0 0.7rem;
    padding-left: 1.35rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #e2e8f0;
}

.vs-auth-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #5eead4;
}

.fi-simple-main-ctn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.15rem 2rem;
}

.fi-simple-main {
    width: 100%;
    max-width: 26.5rem;
    margin: 0 !important;
    padding: 1.6rem 1.35rem 1.5rem !important;
    border-radius: 1.35rem !important;
    border: 1px solid #d1fae5 !important;
    background: #ffffff !important;
    box-shadow: 0 22px 50px rgba(15, 118, 110, 0.12) !important;
}

.fi-simple-header {
    margin-bottom: 1.15rem;
}

.fi-simple-header-heading {
    margin-top: 0.35rem;
    font-size: 1.55rem !important;
    font-weight: 750;
    color: #0f172a;
}

.fi-simple-header-subheading {
    margin-top: 0.35rem !important;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #64748b;
}

.vs-auth-switch {
    display: block;
    margin-top: 0.55rem;
}

.vs-auth-switch a,
.fi-simple-header-subheading a {
    color: #0f766e;
    font-weight: 650;
    text-decoration: none;
}

.vs-auth-switch a:hover,
.fi-simple-header-subheading a:hover {
    text-decoration: underline;
}

.fi-simple-main .fi-input,
.fi-simple-main .fi-select-input,
.fi-simple-main .fi-textarea {
    min-height: 2.65rem;
}

.fi-simple-main .fi-btn,
.fi-simple-main .fi-ac-btn-action {
    width: 100%;
    justify-content: center;
    min-height: 2.7rem;
    border-radius: 0.8rem !important;
}

@media (min-width: 960px) {
    .fi-simple-layout {
        grid-template-columns: minmax(22rem, 1.12fr) minmax(28rem, 1fr);
    }

    .vs-auth-panel {
        display: flex;
        align-items: center;
        padding: 3rem 3.25rem;
        min-height: 100dvh;
    }

    .vs-auth-panel h2 {
        font-size: 2.15rem;
    }

    .vs-auth-points {
        display: block;
    }

    .vs-auth-logo {
        height: 2.85rem;
        margin-bottom: 1.6rem;
        padding: 0.5rem 0.8rem;
    }

    .fi-simple-main-ctn {
        padding: 2.5rem;
    }

    .fi-simple-main {
        padding: 2rem 1.85rem 1.75rem !important;
    }

    .fi-simple-header .fi-logo {
        display: none;
    }
}

html.dark .fi-simple-layout {
    background: #0b1220;
}

html.dark .fi-simple-main {
    background: #111827 !important;
    border-color: #1e293b !important;
}

html.dark .fi-simple-header-heading {
    color: #f8fafc;
}

html.dark .fi-simple-header-subheading {
    color: #94a3b8;
}

html.dark .fi-header-subheading,
html.dark .fi-header-description,
.dark .fi-header-subheading,
.dark .fi-header-description {
    color: #cbd5e1 !important;
}

html.dark .fi-global-search-field input,
html.dark .fi-input,
html.dark .fi-select-input,
html.dark .fi-textarea,
.dark .fi-global-search-field input,
.dark .fi-input,
.dark .fi-select-input,
.dark .fi-textarea {
    color: #f8fafc !important;
}

html.dark .fi-input::placeholder,
html.dark .fi-select-input::placeholder,
html.dark .fi-textarea::placeholder,
html.dark .fi-global-search-field input::placeholder,
.dark .fi-input::placeholder,
.dark .fi-select-input::placeholder,
.dark .fi-textarea::placeholder,
.dark .fi-global-search-field input::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
}

html.dark .vs-plan,
.dark .vs-plan {
    background: #111827 !important;
    border-color: #334155 !important;
}

html.dark .vs-plan h3,
html.dark .vs-plan-price,
html.dark .vs-plan-current,
html.dark .vs-plan-current strong,
.dark .vs-plan h3,
.dark .vs-plan-price,
.dark .vs-plan-current,
.dark .vs-plan-current strong {
    color: #f8fafc !important;
}

html.dark .vs-plan p,
.dark .vs-plan p {
    color: #cbd5e1 !important;
}

html.dark .vs-plan-btn:hover,
.dark .vs-plan-btn:hover {
    background: #134e4a;
    color: #ffffff !important;
}
