/* ==================================================
   1. ROOT VARIABLES
================================================== */
:root {
    /* Core theme */
    --vt-bg: #fcfcfd;
    --vt-bg-secondary: #f9fafc;
    --vt-surface: #ffffff;
    --vt-surface-soft: #f4f7ff;
    --vt-surface-tint: #eef3ff;
	--vt-preview-bg: #f4f6f9;

    /* Brand accents */
    --vt-primary: #5748d9;
    --vt-primary-hover: #4338ca;
    --vt-primary-soft: #ecebff;
	--vt-on-primary: #ffffff;

    --vt-blue: #1f7ae0;
    --vt-blue-soft: #e8f2ff;

    --vt-accent: var(--vt-primary);
    --vt-accent-light: var(--vt-primary-soft);
    --vt-muted: #8a93a8;

    /* Text */
    --vt-text: #172033;
    --vt-text-soft: #4c5870;
    --vt-text-muted: #7a8498;

    /* Borders + lines */
    --vt-border: #e2e7f0;
    --vt-border-soft: #edf1f8;
    --line: var(--vt-border);

    /* Feedback / highlight */
    --vt-highlight: #fff3cf;
    --vt-highlight-border: #ffe3a3;
    --vt-highlight-text: #71410f;

    /* Shadows */
    --vt-shadow-soft: 0 10px 28px rgba(42, 55, 90, 0.08);
    --vt-shadow-card: 0 16px 44px rgba(42, 55, 90, 0.11);
    --vt-shadow-header: 0 10px 24px rgba(42, 55, 90, 0.08);

    /* RGB helpers for gradients */
    --vt-primary-rgb: 87, 72, 217;
    --vt-blue-rgb: 31, 122, 224;
    --vt-white-rgb: 255, 255, 255;
    --vt-shadow-rgb: 42, 55, 90;

    /* Fonts */
    --vt-font-heading: "Cinzel", serif;
    --vt-font-body: "Inter", sans-serif;

    /* Layout */
    --vt-content-width: 1300px;
    --vt-header-height: 68px;
    --vt-left-rail-width: 226px;
	--vt-header-bg: #fbfbfb;
	--vt-header-border: #c2c3c6;
	--vt-header-shadow: 0 2px 10px rgba(42,55,90,.04);

	--vt-success: #168a4a;
	--vt-success-soft: #e9f9ef;
	--vt-success-border: #bfeccb;
	--vt-danger: #b42318;
	--vt-danger-soft: #fff0ed;
	--vt-danger-border: #ffcbc2;
}

/* ==================================================
GLOBAL RESET / BASE
================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@keyframes vtReplyGlow {
    0% {
        background: rgba(var(--vt-primary-rgb), 0.14);
        box-shadow:
            0 0 0 rgba(var(--vt-primary-rgb), 0),
            0 0 0 rgba(var(--vt-primary-rgb), 0);
    }

    50% {
        background: rgba(var(--vt-primary-rgb), 0.08);
        box-shadow:
            0 0 18px rgba(var(--vt-primary-rgb), 0.16),
            0 0 42px rgba(var(--vt-blue-rgb), 0.08);
    }

    100% {
        background: transparent;
        box-shadow:
            0 0 0 rgba(var(--vt-primary-rgb), 0),
            0 0 0 rgba(var(--vt-primary-rgb), 0);
    }
}

.vt-reply-node.is-new-reply {
    border-radius: 16px;
    animation: vtReplyGlow 3.2s ease;
}

body {
    margin: 0;
    background: var(--vt-bg);
    color: var(--vt-text);
    font-family: var(--vt-font-body);
    line-height: 1.7;
}

a {
    color: var(--vt-primary);
    text-decoration: none;
}

a:hover {
    opacity: 0.85;
}

/* ==================================================
LAYOUT
================================================== */
.vt-container {
    width: 92%;
    max-width: var(--vt-content-width);
    margin: auto;
}

.vt-main {
    padding: 64px 0;
    min-height: calc(100vh - 150px);
}

.vt-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 24px;
}

.vt-page-head {
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    padding: 36px;
    margin-bottom: 28px;
}

.vt-page-kicker {
    color: var(--vt-primary);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.vt-page-head,
.vt-post,
.vt-topic-list,
.vt-empty-state,
.vt-admin-box,
.vt-form-wrap {
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 5px;
    box-shadow: var(--vt-shadow-soft);
}

.vt-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--vt-text-muted);
    font-size: 0.9rem;
}

.vt-breadcrumbs a {
    color: var(--vt-primary);
}

.vt-breadcrumbs span:last-child {
    color: var(--vt-text-soft);
}

/* ==================================================
   4. TYPOGRAPHY
================================================== */
.vt-section-title {
    margin-top: 18px;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.vt-category-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-family: var(--vt-font-heading);
}

.vt-category-description {
    color: var(--vt-text-soft);
    font-size: 0.96rem;
}

.vt-form-title {
    font-family: var(--vt-font-heading);
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.vt-page-description {
    color: var(--vt-text-soft);
    max-width: 760px;
}

.vt-icon-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 220px;
}

.vt-icon-card > *:not(.vt-card-bg-icon) {
    position: relative;
    z-index: 2;
}

.vt-card-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.04;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px !important;
    height: 200px !important;
}

/* ==================================================
   5. HEADER
================================================== */
.vt-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.vt-header-modern,
.vt-header-inner {
    min-height: 68px;
    padding: 0;
}

.vt-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--vt-surface-soft);
    border-bottom: 1px solid var(--vt-header-border);
    box-shadow: var(--vt-header-shadow);
    backdrop-filter: none;
}

.vt-header-left {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 0 0 auto;
}

.vt-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex: 1;
    min-width: 0;
}
.vt-logo,
.vt-logo img,
.vt-header-logo,
.vt-header-logo img {
    transition: none;
    animation: none;
}

.vt-logo,
.vt-dashboard-logo {
    display: flex;
    align-items: center;
    line-height: 1;
}

.vt-logo img {
    display: block;
    width: auto;
    height: 28px;
    max-height: 28px;
}

.vt-logo a {
    display: flex;
    align-items: center;
}

.vt-logo-mobile {
    display: none!important;
}

.vt-logo-desktop {
    display: block;
    height: 42px;
    width: auto;
}

.vt-top-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.vt-top-nav a {
    color: var(--vt-text-soft);
    font-size: 0.92rem;
    letter-spacing: 0.4px;
}

.vt-top-nav a:hover {
    color: var(--vt-primary);
}

.vt-header-modern .vt-header-search {
    flex: 1 1 360px;
    max-width: 520px;
    min-width: 220px;
}

.vt-header-search {
    position: relative;
    flex: 0 1 280px;
}

.vt-header-search input {
    width: 100%;
    height: 40px;
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 7px;
    color: var(--vt-text);
    padding: 0 16px;
    padding-right: 48px;
    font-family: var(--vt-font-body);
    font-size: 0.92rem;
}

.vt-header-search input::placeholder {
    color: var(--vt-text-muted);
}

.vt-header-search input:focus {
    outline: none;
    border-color: var(--vt-primary);
    box-shadow: 0 0 0 3px rgba(var(--vt-primary-rgb), 0.12);
}

.vt-header-search button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--vt-primary);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
}

.vt-header-search button [data-vt-icon] {
    width: 18px;
    height: 18px;
}

.vt-dashboard-header .vt-header-search {
    width: min(520px, 42vw);
}

.vt-mobile-menu {
    display: none;
}

.vt-mobile-menu a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 44px;
    padding: 0.8rem 1rem;
}

.vt-mobile-menu a [data-vt-icon] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transform: translateY(3px);
}

.vt-mobile-menu a [data-vt-icon] svg {
    width: 22px;
    height: 22px;
    display: block;
}

.vt-mobile-menu-toggle,
.vt-mobile-search-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--vt-border);
    background: var(--vt-surface-soft);
    color: var(--vt-primary);
    font-size: 1.2rem;
    cursor: pointer;
}

.vt-shell {
    width: calc(100% - var(--vt-left-rail-width));
    max-width: none;
    margin-left: var(--vt-left-rail-width);
    margin-right: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    padding: 0 3% 0 28px;
}

.vt-content-column {
    min-width: 0;
}

.vt-sidebar-left {
    position: fixed;
    top: var(--vt-header-height);
    left: 0;
    bottom: 0;
    transition: transform 0.05s linear;
    width: var(--vt-left-rail-width);

    overflow-y: auto;
    overflow-x: hidden;

    padding: 28px 14px;

    border-right: 1px solid var(--vt-border);
    background: var(--vt-surface);

    z-index: 80;
}

.vt-side-nav {
    border: none;
    background: transparent;
    padding: 0;
}

.vt-side-nav hr {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--vt-border-soft);
    margin: 8px 0;
}

.vt-side-nav a {
    display: block;
    padding: 12px 14px;
    color: var(--vt-text-soft);
    border-left: 2px solid transparent;
    font-size: 0.92rem;
    letter-spacing: 0.35px;
}

.vt-side-nav a:hover {
    color: var(--vt-primary);
    border-left-color: var(--vt-primary);
    background: var(--vt-primary-soft);
}

.vt-sidebar-left::-webkit-scrollbar {
    width: 2px;
}

.vt-sidebar-left::-webkit-scrollbar-track {
    background: var(--vt-border-soft);
}

.vt-sidebar-left::-webkit-scrollbar-thumb {
    background: var(--vt-primary);
}

.vt-sidebar-left::-webkit-scrollbar-thumb:hover {
    background: var(--vt-primary-hover);
}

.vt-nav {
    align-items: center;
}

.vt-nav a {
    line-height: 1;
}

/* ==================================================
HERO
================================================== */
.vt-forum-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 34px;
    padding: 42px 42px;

    border: 1px solid var(--vt-border);
    border-radius: 8px;

    background:
        radial-gradient(circle at 82% 72%, rgba(var(--vt-blue-rgb), 0.12), transparent 22%),
        radial-gradient(circle at 72% 84%, rgba(var(--vt-primary-rgb), 0.10), transparent 28%),
        linear-gradient(135deg, var(--vt-surface) 0%, var(--vt-surface) 58%, var(--vt-surface-tint) 100%);

    box-shadow: 0 12px 32px rgba(var(--vt-shadow-rgb), 0.08);
}

.vt-forum-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 68%, rgba(var(--vt-primary-rgb), 0.10) 0 2px, transparent 2.5px),
        linear-gradient(135deg, transparent 0%, transparent 58%, rgba(var(--vt-blue-rgb), 0.08) 58%, rgba(var(--vt-blue-rgb), 0.03) 100%);
    background-size:
        14px 14px,
        auto;
    mask-image: radial-gradient(circle at 82% 68%, black 0%, transparent 28%);
    pointer-events: none;
}

.vt-forum-hero::after {
    display: none;
}

.vt-forum-hero::after {
    content: "◌";
    position: absolute;
    right: 48px;
    bottom: 24px;
    font-size: 9rem;
    line-height: 1;
    color: rgba(var(--vt-primary-rgb), 0.08);
    font-family: var(--vt-font-heading);
    pointer-events: none;
}

.vt-hero-kicker {
    position: relative;
    color: var(--vt-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.82rem;
    font-weight: 600;
}

.vt-hero-title {
    position: relative;
    max-width: 620px;
    margin: 0 0 16px;
    font-family: var(--vt-font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: 0.5px;
    color: var(--vt-text);
    text-shadow: none;
}

.vt-hero-text {
    position: relative;
    max-width: 620px;
    margin: 0;
    color: var(--vt-text-soft);
    font-size: 1rem;
    line-height: 1.7;
}

.vt-hero-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.vt-section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.vt-section-heading-row .vt-section-title {
    margin-bottom: 0;
}
/* ==================================================
CATEGORY CARDS
================================================== */
.vt-category-card {
    display: block;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 230px;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 5px;
    padding: 28px;

    color: inherit;
    box-shadow: var(--vt-shadow-soft);
    transition: 0.2s ease;
}

.vt-category-card:hover {
    color: inherit;
    border-color: var(--vt-primary);
    transform: translateY(-2px);
    box-shadow: var(--vt-shadow-card);
}

.vt-category-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 220px;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0.045;
    pointer-events: none;
    z-index: 1;
}

.vt-category-card > *:not(.vt-category-bg-icon) {
    position: relative;
    z-index: 2;
}

.vt-category-card .vt-category-bg-icon [data-vt-icon] {
    width: 220px !important;
    height: 220px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;
}

.vt-category-title {
    font-size: 1.18rem;
    letter-spacing: 0.4px;
    color: var(--vt-primary);
}

.vt-category-description {
    color: var(--vt-text-soft);
}

.vt-category-stats {
    display: flex;
    gap: 18px;
    margin-top: 22px;
    padding-top: 16px;

    color: var(--vt-text-muted);
    font-size: 0.88rem;

    border-top: 1px solid var(--vt-border-soft);
}

.vt-category-activity {
    margin-top: 12px;
    padding-top: 12px;

    color: var(--vt-text-muted);
    font-size: 0.82rem;

    border-top: 1px solid var(--vt-border-soft);
}

/* ==================================================
TOPIC LISTS
================================================== */
.vt-topic-list {
    background: transparent;
    border: none;
    box-shadow: none;
}

.vt-topic-row {
    display: block;
    position: relative;

    padding: 24px 6px;

    background: transparent;
    border-bottom: 1px solid var(--vt-border-soft);

    transition: background 0.2s ease, padding-left 0.2s ease, border-color 0.2s ease;
}

.vt-topic-row:last-child {
    border-bottom: none;
}

.vt-topic-row:hover {
    padding-left: 30px;
    background: var(--vt-primary-soft);
    border-color: var(--vt-primary);
}

.vt-topic-title {
    font-family: var(--vt-font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.35px;
    margin-bottom: 8px;
    color: var(--vt-text);
}

.vt-topic-meta {
    color: var(--vt-text-muted);
    font-size: 0.9rem;
}

.vt-empty-state {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 18px 22px;

    background: var(--vt-surface);
    border-left: 1px dashed var(--vt-border);
}

.vt-empty-state [data-vt-icon] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vt-actions {
    margin-top: 24px;
}

.vt-topic-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 24px;
    align-items: start;
}

.vt-topic-vote-box {
    position: sticky;
    top: 90px;

    padding: 16px 12px;
    text-align: center;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    box-shadow: var(--vt-shadow-soft);
}

.vt-vote-button {
    width: 48px;
    height: 44px;

    border: 1px solid var(--vt-border);
    background: var(--vt-surface);
    color: var(--vt-primary);

    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;

    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.vt-vote-button:hover {
    background: var(--vt-primary-soft);
    border-color: var(--vt-primary);
    transform: translateY(-1px);
}

.vt-vote-score {
    margin: 12px 0;

    color: var(--vt-text);
    font-family: var(--vt-font-heading);
    font-size: 1.45rem;
}

.vt-vote-help {
    margin-top: 12px;

    color: var(--vt-text-muted);
    font-size: 0.72rem;
    line-height: 1.4;
}

.vt-topic-original {
    padding: 34px;
    margin-bottom: 28px;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    box-shadow: var(--vt-shadow-soft);
}

.vt-topic-row-modern {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.vt-topic-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;

    padding-left: 1.25rem;
    padding-top: 1px;

    color: var(--vt-text-muted);
    font-size: 0.82rem;
}

.vt-topic-stat {
    white-space: nowrap;
}

.vt-topic-stats div + div {
    margin-top: 0;
}

.vt-topic-stats strong {
    display: block;
    color: var(--vt-text);
    font-weight: 600;
}

.vt-topic-stats span {
    display: block;
}

.vt-topic-summary {
    min-width: 0;
}

.vt-topic-excerpt {
    margin-top: 5px;

    color: var(--vt-text-soft);
    font-size: 0.9rem;
    line-height: 1.7;
}

.vt-topic-author {
    grid-column: 2;
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 18px;
    margin-right: 20px;

    color: var(--vt-text-muted);
    font-size: 0.78rem;
    white-space: nowrap;
}

.vt-topic-author-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.vt-topic-author-avatar {
    width: 24px;
    height: 24px;

    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--vt-border);
}

.vt-topic-author-name {
    color: var(--vt-primary);
    line-height: 1;
}

.vt-topic-author-date {
    color: var(--vt-text-muted);
    line-height: 1;
}

/* ----------------------------------------
   Topic Action Icons
---------------------------------------- */
.vt-topic-actions .vt-icon,
.vt-admin-tools .vt-icon {
    width: 14px;
    height: 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
}

.vt-topic-actions .vt-icon svg,
.vt-admin-tools .vt-icon svg {
    width: 14px;
    height: 14px;
}

.vt-topic-action-btn,
.vt-admin-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 34px;
    padding: 0 14px;

    border: none;
    text-decoration: none;
}

.vt-actions .vt-topic-action-btn .vt-icon {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    background: transparent !important;
}

.vt-actions .vt-topic-action-btn .vt-icon svg {
    width: 28px !important;
    height: 28px !important;

    display: block;

    background: transparent !important;
    fill: none !important;
    stroke: currentColor !important;
}

.vt-actions .vt-topic-action-btn .vt-icon svg * {
    background: transparent !important;
    fill: currentColor !important;
}

/* ==================================================
POSTS / REPLIES
================================================== */
.vt-post {
    position: relative;

    padding: 20px;
    margin-bottom: 28px;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 5px;
    box-shadow: var(--vt-shadow-soft);
}

.vt-post::before {
    display: none;
}

.vt-post-author {
    color: var(--vt-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.vt-post-date,
.vt-topic-meta {
    color: var(--vt-text-muted);
    font-size: 0.9rem;
}

.vt-post-body {
    color: var(--vt-text);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 26px;
}

.vt-post-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.vt-post-header {
    margin-bottom: 28px;
}

.vt-post-header h1 {
    margin: 0 0 8px;

    color: var(--vt-text);
    font-family: var(--vt-font-heading);
    font-size: 32px;
}

.vt-post-header p {
    margin: 0;
    color: var(--vt-text-soft);
}

.vt-post-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vt-suggested-categories {
    padding: 20px;

    background: var(--vt-surface-soft);
    border: 1px solid var(--vt-border);
    border-radius: 16px;
}

.vt-suggested-categories h2 {
    margin: 0 0 6px;

    color: var(--vt-text);
    font-size: 20px;
}

.vt-suggested-categories p {
    margin: 0 0 16px;

    color: var(--vt-text-soft);
    font-size: 14px;
}

.vt-suggested-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vt-category-pill {
    padding: 10px 14px;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 999px;

    color: var(--vt-text);
    cursor: pointer;
    font-size: 14px;
}

.vt-category-pill:hover,
.vt-category-pill.is-selected {
    background: var(--vt-blue-soft);
    border-color: var(--vt-blue);
}

.vt-form-actions {
    display: flex;
    justify-content: flex-end;
}

/* UNIVERSAL POST FORM SUCCESS */
.vt-success-message {
    display: flex;
    gap: 20px;

    margin-bottom: 28px;
    padding: 24px;

    background: var(--vt-success-soft);
    border: 1px solid var(--vt-success-border);
    border-radius: 16px;
}

.vt-success-icon {
    flex-shrink: 0;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--vt-success-soft);

    color: var(--vt-success);
    font-size: 28px;
    font-weight: 700;
}

.vt-success-content h2 {
    margin: 0 0 8px;

    color: var(--vt-text);
    font-size: 1.25rem;
}

.vt-success-content p {
    margin: 0 0 18px;
    color: var(--vt-text-soft);
}

.vt-success-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vt-success-actions a {
    width: auto !important;
    flex: 0 0 auto !important;
}

.vt-button-secondary {
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
}

/* REPLIES */
.vt-inline-reply-wrap {
    margin: 10px 0 8px;
}

.vt-reply-stream {
    margin-top: 18px;
}

.vt-reply-node {
    position: relative;
    display: block;
    margin-left: 0;
}

.vt-reply-content-wrap {
    position: relative;
    min-width: 0;
    margin-left: 54px;
}

.vt-reply-stream > .vt-reply-node > .vt-reply-content-wrap::before {
    display: none;
}

.vt-reply-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
}

.vt-reply-main {
    flex: 1;
    min-width: 0;
}

.vt-reply-content {
    color: var(--vt-text-soft);
    font-size: 0.95rem;
    line-height: 1.58;
}

.vt-reply-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;

    font-size: 0.85rem;
}

.vt-reply-avatar {
    flex: 0 0 38px;
}

.vt-reply-avatar img {
    width: 38px;
    height: 38px;

    display: block;
    object-fit: cover;

    border-radius: 50%;
}

.vt-reply-children {
    display: block;
    clear: both;

    margin-top: 6px;
    margin-left: 5px;
}

.vt-depth-2 .vt-reply-children,
.vt-depth-2 .vt-reply-node {
    margin-left: -5px;
}

.vt-reply-node:not(.vt-depth-0) > .vt-reply-content-wrap > .vt-reply-item::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 23px;

    width: 18px;
    height: 18px;

    border-left: 1px solid var(--vt-border);
    border-bottom: 1px solid var(--vt-border);
    border-bottom-left-radius: 12px;
}

.vt-reply-gutter {
    position: absolute;
    left: 0;
    top: 18px;
    width: 22px;
    height: 22px;
	color: var(--vt-primary);
}

.vt-reply-gutter::before,
.vt-reply-content-wrap::before,
.vt-reply-children::before {
    display: none !important;
}

.vt-reply-collapse {
    width: 22px;
    height: 22px;

    display: inline-flex;
    justify-content: center;

    border-radius: 50%;
    border: 1px solid var(--vt-primary);
    background: var(--vt-surface);

    color: var(--vt-primary);
    line-height: 1;
    font-size: 0.95rem;

    cursor: pointer;
}

.vt-reply-author {
    color: var(--vt-text);
    font-weight: 600;
}

.vt-reply-role,
.vt-reply-date,
.vt-reply-dot {
    color: var(--vt-text-muted);
}

.vt-reply-count {
    font-size: 0.9rem;
}

.vt-reply-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.vt-reply-actions form,
.vt-reply-admin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;
}

.vt-reply-action-icon {
    width: 24px;
    height: 24px;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;

    color: var(--vt-text-muted);
    line-height: 1;
}

.vt-reply-action-icon:hover {
    color: var(--vt-primary);
}

.vt-reply-action-icon .vt-icon,
.vt-reply-action-icon svg {
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
}

.vt-reply-action-icon .vt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vt-mention {
    padding: 1px 5px;

    color: var(--vt-primary);
    font-weight: 600;

    background: var(--vt-primary-soft);
    border-radius: 6px;

    white-space: nowrap;
}

.vt-pinned-reply-label [data-vt-icon] {
    width: 20px !important;
    height: 20px !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--vt-blue);
    vertical-align: middle;
}

.vt-pinned-reply-label [data-vt-icon] svg {
    width: 20px !important;
    height: 20px !important;
}
/* ==================================================
FORMS
================================================== */
.vt-alert {
    border: 1px solid var(--vt-highlight-border);
    background: var(--vt-highlight);
    padding: 14px;
    margin-bottom: 20px;
    color: var(--vt-highlight-text);
}

.vt-error {
    border-color: var(--vt-danger-border);
    background: var(--vt-danger-soft);
    color: var(--vt-danger);
}

.vt-field-help {
    margin-top: 8px;
    color: var(--vt-text-muted);
    font-size: 0.88rem;
}

.vt-form-wrap {
    max-width: 700px;
    margin: 0 auto;
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    padding: 34px;
}

.vt-form-group {
    margin-bottom: 18px;
}

.vt-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--vt-text-soft);
}

.vt-form-group input,
.vt-form-group select,
.vt-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--vt-border);
    border-radius: 12px;
    background: var(--vt-surface);
    color: var(--vt-text);
    font-family: inherit;
    font-size: 15px;
}

.vt-form-group textarea {
    resize: vertical;
    min-height: 220px;
}

.vt-form-group input:focus,
.vt-form-group select:focus,
.vt-form-group textarea:focus {
    outline: none;
    border-color: var(--vt-primary);
    box-shadow: 0 0 0 3px rgba(var(--vt-primary-rgb), 0.12);
}

.vt-form-group input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 5px;
    color: var(--vt-text);
    min-height: 42px;
    padding: 0 12px;
}

.vt-form-group input[type="number"]::-webkit-outer-spin-button,
.vt-form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.vt-number-control {
    display: grid;
    grid-template-columns: 1fr 36px;
    border: 1px solid var(--vt-border);
    border-radius: 5px;
    overflow: hidden;
    background: var(--vt-surface);
    max-width: 180px;
}

.vt-number-control input[type="number"] {
    border: 0;
    background: transparent;
    border-radius: 0;
}

.vt-number-buttons {
    display: grid;
    border-left: 1px solid var(--vt-border);
}

.vt-number-buttons button {
    background: var(--vt-primary-soft);
    border: 0;
    color: var(--vt-primary);
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
}

.vt-number-buttons button:hover {
    background: var(--vt-blue-soft);
    color: var(--vt-blue);
}

.vt-inline-form {
    margin-top: 22px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.vt-password-wrap {
    position: relative;
}

.vt-password-wrap input {
    padding-right: 52px;
}

.vt-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    background: transparent;
    color: var(--vt-primary);
    cursor: pointer;
}

.vt-password-toggle:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.vt-password-toggle .vt-pw-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vt-password-toggle .vt-pw-hide {
    display: none;
}

.vt-password-toggle.is-visible .vt-pw-show {
    display: none;
}

.vt-password-toggle.is-visible .vt-pw-hide {
    display: inline-flex;
}

.vt-password-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
}

.vt-form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    color: var(--vt-text);
    border: 1px solid var(--vt-border);
    padding: 14px 48px 14px 16px;
    font-family: var(--vt-font-body);
    font-size: 0.96rem;
    line-height: 1.2;
    cursor: pointer;

    background-color: var(--vt-surface);
    background-image:
        linear-gradient(45deg, transparent 50%, var(--vt-primary) 50%),
        linear-gradient(135deg, var(--vt-primary) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 14px) calc(50% - 3px);
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.vt-form-group select:hover {
    border-color: var(--vt-primary);
}

.vt-form-group select option {
    background: var(--vt-surface);
    color: var(--vt-text);
}

/* Reply To Reply Form */
.vt-inline-reply-wrap {
    margin: 8px 0 14px 52px;
}

.vt-inline-reply-form {
    border: 1px solid var(--vt-border);
    border-radius: 18px;
    background: var(--vt-surface);
    overflow: hidden;
}

.vt-inline-reply-form textarea {
    width: 100%;
    min-height: 74px;
    padding: 14px 16px;
    border: none;
    outline: none;
    resize: vertical;
    background: transparent;
    color: var(--vt-text);
    font-family: var(--vt-font-body);
    overflow: hidden;
}

.vt-inline-reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 12px;
    background: var(--vt-surface-soft);
    border-top: 1px solid var(--vt-border-soft);
}

.vt-inline-reply-cancel,
.vt-inline-reply-submit {
    border: none;
    padding: 9px 16px;
    cursor: pointer;
}

.vt-inline-reply-cancel {
    background: var(--vt-surface);
    color: var(--vt-text-soft);
    border: 1px solid var(--vt-border);
}

.vt-inline-reply-submit {
    background: var(--vt-primary);
    color: var(--vt-on-primary);
    font-weight: 600;
}

/* Inline Reply to Topic Form */
.vt-topic-inline-reply {
    margin: 24px 0 34px;
}

.vt-topic-inline-form {
    border: 1px solid var(--vt-border);
    border-radius: 18px;
    background: var(--vt-surface);
    overflow: hidden;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.vt-topic-inline-form textarea {
    width: 100%;
    min-height: 42px;
    height: 42px;
    padding: 12px 18px;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    color: var(--vt-text);
    font-family: var(--vt-font-body);
    font-size: 0.95rem;
    line-height: 1.5;
}

.vt-topic-inline-tools {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px 12px 18px;
    background: var(--vt-surface);
}

.vt-topic-inline-format {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;

    appearance: none;
    -webkit-appearance: none;

    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;

    color: var(--vt-text-soft);
    font-size: 0.9rem;
    cursor: pointer;

    transition: 0.2s ease;
}

.vt-topic-inline-format:hover {
    background: var(--vt-primary-soft);
    color: var(--vt-primary);
}

.vt-topic-inline-format:focus-visible {
    outline: none;
    border-color: var(--vt-primary);
    box-shadow: 0 0 0 2px rgba(var(--vt-primary-rgb), 0.14);
}

.vt-topic-inline-format [data-vt-icon] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
}

.vt-topic-inline-format [data-vt-icon] svg {
    display: block;
    width: 28px;
    height: 28px;
}

.vt-topic-inline-actions {
    display: flex;
    gap: 10px;
}

.vt-topic-inline-cancel,
.vt-topic-inline-submit {
    border: none;
    min-height: 36px;
    padding: 0 15px;
    cursor: pointer;
    border-radius: 5px;
}

.vt-topic-inline-cancel {
    background: var(--vt-surface-soft);
    color: var(--vt-text-soft);
    border: 1px solid var(--vt-border);
}

.vt-topic-inline-submit {
    background: var(--vt-primary);
    color: var(--vt-on-primary);
    font-weight: 700;
}

.vt-topic-inline-form.is-expanded {
    border-color: var(--vt-primary);
    box-shadow: 0 12px 28px rgba(var(--vt-shadow-rgb), 0.08);
}

.vt-topic-inline-form.is-expanded textarea {
    min-height: 92px;
    height: 92px;
    resize: vertical;
}

.vt-topic-inline-form.is-expanded .vt-topic-inline-tools {
    display: flex;
}
/* ==================================================
BUTTONS
================================================== */
.vt-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 40px;
    min-width: 92px;
    padding: 0 18px;

    border: 1px solid var(--vt-border);
    border-radius: 5px;

    font-size: 0.9rem;
    letter-spacing: 0.4px;
    line-height: 1;
}

.vt-header-btn-muted {
    color: var(--vt-primary);
    background: var(--vt-surface);
}

.vt-header-btn-muted:hover {
    background: var(--vt-primary-soft);
    border-color: var(--vt-primary);
}

.vt-header-btn-primary {
    color: var(--vt-on-primary);
    background: var(--vt-primary);
    border-color: var(--vt-primary);
    border-radius: 5px;
    font-weight: 600;
}

.vt-header-btn-primary:hover {
    background: var(--vt-primary-hover);
    border-color: var(--vt-primary-hover);
    opacity: 1;
}

.vt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 120px;
    height: 44px;
    padding: 0 20px;

    border: 1px solid var(--vt-primary);
    border-radius: 5px;
    background: var(--vt-primary);
    color: var(--vt-on-primary);

    font-family: var(--vt-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.3px;

    text-decoration: none;
    cursor: pointer;

    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vt-button:hover {
    background: var(--vt-primary-hover);
    border-color: var(--vt-primary-hover);
    opacity: 1;
    transform: translateY(-1px);
}

.vt-small-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 120px;
    height: 44px;
    padding: 0 18px;

    border: 1px solid var(--vt-border);
    border-radius: 5px;
    background: var(--vt-surface);
    color: var(--vt-primary);

    font-family: var(--vt-font-body);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.3px;

    text-decoration: none;
    cursor: pointer;

    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vt-small-button:hover {
    background: var(--vt-primary-soft);
    border-color: var(--vt-primary);
    transform: translateY(-1px);
}

.vt-danger-button {
    border-color: var(--vt-danger-border);
    color: var(--vt-danger);
    background: var(--vt-surface);
}

.vt-danger-button:hover {
    background: var(--vt-danger-soft);
    border-color: var(--vt-danger);
}

.vt-report-button {
    color: var(--vt-text-muted);
    border-color: var(--vt-border);
    background: var(--vt-surface);
}

.vt-report-button:hover {
    color: var(--vt-primary);
    border-color: var(--vt-primary);
    background: var(--vt-primary-soft);
}

.vt-actions {
    margin-top: 22px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
/* ==================================================
ICONS SYSTEM
================================================== */
.vt-pinned-icon {
    margin-right: 8px;
    opacity: 0.85;
    height: 20px !important;
    width: 20px !important;
}

.vt-icon {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;

    color: currentColor;
}

.vt-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Icon Button Only */
.vt-icon-button {
    width: 42px;
    height: 42px;
    padding: 0;

    border: none;
    background: transparent;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vt-icon-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke-width: 1.8;
}

.vt-icon-button [data-vt-icon] {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    color: var(--vt-primary);
}

.vt-reply-actions .vt-reply-action-icon .vt-icon {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    background: transparent !important;
}

.vt-reply-actions .vt-reply-action-icon .vt-icon svg {
    width: 18px !important;
    height: 18px !important;

    display: block;

    background: transparent !important;
    fill: none !important;
    stroke: currentColor !important;
}

.vt-reply-actions .vt-reply-action-icon .vt-icon svg * {
    background: transparent !important;
    fill: currentColor !important;
}
/* --------------------------------------------------
   ARCHIVE INFOBOX SYSTEM
--------------------------------------------------- */

.vt-widget-infobox {
    position: relative;
    overflow: hidden;

    padding: 22px 24px;

    border: 1px solid var(--vt-border);
    border-radius: 8px;

    box-shadow: var(--vt-shadow-soft);
}

.vt-widget-infobox::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top right, rgba(var(--vt-blue-rgb), 0.10), transparent 34%);

    opacity: 0.75;
    pointer-events: none;
}

.vt-widget-infobox__label {
    position: relative;

    margin-bottom: 12px;

    color: var(--vt-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vt-widget-infobox__content {
    position: relative;

    color: var(--vt-text-soft);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* Neutral / Research */
.vt-widget-infobox--ivory {
    background: var(--vt-surface);
}

.vt-widget-infobox--ivory .vt-widget-infobox__label {
    color: var(--vt-primary);
}

.vt-widget-infobox--ivory .vt-widget-infobox__content {
    color: var(--vt-text-soft);
}

/* Blue / Information */
.vt-widget-infobox--blue {
    background: var(--vt-blue-soft);
    border-color: rgba(var(--vt-blue-rgb), 0.22);
}

.vt-widget-infobox--blue .vt-widget-infobox__label {
    color: var(--vt-blue);
}

.vt-widget-infobox--blue .vt-widget-infobox__content {
    color: var(--vt-text);
}

/* Red / Warning */
.vt-widget-infobox--red {
    background: var(--vt-danger-soft);
    border-color: var(--vt-danger-border);
}

.vt-widget-infobox--red .vt-widget-infobox__label {
    color: var(--vt-danger);
}

.vt-widget-infobox--red .vt-widget-infobox__content {
    color: var(--vt-text);
}

/* Green / Verified */
.vt-widget-infobox--green {
    background: var(--vt-success-soft);
    border-color: var(--vt-success-border);
}

.vt-widget-infobox--green .vt-widget-infobox__label {
    color: var(--vt-success);
}

.vt-widget-infobox--green .vt-widget-infobox__content {
    color: var(--vt-text);
}

/* Violet / Community / Featured */
.vt-widget-infobox--violet {
    background: var(--vt-primary-soft);
    border-color: rgba(var(--vt-primary-rgb), 0.22);
}

.vt-widget-infobox--violet .vt-widget-infobox__label {
    color: var(--vt-primary);
}

.vt-widget-infobox--violet .vt-widget-infobox__content {
    color: var(--vt-text);
}
/* ==================================================
Basic modal CSS
================================================== */
.vt-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(var(--vt-shadow-rgb), 0.42);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
    padding: 1.5rem;
}

.vt-modal-backdrop[hidden] {
    display: none;
}

.vt-modal {
    width: min(520px, 100%);

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 16px;
    padding: 1.5rem;

    color: var(--vt-text);
    box-shadow: 0 24px 70px rgba(var(--vt-shadow-rgb), 0.18);
}

.vt-modal h2 {
    margin-top: 0;
    color: var(--vt-text);
}

.vt-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ==================================================
COMMUNITY
================================================== */
.guide-community-hero {
    border-color: rgba(var(--vt-blue-rgb), 0.22);
    background:
        radial-gradient(circle at 82% 72%, rgba(var(--vt-blue-rgb), 0.12), transparent 22%),
        radial-gradient(circle at 72% 84%, rgba(var(--vt-primary-rgb), 0.10), transparent 28%),
        linear-gradient(135deg, var(--vt-surface) 0%, var(--vt-surface) 58%, var(--vt-surface-tint) 100%);
}

.guide-community-hero .vt-hero-kicker {
    color: var(--vt-blue);
}

.guide-community-card {
    border-color: var(--vt-border);
}

.guide-community-card:hover {
    border-color: var(--vt-blue);
}

.guide-community-card .vt-category-title::after {
    content: "Guide Community";
    display: block;
    margin-top: 0.35rem;

    color: var(--vt-blue);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guide-community-head {
    border-color: rgba(var(--vt-blue-rgb), 0.22);
    background:
        radial-gradient(circle at top right, rgba(var(--vt-blue-rgb), 0.10), transparent 28%),
        var(--vt-surface);
}

.guide-community-topic-row {
    border-left: 3px solid rgba(var(--vt-blue-rgb), 0.36);
}

.guide-community-topic-row:hover {
    border-left-color: var(--vt-blue);
}

.guide-community-topic-stats {
    padding-left: 3rem;
}

/* ==================================================
ADMIN
================================================== */
.vt-post .vt-inline-form {
    align-items: center;
}

.vt-admin-box {
    margin-top: 36px;
    padding: 28px;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
}

.vt-admin-title {
    color: var(--vt-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    font-weight: 600;
}

.vt-actions,
.vt-inline-form {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.vt-actions .vt-inline-form {
    margin: 0;
    display: inline-flex;
}

.vt-admin-user-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.vt-admin-user-layout .vt-post,
.vt-admin-user-layout .vt-form-wrap {
    margin: 0;
}

.vt-site-banner {
    position: relative;
    overflow: hidden;

    background: var(--vt-highlight);
    border-bottom: 1px solid var(--vt-highlight-border);

    color: var(--vt-highlight-text);

    padding: 14px 0;

    font-size: 0.95rem;
    line-height: 1.6;

    box-shadow: 0 8px 22px rgba(var(--vt-shadow-rgb), 0.08);
    z-index: 90;
}

.vt-site-banner::before {
    display: none;
}

.vt-site-banner .vt-container {
    position: relative;
    z-index: 1;
}

.vt-toggle-row {
    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--vt-text);
    cursor: pointer;
    user-select: none;
}

.vt-toggle-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    position: relative;

    width: 54px;
    height: 30px;

    border-radius: 999px;
    background: var(--vt-border-soft);
    border: 1px solid var(--vt-border);

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.vt-toggle-row input[type="checkbox"]::before {
    content: "";
    position: absolute;

    top: 3px;
    left: 3px;

    width: 22px;
    height: 22px;

    border-radius: 50%;
    background: var(--vt-surface);

    box-shadow: 0 2px 8px rgba(var(--vt-shadow-rgb), 0.16);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.vt-toggle-row input[type="checkbox"]:checked {
    background: var(--vt-primary);
    border-color: var(--vt-primary);
}

.vt-toggle-row input[type="checkbox"]:checked::before {
    transform: translateX(24px);
    background: var(--vt-on-primary);
}
/* =========================================================
   Guide Admin
========================================================= */

.vt-admin-hero {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;

    padding: 1.5rem;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 18px;

    box-shadow: var(--vt-shadow-soft);

    margin-bottom: 1.5rem;
}

.vt-admin-hero h1 {
    margin: .25rem 0 .5rem;
    font-size: clamp(1.7rem,3vw,2.4rem);
}

.vt-admin-actions {
    display:flex;
    gap:.75rem;
    flex-wrap:wrap;
}

/* =========================================================
   Stats
========================================================= */

.vt-admin-stats {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:1rem;
    margin-bottom:1.5rem;
}

.vt-admin-stat {
    padding:1.25rem;

    background:var(--vt-surface);
    border:1px solid var(--vt-border);
    border-radius:16px;

    transition:.2s ease;
}

.vt-admin-stat:hover{
    border-color:var(--vt-blue);
    box-shadow:var(--vt-shadow-soft);
}

.vt-admin-stat span{
    display:block;
    font-size:.8rem;
    color:var(--vt-text-muted);
    margin-bottom:.35rem;
}

.vt-admin-stat strong{
    display:block;
    font-size:1.8rem;
    color:var(--vt-blue);
}

/* =========================================================
   Panels
========================================================= */

.vt-admin-panel{
    padding:1.5rem;

    background:var(--vt-surface);
    border:1px solid var(--vt-border);
    border-radius:18px;
}

.vt-admin-panel-header{
    display:flex;
    justify-content:space-between;
    gap:1rem;
    align-items:flex-start;
    margin-bottom:1rem;
}

.vt-admin-panel-header h2{
    margin:0 0 .35rem;
}

.vt-admin-muted{
    color:var(--vt-text-muted);
    margin:0;
}

/* =========================================================
   Tables
========================================================= */

.vt-admin-table-wrap{
    overflow-x:auto;
    border:1px solid var(--vt-border);
    border-radius:14px;
}

.vt-admin-table{
    width:100%;
    border-collapse:collapse;
    min-width:900px;
}

.vt-admin-table th,
.vt-admin-table td{
    padding:.95rem 1rem;
    border-bottom:1px solid var(--vt-border-soft);
    text-align:left;
    vertical-align:middle;
}

.vt-admin-table th{
    background:var(--vt-surface-soft);
    color:var(--vt-text-muted);

    font-size:.75rem;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.vt-admin-table tr:last-child td{
    border-bottom:0;
}

.vt-admin-table-title{
    display:block;
    color:var(--vt-text);
    margin-bottom:.25rem;
}

.vt-admin-table-subtext{
    font-size:.78rem;
    color:var(--vt-text-muted);
}

.vt-admin-table-actions{
    white-space:nowrap;
}

.vt-admin-table-actions a{
    color:var(--vt-blue);
    text-decoration:none;
}

.vt-admin-table-actions a:hover{
    color:var(--vt-primary);
}

/* =========================================================
   Status Pills
========================================================= */

.vt-admin-pill{
    display:inline-flex;
    align-items:center;

    padding:.28rem .7rem;

    border-radius:999px;

    font-size:.75rem;
    font-weight:600;

    background:var(--vt-primary-soft);
    border:1px solid rgba(var(--vt-primary-rgb),.18);
    color:var(--vt-primary);
}

.vt-admin-pill.published{
    background:var(--vt-success-soft);
    border-color:var(--vt-success-border);
    color:var(--vt-success);
}

.vt-admin-pill.draft{
    background:var(--vt-blue-soft);
    border-color:rgba(var(--vt-blue-rgb),.18);
    color:var(--vt-blue);
}

.vt-admin-pill.archived{
    background:var(--vt-surface-soft);
    border-color:var(--vt-border);
    color:var(--vt-text-muted);
}

/* =========================================================
   Empty
========================================================= */

.vt-admin-empty{
    padding:2rem;
    text-align:center;

    background:var(--vt-surface-soft);
    border:1px dashed var(--vt-border);
    border-radius:16px;
}

/* =========================================================
   Guide Admin Forms
========================================================= */

.vt-admin-alert{
    padding:1rem 1.25rem;
    border-radius:14px;
    margin-bottom:1.25rem;
}

.vt-admin-alert ul{
    margin:.75rem 0 0;
    padding-left:1.25rem;
}

.vt-admin-alert-error{
    background:var(--vt-danger-soft);
    border:1px solid var(--vt-danger-border);
    color:var(--vt-danger);
}

.vt-admin-form-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 280px;
    gap:1.5rem;
}

.vt-admin-form-main,
.vt-admin-form-side{
    min-width:0;
}

.vt-admin-form-side{
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.vt-admin-field{
    margin-bottom:1rem;
}

.vt-admin-field label{
    display:block;
    margin-bottom:.45rem;

    font-weight:600;
    color:var(--vt-text);
}

.vt-admin-field input,
.vt-admin-field select,
.vt-admin-field textarea{
    width:100%;

    padding:.8rem .9rem;

    border:1px solid var(--vt-border);
    border-radius:12px;

    background:var(--vt-surface);
    color:var(--vt-text);

    font:inherit;
    box-sizing:border-box;
}

.vt-admin-field textarea{
    resize:vertical;
}

.vt-admin-field input:focus,
.vt-admin-field select:focus,
.vt-admin-field textarea:focus{
    outline:none;
    border-color:var(--vt-blue);
    box-shadow:0 0 0 3px rgba(var(--vt-blue-rgb),.12);
}

.vt-admin-field small{
    display:block;
    margin-top:.4rem;
    color:var(--vt-text-muted);
}

.vt-admin-check{
    display:flex;
    align-items:center;
    gap:.6rem;

    min-height:54px;

    padding:.85rem;

    background:var(--vt-surface-soft);
    border:1px solid var(--vt-border);
    border-radius:12px;

    cursor:pointer;
}

.vt-admin-check input{
    width:auto;
}

.vt-admin-field input[type="number"]{
    min-height:42px;
}

.vt-admin-submit{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:120px;
    height:44px;

    padding:0 18px;

    border:1px solid var(--vt-blue);
    border-radius:5px;

    background:var(--vt-blue);
    color:#fff;

    font-family:var(--vt-font-body);
    font-size:.95rem;
    font-weight:600;

    cursor:pointer;

    transition:.2s ease;
}

.vt-admin-submit:hover{
    background:#166cc6;
    border-color:#166cc6;
    transform:translateY(-1px);
}

/* TinyMCE */

.tox-tinymce{
    border:1px solid var(--vt-border) !important;
    border-radius:12px !important;
    overflow:hidden;
}

@media (max-width:900px){

    .vt-admin-hero,
    .vt-admin-panel-header{
        flex-direction:column;
    }

    .vt-admin-form-grid{
        grid-template-columns:1fr;
    }

    .vt-admin-stats{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}

@media (max-width:560px){

    .vt-admin-stats{
        grid-template-columns:1fr;
    }

}
/* ==================================================
ACCOUNT
================================================== */
.vt-avatar-frame {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vt-avatar-frame img {
    display: block;
}

.vt-avatar-small {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;

    background: var(--vt-surface-soft);
    border: 1px solid var(--vt-border);
}

.vt-avatar-large {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;

    background: var(--vt-surface-soft);
    border: 1px solid var(--vt-border);
}

.vt-avatar-small,
.vt-avatar-large {
    box-shadow: 0 0 0 3px rgba(var(--vt-blue-rgb), 0.08);
}

.vt-side-nav a.vt-account-nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    white-space: nowrap;
}

.vt-account-nav-link.is-active {
    background: var(--vt-blue-soft);
    border-left: 2px solid var(--vt-blue);
    color: var(--vt-blue);
    font-weight: 600;
}

.vt-side-nav a.vt-account-nav-link .vt-account-nav-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    line-height: 0 !important;
}

.vt-side-nav a.vt-account-nav-link .vt-account-nav-icon [data-vt-icon] {
    width: 24px !important;
    height: 24px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    line-height: 0 !important;
}

.vt-side-nav a.vt-account-nav-link .vt-account-nav-icon svg {
    width: 24px !important;
    height: 24px !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    stroke: currentColor !important;
}

.vt-icon-button.vt-message-icon {
    position: relative;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vt-message-count {
    position: absolute;
    top: -6px;
    right: -6px;

    min-width: 16px;
    height: 16px;
    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    background: var(--vt-danger);
    color: var(--vt-on-primary);

    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;

    border: 1px solid var(--vt-danger-border);
}

.vt-side-nav a.vt-account-nav-link .vt-account-nav-text {
    display: block;
    line-height: 1 !important;
}

.vt-right-widget {
    position: static;
    max-height: none;
}

.vt-account-menu {
    position: relative;
}

.vt-account-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 200;

    min-width: 220px;
    padding-top: 8px;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 10px;

    box-shadow: 0 18px 46px rgba(var(--vt-shadow-rgb), 0.14);
}

.vt-account-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.vt-account-menu:hover .vt-account-dropdown,
.vt-account-menu:focus-within .vt-account-dropdown {
    display: block;
}

.vt-account-dropdown a {
    display: block;
    padding: 13px 16px;

    color: var(--vt-text-soft);
    font-size: 0.88rem;

    border-bottom: 1px solid var(--vt-border-soft);
}

.vt-account-dropdown a:last-child {
    border-bottom: none;
}

.vt-account-dropdown a:hover {
    color: var(--vt-blue);
    background: var(--vt-blue-soft);
}

.vt-avatar-wrap {
    position: relative;
    display: inline-flex;
    bottom: 15px;
}
/* =========================
   MODERN DM WORKSPACE
========================= */

.vt-dm-workspace {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 24px;
}

.vt-dm-workspace-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.vt-dm-icon-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;

    display: grid;
    place-items: center;
    flex: 0 0 auto;

    background: var(--vt-blue-soft);
    color: var(--vt-blue);
    font-weight: 800;
}

.vt-dm-workspace-head h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1;
}

.vt-dm-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 38px;
    padding: 0 15px;

    border-radius: 8px;
    border: 1px solid var(--vt-blue);

    color: var(--vt-blue);
    text-decoration: none;
    background: var(--vt-blue-soft);
    font-weight: 700;
}

.vt-dm-new-btn:hover {
    background: var(--vt-primary-soft);
    border-color: var(--vt-primary);
    color: var(--vt-primary);
}

/* Main shell */

.vt-dm-shell {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 14px;
    min-height: 680px;
}

/* Left inbox */

.vt-dm-inbox-panel,
.vt-dm-chat-panel {
    border: 1px solid var(--vt-border);
    border-radius: 10px;
    background: var(--vt-surface);
    box-shadow: var(--vt-shadow-soft);
    overflow: hidden;
}

.vt-dm-inbox-panel {
    padding: 12px;
}

.vt-dm-search-box {
    display: flex;
    align-items: center;
    gap: 10px;

    height: 44px;
    padding: 0 12px;
    margin-bottom: 12px;

    border-radius: 8px;
    border: 1px solid var(--vt-border);
    background: var(--vt-surface-soft);
}

.vt-dm-search-box span {
    color: var(--vt-blue);
    flex: 0 0 auto;
}

.vt-dm-search-box input {
    width: 100%;

    border: 0;
    outline: 0;
    background: transparent;

    color: var(--vt-text);
    font: inherit;
    font-size: 0.9rem;
}

.vt-dm-search-box input::placeholder {
    color: var(--vt-text-muted);
}

.vt-dm-conversation-list {
    display: flex;
    flex-direction: column;
}

.vt-dm-conversation-item {
    position: relative;

    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 74px;
    padding: 12px;

    color: inherit;
    text-decoration: none;

    border-bottom: 1px solid var(--vt-border-soft);

    transition: background 0.18s ease, border-color 0.18s ease;
}

.vt-dm-conversation-item:last-child {
    border-bottom: 0;
}

.vt-dm-conversation-item:hover {
    background: var(--vt-blue-soft);
}

.vt-dm-conversation-item.is-unread {
    background:
        linear-gradient(
            90deg,
            rgba(var(--vt-blue-rgb), 0.14),
            rgba(var(--vt-blue-rgb), 0.04)
        );
}

.vt-dm-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;

    display: grid;
    place-items: center;
    flex: 0 0 auto;

    color: var(--vt-blue);
    font-weight: 800;

    background: var(--vt-blue-soft);
    border: 1px solid rgba(var(--vt-blue-rgb), 0.24);
}

.vt-dm-avatar.is-large {
    width: 54px;
    height: 54px;
}

.vt-dm-conversation-body {
    min-width: 0;
    flex: 1;
}

.vt-dm-conversation-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}

.vt-dm-conversation-top strong {
    color: var(--vt-text);
    font-size: 0.95rem;
}

.vt-dm-conversation-top span {
    color: var(--vt-text-muted);
    font-size: 0.74rem;
    white-space: nowrap;
}

.vt-dm-conversation-body p {
    margin: 0;

    color: var(--vt-text-soft);
    font-size: 0.84rem;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.vt-dm-conversation-item.is-unread .vt-dm-conversation-top strong,
.vt-dm-conversation-item.is-unread .vt-dm-conversation-body p {
    color: var(--vt-blue);
    font-weight: 700;
}

.vt-dm-unread-dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;

    display: grid;
    place-items: center;
    flex: 0 0 auto;

    background: var(--vt-blue);
    color: var(--vt-on-primary);

    font-size: 0.72rem;
    font-weight: 900;
}

/* Right chat panel */

.vt-dm-chat-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vt-dm-chat-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--vt-border);
}

.vt-dm-chat-person {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.vt-dm-chat-person h2 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: var(--vt-text);
}

.vt-dm-chat-person p {
    margin: 0;
    color: var(--vt-text-muted);
    font-size: 0.85rem;
}

.vt-dm-chat-empty {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px 30px;
    gap: 14px;
}

.vt-dm-chat-empty svg {
    height: 50px;
    width: 50px;
}

.vt-dm-chat-empty span {
    display: block;
    font-size: 3rem;
    color: var(--vt-blue);
    margin-bottom: 8px;
}

.vt-dm-chat-empty h3 {
    margin: 0;
    color: var(--vt-text);
    font-size: 1.4rem;
}

.vt-dm-chat-empty p {
    margin: 0;
    color: var(--vt-text-soft);
    max-width: 400px;
}

.vt-dm-reply-bar {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 16px;
    padding: 10px 12px;

    border-radius: 10px;
    border: 1px solid var(--vt-border);
    background: var(--vt-surface-soft);
}

.vt-dm-reply-bar > span {
    color: var(--vt-blue);
}

.vt-dm-reply-bar > span svg {
    height: 28px;
    width: 28px;
}

.vt-dm-reply-bar input {
    flex: 1;
    min-width: 0;

    border: 0;
    outline: 0;
    background: transparent;

    color: var(--vt-text);
    font: inherit;
}

.vt-dm-reply-bar input::placeholder {
    color: var(--vt-text-muted);
}

.vt-dm-reply-bar button {
    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--vt-blue);
    color: var(--vt-on-primary);

    cursor: pointer;
}

.vt-dm-reply-bar button:hover {
    background: var(--vt-primary);
}

.vt-dm-reply-bar button svg {
    width: 28px;
    height: 28px;
}

/* Empty inbox */

.vt-dm-mini-empty {
    padding: 26px 12px;
    text-align: center;
    color: var(--vt-text-muted);
}

/* Mobile */

@media (max-width: 980px) {
    .vt-dm-shell {
        grid-template-columns: 1fr;
    }

    .vt-dm-chat-panel {
        min-height: 460px;
    }
}

@media (max-width: 640px) {
    .vt-dm-workspace {
        padding: 16px;
    }

    .vt-dm-workspace-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .vt-dm-shell {
        min-height: auto;
    }
}
/* =========================
   MESSAGE ROWS
========================= */

.vt-message-row {
    position: relative;

    display: flex;
    align-items: center;
    gap: 16px;

    padding: 18px 22px;

    text-decoration: none;
    color: inherit;

    border-bottom: 1px solid var(--vt-border-soft);

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.vt-message-row:hover {
    background: var(--vt-blue-soft);
    transform: translateX(2px);
}

.vt-message-row.is-unread {
    background:
        linear-gradient(
            90deg,
            rgba(var(--vt-blue-rgb), 0.14),
            rgba(var(--vt-blue-rgb), 0.04)
        );

    border-left: 3px solid var(--vt-blue);
}

.vt-message-avatar {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
    font-weight: 800;

    color: var(--vt-blue);
    background: var(--vt-blue-soft);
    border: 1px solid rgba(var(--vt-blue-rgb), 0.24);

    flex-shrink: 0;
}

.vt-message-info {
    flex: 1;
    min-width: 0;
}

.vt-message-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.vt-message-topline h2 {
    margin: 0;
    font-size: 1rem;
    color: var(--vt-text);
}

.vt-message-topline span {
    font-size: 0.75rem;
    color: var(--vt-text-muted);
    white-space: nowrap;
}

.vt-message-info p {
    margin: 6px 0 0;

    color: var(--vt-text-soft);
    font-size: 0.92rem;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vt-message-unread-count {
    min-width: 24px;
    height: 24px;
    padding: 0 8px;

    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--vt-blue);
    color: var(--vt-on-primary);

    font-size: 0.72rem;
    font-weight: 800;

    border: 1px solid rgba(var(--vt-blue-rgb), 0.18);
    box-shadow: none;
}

.vt-message-row.is-unread .vt-message-info p {
    color: var(--vt-text);
    font-weight: 600;
}

/* =========================
   DM FORM
========================= */

.vt-dm-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.vt-dm-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vt-dm-field label {
    color: var(--vt-text);
    font-weight: 700;
    font-size: 0.95rem;
}

.vt-dm-field input,
.vt-dm-field textarea {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid var(--vt-border);
    border-radius: 6px;

    background: var(--vt-surface);
    color: var(--vt-text);

    padding: 13px 14px;
    font: inherit;
    outline: none;
}

.vt-dm-field textarea {
    resize: vertical;
    min-height: 160px;
}

.vt-dm-field input:focus,
.vt-dm-field textarea:focus {
    border-color: var(--vt-blue);
    box-shadow: 0 0 0 3px rgba(var(--vt-blue-rgb), 0.12);
}

.vt-dm-field small {
    color: var(--vt-text-muted);
    font-size: 0.82rem;
}

.vt-dm-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.vt-dm-cancel {
    color: var(--vt-blue);
    text-decoration: none;
    font-size: 0.92rem;
}

.vt-dm-cancel:hover {
    color: var(--vt-primary);
    text-decoration: underline;
}

/* =========================
   DM BUTTONS
========================= */

.vt-dm-form .vt-btn,
.vt-conversation-reply-form .vt-btn,
.vt-dm-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 18px;

    border-radius: 6px;
    border: 1px solid var(--vt-blue);

    background: var(--vt-blue);
    color: var(--vt-on-primary);

    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.vt-dm-form .vt-btn:hover,
.vt-conversation-reply-form .vt-btn:hover,
.vt-dm-action:hover {
    background: var(--vt-primary);
    border-color: var(--vt-primary);
    transform: translateY(-1px);
}

.vt-dm-form .vt-btn:active,
.vt-conversation-reply-form .vt-btn:active,
.vt-dm-action:active {
    transform: translateY(0);
}
/* =========================
   Compose Panel
========================= */

.vt-dm-compose-panel {
    flex: 1;
    padding: 28px;
}

.vt-dm-compose-form {
    max-width: 620px;

    display: flex;
    flex-direction: column;
    gap: 22px;
}

.vt-dm-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vt-dm-field label {
    color: var(--vt-text);
    font-weight: 700;
}

.vt-dm-field input,
.vt-dm-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid var(--vt-border);
    border-radius: 8px;

    background: var(--vt-surface);
    color: var(--vt-text);

    font: inherit;
    outline: none;
}

.vt-dm-field textarea {
    resize: vertical;
    min-height: 180px;
}

.vt-dm-field input:focus,
.vt-dm-field textarea:focus {
    border-color: var(--vt-blue);
    box-shadow: 0 0 0 3px rgba(var(--vt-blue-rgb), 0.12);
}

.vt-dm-compose-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.vt-dm-send-btn {
    min-height: 42px;
    padding: 0 18px;

    border-radius: 8px;
    border: 1px solid var(--vt-blue);

    background: var(--vt-blue);
    color: var(--vt-on-primary);

    font-weight: 700;
    cursor: pointer;

    transition: .18s ease;
}

.vt-dm-send-btn:hover {
    background: var(--vt-primary);
    border-color: var(--vt-primary);
}

.vt-dm-cancel {
    color: var(--vt-blue);
    text-decoration: none;
}

.vt-dm-cancel:hover {
    color: var(--vt-primary);
    text-decoration: underline;
}

/* =========================
   USER SEARCH
========================= */

.vt-dm-user-search {
    position: relative;
    z-index: 100;
}

.vt-user-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;

    display: none;

    background: var(--vt-surface);

    border: 1px solid var(--vt-border);
    border-radius: 8px;

    overflow: hidden;

    z-index: 9999;

    box-shadow: 0 12px 30px rgba(var(--vt-shadow-rgb), 0.14);
}

.vt-user-result-item {
    width: 100%;

    display: flex;
    align-items: center;

    padding: 12px 14px;

    background: transparent;
    border: none;

    color: var(--vt-text);

    text-align: left;
    cursor: pointer;
    font: inherit;

    transition: background .15s ease;
}

.vt-user-result-item:hover {
    background: var(--vt-blue-soft);
    color: var(--vt-blue);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .vt-dm-empty {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .vt-message-row {
        padding: 16px;
    }

    .vt-message-topline {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

}

.vt-dm-conversation-item.is-active {
    background: var(--vt-blue-soft);
    border: 1px solid rgba(var(--vt-blue-rgb), 0.22);
    border-radius: 8px;
}
/* =========================
   DM CHAT BUBBLES
========================= */

.vt-dm-chat-thread {
    flex: 1;
    padding: 28px 34px;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 18px;

    background: var(--vt-surface);
}

.vt-dm-bubble-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.vt-dm-bubble-row.is-mine {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.vt-dm-bubble-row.is-theirs {
    justify-content: flex-start;
}

.vt-dm-message-avatar {
    width: 34px;
    height: 34px;

    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;

    background: var(--vt-blue-soft);
    border: 1px solid rgba(var(--vt-blue-rgb), 0.24);
}

.vt-dm-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vt-dm-bubble {
    position: relative;
    width: min(68%, 620px);
    padding: 18px 18px 14px;

    background: var(--vt-surface-soft);
    border: 1px solid var(--vt-border);

    box-shadow: 0 8px 22px rgba(var(--vt-shadow-rgb), 0.06);
    overflow: hidden;
}

.vt-dm-bubble::before {
    content: "“";
    position: absolute;
    top: 2px;
    left: 8px;

    font-size: 4.2rem;
    line-height: 1;
    color: rgba(var(--vt-blue-rgb), 0.10);

    font-family: Georgia, serif;
    font-weight: 700;

    pointer-events: none;
    user-select: none;
}

.vt-dm-bubble-row.is-mine .vt-dm-bubble {
    background: var(--vt-blue-soft);
    border-right: 3px solid var(--vt-blue);
    border-radius: 0 14px 0 14px;
}

.vt-dm-bubble-row.is-theirs .vt-dm-bubble {
    background: var(--vt-surface-soft);
    border-left: 3px solid var(--vt-primary);
    border-radius: 14px 0 14px 0;
}

.vt-dm-bubble p {
    position: relative;
    z-index: 1;

    margin: 8px 0 0 25px;

    color: var(--vt-text);
    line-height: 1.58;
    font-size: 0.96rem;
}

.vt-dm-bubble span {
    position: relative;
    z-index: 1;

    display: block;
    margin-top: 8px;

    color: var(--vt-text-muted);
    font-size: 0.74rem;
}

.vt-dm-bubble-row.is-mine .vt-dm-bubble span {
    color: var(--vt-blue);
}

.vt-dm-avatar {
    overflow: hidden;
}

.vt-dm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vt-message-info {
    min-width: 0;
}

.vt-message-info p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================
   CONFIRM MODAL
========================= */

.vt-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(var(--vt-shadow-rgb), 0.42);
    backdrop-filter: blur(5px);
}

.vt-confirm-overlay[hidden] {
    display: none;
}

.vt-confirm-box {
    width: min(100%, 440px);

    padding: 28px;
    border-radius: 12px;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);

    box-shadow: 0 24px 70px rgba(var(--vt-shadow-rgb), 0.18);
}

.vt-confirm-box h2 {
    margin: 0 0 10px;
    color: var(--vt-text);
    font-size: 1.45rem;
}

.vt-confirm-box p {
    margin: 0;
    color: var(--vt-text-soft);
    line-height: 1.6;
}

.vt-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;

    margin-top: 24px;
}

.vt-confirm-cancel,
.vt-confirm-delete {
    min-height: 40px;
    padding: 0 16px;

    border-radius: 6px;

    font: inherit;
    font-weight: 700;

    cursor: pointer;
}

.vt-confirm-cancel {
    background: var(--vt-surface);
    color: var(--vt-blue);
    border: 1px solid var(--vt-border);
}

.vt-confirm-cancel:hover {
    background: var(--vt-blue-soft);
    border-color: var(--vt-blue);
}

.vt-confirm-delete {
    background: var(--vt-danger);
    color: var(--vt-on-primary);
    border: 1px solid var(--vt-danger);
}

.vt-confirm-delete:hover {
    background: #991b1b;
    border-color: #991b1b;
}

body.vt-modal-open {
    overflow: hidden;
}

/* New delete css */

.vt-dm-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: 100%;
    padding: 18px 20px;

    border-bottom: 1px solid var(--vt-border);
}

.vt-dm-chat-header svg:hover {
    color: var(--vt-blue);
}

.vt-dm-chat-actions {
    margin-left: auto;
    flex: 0 0 auto;
}

.vt-dm-delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 38px;
    padding: 0 14px;

    border: none;
    background: transparent;

    color: var(--vt-danger);
    cursor: pointer;
}

/* =========================
   ACCOUNT MESSAGE PREVIEW
========================= */

.vt-account-panel-link {
    color: var(--vt-blue);
    font-size: 0.85rem;
    text-decoration: none;
}

.vt-account-panel-link:hover {
    color: var(--vt-primary);
    text-decoration: underline;
}

.vt-account-message-preview-list {
    margin-top: 14px;
}

.vt-account-message-preview {
    display: block;
    padding: 12px 0;

    color: var(--vt-text-soft);
    text-decoration: none;

    border-top: 1px solid var(--vt-border-soft);
}

.vt-account-message-preview:first-child {
    border-top: none;
    padding-top: 0;
}

.vt-account-message-preview-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
}

.vt-account-message-preview-top strong {
    color: var(--vt-text);
    font-size: 0.95rem;
    font-weight: 700;
}

.vt-account-message-preview-top span {
    color: var(--vt-text-muted);
    font-size: 0.75rem;
    white-space: nowrap;
}

.vt-account-message-preview p {
    margin: 0;

    color: var(--vt-text-soft);
    font-size: 0.86rem;
    line-height: 1.45;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vt-account-message-preview p span {
    font-weight: 700;
}

.vt-account-message-preview.is-unread strong,
.vt-account-message-preview.is-unread p {
    color: var(--vt-blue);
}

.vt-account-message-preview.is-read strong {
    color: var(--vt-text);
}

@media (max-width: 768px) {
    .vt-dm-chat-thread {
        padding: 20px;
    }

    .vt-dm-bubble {
        width: 82%;
    }

    .vt-dm-message-avatar {
        width: 30px;
        height: 30px;
    }
}
/* USER BADGES---------------------------------------*/
.vt-user-mini-badge {
    position: relative;

    width: 18px;
    height: 18px;
    padding: 0;
    margin-left: 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.vt-user-mini-badge-admin {
    color: var(--vt-danger);
}

.vt-user-mini-badge-moderator {
    color: var(--vt-blue);
}

.vt-user-mini-badge [data-vt-icon],
.vt-user-mini-badge [data-vt-icon] svg {
    width: 18px !important;
    height: 18px !important;
    display: block;
}

.vt-topic-mini-badges {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: 10px;
}

.vt-topic-mini-badge {
    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    line-height: 1;
}

.vt-topic-mini-badge [data-vt-icon],
.vt-topic-mini-badge [data-vt-icon] svg {
    width: 28px !important;
    height: 28px !important;
    display: block;
}

.vt-topic-mini-badge-admin {
    color: var(--vt-danger);
}

.vt-topic-mini-badge-moderator {
    color: var(--vt-blue);
}

.vt-topic-mini-badge-trusted_member {
    color: var(--vt-primary);
}

.vt-topic-mini-badge-community_reviewer {
    color: var(--vt-success);
}

/* -----------------------------------
     Settings Page Css
---------------------------------------*/

.vt-settings-page {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.vt-settings-hero {
    margin-bottom: 28px;
}

.vt-settings-hero h1 {
    margin: 0 0 10px;
    font-size: 2.2rem;
}

.vt-settings-hero p {
    margin: 0;
    max-width: 680px;

    color: var(--vt-text-soft);
    line-height: 1.6;
}

.vt-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vt-settings-card {
    display: flex;
    gap: 16px;

    padding: 20px;

    border-radius: 14px;
    border: 1px solid var(--vt-border);

    background: var(--vt-surface);
    color: inherit;
    text-decoration: none;

    box-shadow: var(--vt-shadow-soft);

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.vt-settings-card svg {
    height: 28px;
    width: 28px;
}

.vt-settings-card:hover {
    transform: translateY(-2px);
    border-color: var(--vt-blue);
    background: var(--vt-blue-soft);
}

.vt-settings-card > span {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;
    flex: 0 0 auto;

    border-radius: 12px;

    color: var(--vt-blue);
    background: var(--vt-blue-soft);
    border: 1px solid rgba(var(--vt-blue-rgb), 0.22);
}

.vt-settings-card h2 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--vt-text);
}

.vt-settings-card p {
    margin: 0;

    color: var(--vt-text-soft);
    line-height: 1.5;
    font-size: 0.92rem;
}

.vt-settings-section {
    overflow: hidden;

    border: 1px solid var(--vt-border);
    border-radius: 14px;

    background: var(--vt-surface);
    box-shadow: var(--vt-shadow-soft);
}

.vt-settings-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;

    padding: 22px;

    border-bottom: 1px solid var(--vt-border-soft);
}

.vt-settings-row:last-child {
    border-bottom: none;
}

.vt-settings-row-main h2 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--vt-text);
}

.vt-settings-row-main p {
    margin: 0;

    color: var(--vt-text-soft);
    line-height: 1.5;
}

.vt-settings-row-side {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.vt-settings-avatar {
    width: 54px;
    height: 54px;

    object-fit: cover;
    border-radius: 50%;

    border: 1px solid var(--vt-border);
    background: var(--vt-surface-soft);
}

.vt-settings-link {
    color: var(--vt-blue);
    text-decoration: none;
    font-weight: 700;
}

.vt-settings-link:hover {
    color: var(--vt-primary);
    text-decoration: underline;
}

.vt-settings-status {
    color: var(--vt-blue);
    font-size: 0.85rem;
}

.vt-settings-status.is-warning {
    color: var(--vt-danger);
}

.vt-settings-select {
    min-width: 240px;

    padding: 11px 12px;

    border: 1px solid var(--vt-border);
    border-radius: 8px;

    background: var(--vt-surface);
    color: var(--vt-text);

    font: inherit;
}

.vt-settings-select:focus {
    outline: none;
    border-color: var(--vt-blue);
    box-shadow: 0 0 0 3px rgba(var(--vt-blue-rgb), 0.12);
}

.vt-settings-button {
    min-height: 40px;
    padding: 0 16px;

    border-radius: 8px;
    border: 1px solid var(--vt-blue);

    background: var(--vt-blue);
    color: var(--vt-on-primary);

    font-weight: 800;
    cursor: pointer;
}

.vt-settings-button:hover {
    background: var(--vt-primary);
    border-color: var(--vt-primary);
}

.vt-settings-alert {
    margin-bottom: 18px;
    padding: 14px 16px;

    border-radius: 10px;
    border: 1px solid rgba(var(--vt-blue-rgb), 0.22);

    background: var(--vt-blue-soft);
    color: var(--vt-blue);
}

@media (max-width: 760px) {
    .vt-settings-grid {
        grid-template-columns: 1fr;
    }

    .vt-settings-row {
        flex-direction: column;
    }

    .vt-settings-row-side {
        justify-content: flex-start;
    }

    .vt-settings-select {
        width: 100%;
    }
}
/* --------------------------------------------------
   USERNAME GENERATOR
--------------------------------------------------- */

.vt-username-generator {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 10px;
    align-items: center;
}

.vt-username-refresh {
    width: 46px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--vt-border);
    border-radius: 8px;

    background: var(--vt-surface);
    color: var(--vt-blue);

    font-size: 1.25rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.vt-username-refresh:hover {
    background: var(--vt-blue-soft);
    border-color: var(--vt-blue);
    transform: translateY(-1px);
}

.vt-username-refresh:disabled {
    opacity: 0.5;
    cursor: wait;
}

/* --------------------------------------------------
   BIRTHDATE WHEEL PICKER
--------------------------------------------------- */

.vt-birth-wheel {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 0.9fr;
    gap: 12px;
}

.vt-wheel-column {
    position: relative;
}

.vt-wheel-label {
    margin-bottom: 7px;

    color: var(--vt-text-muted);
    font-size: 0.76rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vt-wheel-select {
    width: 100%;
    height: 48px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 8px;

    color: var(--vt-text);

    padding: 0 14px;

    font-family: var(--vt-font-body);
    font-size: 0.95rem;

    cursor: pointer;
}

.vt-wheel-select:focus {
    outline: none;
    border-color: var(--vt-blue);
    box-shadow: 0 0 0 3px rgba(var(--vt-blue-rgb), 0.12);
}

.vt-wheel-select option {
    background: var(--vt-surface);
    color: var(--vt-text);
}
/* --------------------------------------------------
   GENERATED USERNAME PANEL
--------------------------------------------------- */

.vt-generated-identity {
    position: relative;
    margin-top: 28px;
    padding: 34px 28px;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 12px;

    box-shadow: var(--vt-shadow-soft);
}

.vt-generated-identity-label {
    margin-bottom: 18px;

    color: var(--vt-text-muted);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.vt-generated-identity-name {
    color: var(--vt-blue);

    font-family: var(--vt-font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: 1px;

    text-shadow: none;
}

.vt-generated-identity-subtext {
    margin-top: 20px;

    color: var(--vt-text-soft);
    font-size: 0.92rem;
    line-height: 1.7;
}

.vt-header-user-menu {
    position: relative;
}

.vt-header-user-trigger {
    height: 44px;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 0 10px 0 4px;

    border: none;
    background: transparent;

    color: var(--vt-text-soft);
    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.vt-header-user-trigger:hover {
    background: transparent;
    color: var(--vt-blue);
}

.vt-header-user-avatar {
    width: 36px;
    height: 36px;

    display: block;
    object-fit: cover;

    border-radius: 50%;
    border: 1px solid var(--vt-border);
}

.vt-header-user-name {
    color: var(--vt-text);

    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.2px;

    white-space: nowrap;
}

.vt-header-user-menu:hover .vt-header-user-dropdown {
    display: block;
}

.vt-header-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    z-index: 50;
}

/* Idle Warning */
.vt-session-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(var(--vt-shadow-rgb), 0.42);
    backdrop-filter: blur(8px);
}

.vt-session-modal.is-visible {
    display: flex;
}

.vt-session-modal__box {
    width: min(100%, 460px);

    padding: 34px 30px;

    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 14px;

    box-shadow: 0 24px 70px rgba(var(--vt-shadow-rgb), 0.18);

    text-align: center;
}

.vt-session-modal__label {
    margin-bottom: 12px;

    color: var(--vt-blue);
    font-size: 0.76rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.vt-session-modal__box h2 {
    margin: 0 0 14px;

    color: var(--vt-text);
    font-family: var(--vt-font-heading);
    font-size: 1.6rem;
    font-weight: 500;
}

.vt-session-modal__box p {
    margin: 0;

    color: var(--vt-text-soft);
    line-height: 1.7;
}

.vt-session-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: center;

    margin-top: 26px;
}

.vt-session-modal__btn {
    min-height: 42px;
    padding: 0 18px;

    border-radius: 6px;
    border: 1px solid var(--vt-border);

    cursor: pointer;
}

.vt-session-modal__btn--muted {
    background: var(--vt-surface);
    color: var(--vt-text-soft);
}

.vt-session-modal__btn--muted:hover {
    background: var(--vt-blue-soft);
    color: var(--vt-blue);
    border-color: var(--vt-blue);
}

.vt-session-modal__btn--primary {
    background: var(--vt-blue);
    color: var(--vt-on-primary);
    border-color: var(--vt-blue);
}

.vt-session-modal__btn--primary:hover {
    background: var(--vt-primary);
    border-color: var(--vt-primary);
}
/* =========================================================
   TinyMCE Layout
========================================================= */

.vt-admin-form-main {
    min-width: 0;
}

.vt-admin-field {
    min-width: 0;
}

.tox-tinymce {
    width: 100% !important;
    max-width: 100% !important;

    border: 1px solid var(--vt-border) !important;
    border-radius: 14px !important;

    overflow: hidden !important;

    box-shadow: var(--vt-shadow-soft) !important;
}

/* Toolbar */

.tox .tox-menubar,
.tox .tox-toolbar,
.tox .tox-toolbar__primary {
    background: var(--vt-surface-soft) !important;
    border-bottom: 1px solid var(--vt-border-soft) !important;
}

/* Editing area */

.tox .tox-edit-area__iframe {
    background: var(--vt-bg) !important;
}

/* Status bar */

.tox .tox-statusbar {
    background: var(--vt-surface-soft) !important;
    border-top: 1px solid var(--vt-border-soft) !important;
}

/* Toolbar buttons */

.tox .tox-tbtn {
    border-radius: 6px !important;
}

.tox .tox-tbtn:hover,
.tox .tox-tbtn--enabled,
.tox .tox-tbtn--enabled:hover {
    background: var(--vt-blue-soft) !important;
}

.tox .tox-collection__item--active {
    background: var(--vt-blue-soft) !important;
}
/* ==================================================
FOOTER
================================================== */

.vt-site-footer {
    position: relative;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding: 36px 60px 28px;
    background-image:
        linear-gradient(
            180deg,
            rgba(244,247,252,.85),
            rgba(244,247,252,.89)
        ),
        url("/assets/img/footer-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid var(--vt-header-border);
    overflow: hidden;
}

.vt-site-footer > * {
    position: relative;
    z-index: 1;
}

.vt-footer-newsletter,
.vt-footer-brand,
.vt-footer-links {
    position: relative;
    background: transparent;
}

.vt-project-desc {
    margin-bottom: 15px;
    font-size: 12px;
    color: var(--vt-text-soft);
}

.vt-site-footer p {
    margin: 0;
    color: var(--vt-text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.vt-footer-newsletter h3,
.vt-footer-links h3 {
    color: var(--vt-text);
    margin-bottom: 14px;
    font-weight: 600;
}

.vt-footer-brand {
    text-align: center;
}

.vt-footer-brand img {
    width: 250px;
    margin: 0 auto -5px;
}

.vt-footer-icons {
    display: flex;
    justify-content: center;
    gap: 17px;
    margin-bottom: 18px;

    color: var(--vt-blue);
}

.vt-footer-icons a {
    color: inherit;
    transition: color .18s ease, transform .18s ease;
}

.vt-footer-icons a:hover {
    color: var(--vt-primary);
    transform: translateY(-2px);
}

.vt-footer-links {
    justify-self: end;
    min-width: 280px;
}

.vt-footer-links a {
    color: var(--vt-text-soft);
    text-decoration: none;
    transition: color .18s ease;
}

.vt-footer-links a:hover {
    color: var(--vt-blue);
}

.vt-footer-link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 42px;
    font-size: 14px;
}

/* Newsletter */

.vt-email-form {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 18px;
    max-width: 320px;
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 10px;
    box-shadow: var(--vt-shadow-soft);
    overflow: hidden;
}

.vt-email-form::before {
    display: none;
}

.vt-email-form input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--vt-text);
    font-size: 13px;
    letter-spacing: .03em;
}

.vt-email-form input::placeholder {
    color: var(--vt-text-muted);
}

.vt-email-form button {
    width: 48px;
    height: 44px;
    border: 0;
    border-left: 1px solid var(--vt-border);
    background: var(--vt-blue);
    color: var(--vt-on-primary);
    font-size: 18px;
    cursor: pointer;
    transition:
        background .2s ease,
        transform .2s ease;
}

.vt-email-form button:hover {
    background: var(--vt-primary);
}

.vt-email-form button:active {
    transform: scale(.96);
}
/* ==================================================
MISC
================================================== */
.vt-hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.vt-beta-banner {
    position: relative;
    z-index: 40;

    padding: 12px 20px;

    background: var(--vt-blue-soft);
    border-top: 1px solid rgba(var(--vt-blue-rgb), 0.18);
    border-bottom: 1px solid rgba(var(--vt-blue-rgb), 0.18);

    color: var(--vt-blue);

    text-align: center;
    font-size: 0.84rem;
    letter-spacing: 0.3px;
}

.beta-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    padding: 10px 20px;

    box-sizing: border-box;

    background: var(--vt-blue-soft);
    border-bottom: 1px solid rgba(var(--vt-blue-rgb), 0.18);
    border-radius: 5px;
}

.beta-pill {
    padding: 2px 8px;

    background: var(--vt-blue);
    color: var(--vt-on-primary);

    border-radius: 12px;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.beta-text {
    margin: 0;

    color: var(--vt-text-soft);
    font-size: 14px;
    font-family: var(--vt-font-body);
}

.beta-text a {
    color: var(--vt-blue);
    font-weight: 600;
    text-decoration: underline;
}

.beta-text a:hover {
    color: var(--vt-primary);
}