.vf-app .vf-administration { --vf-admin-red: var(--vf-primary, #d92028); --vf-admin-ink: #202b3c; --vf-admin-muted: #748093; }
.vf-app .vf-admin-card-heading { display: flex; align-items: center; gap: 13px; padding: 21px 24px; border-bottom: 1px solid #edf0f4; }
.vf-app .vf-admin-heading-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid color-mix(in srgb, var(--vf-admin-red) 20%, white); border-radius: 12px; color: var(--vf-admin-red); background: color-mix(in srgb, var(--vf-admin-red) 6%, white); font-size: 15px; }
.vf-app .vf-admin-card-heading h5 { font-size: 15px; font-weight: 750; color: #202b3c; letter-spacing: -.25px; }
.vf-app .vf-admin-card-heading p { margin: 5px 0 0; color: #748093; font-size: 12px; line-height: 1.5; }
.vf-app .vf-admin-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 18px; border-top: 1px solid #edf0f4; margin-top: 8px; }
.vf-app .vf-permission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: 9px; }
.vf-app .vf-permission-grid-compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); }
.vf-app .vf-permission-grid-scroll { max-height: 190px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.vf-app .vf-permission-grid .form-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 11px 13px; border: 1px solid #e6eaf0; border-radius: 10px; background: #fafbfc; cursor: pointer; transition: background .16s, border-color .16s; }
.vf-app .vf-permission-grid .form-check:hover { border-color: #e7adb1; background: #fff8f8; }
.vf-app .vf-permission-grid .form-check:has(input:checked) { border-color: #edb3b6; background: #fff3f4; }
.vf-app .vf-permission-grid .form-check:focus-within { outline: 2px solid #d92028; outline-offset: 2px; }
.vf-app .vf-permission-grid .form-check-input { flex-shrink: 0; float: none; margin: 0; }
.vf-app .vf-permission-grid .form-check-label { font-size: 12px; line-height: 1.45; color: #4b5669; }
.vf-app .vf-role-menu-label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 11px 13px; border: 1px dashed #dfe4eb; border-radius: 10px; color: #6d7889; background: #f7f8fa; font-size: 12px; }
.vf-app .vf-role-menu-label i { color: var(--vf-admin-red); }
.vf-app .vf-role-menu-label span { flex: 1; }
.vf-app .vf-role-menu-label small { padding: 3px 7px; border-radius: 99px; color: #7f8998; background: #eceff3; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.vf-app .vf-menu-field-disabled { opacity: .48; }
.vf-app .vf-menu-access-note { display: flex; align-items: center; gap: 14px; padding: 17px 19px; border: 1px solid color-mix(in srgb, var(--vf-admin-red) 18%, #e6eaf0); border-radius: 14px; background: color-mix(in srgb, var(--vf-admin-red) 4%, white); }
.vf-app .vf-menu-access-note-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; color: #fff; background: var(--vf-admin-red); }
.vf-app .vf-menu-access-note > div { flex: 1; min-width: 0; }
.vf-app .vf-menu-access-note strong { display: block; color: #263347; font-size: 12px; }
.vf-app .vf-menu-access-note p { margin: 4px 0 0; color: #748093; font-size: 11px; line-height: 1.55; }
.vf-app .vf-menu-tree-heading > div:nth-child(2) { flex: 1; }
.vf-app .vf-menu-save-status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 8px 11px; border-radius: 99px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.vf-app .vf-menu-save-status.is-saved { color: #147541; background: #eaf8f0; }
.vf-app .vf-menu-save-status.is-saving { color: #8a5b00; background: #fff6df; }
.vf-app .vf-menu-save-status.is-error { color: #ae1c28; background: #fff0f1; }
.vf-app .vf-menu-tree-help { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; padding: 11px 13px; border-radius: 10px; color: #667286; background: #f5f7fa; font-size: 11px; line-height: 1.55; }
.vf-app .vf-menu-tree-help i { color: var(--vf-admin-red); }
.vf-app .vf-menu-tree, .vf-app .vf-menu-tree-children { margin: 0; padding: 0; list-style: none; }
.vf-app .vf-menu-tree { display: grid; gap: 8px; }
.vf-app .vf-menu-tree-item { position: relative; }
.vf-app .vf-menu-tree-row { position: relative; display: flex; align-items: center; gap: 11px; min-height: 62px; padding: 10px 12px; border: 1px solid #e3e7ed; border-radius: 12px; background: #fff; box-shadow: 0 3px 13px rgba(28, 39, 56, .035); transition: border-color .15s ease, background-color .15s ease, opacity .15s ease, transform .15s ease; }
.vf-app .vf-menu-tree-item.is-dragging > .vf-menu-tree-row { opacity: .42; border-style: dashed; }
.vf-app .vf-menu-tree-row.is-drop-before::before, .vf-app .vf-menu-tree-row.is-drop-after::after { content: ''; position: absolute; left: 8px; right: 8px; height: 3px; border-radius: 99px; background: var(--vf-admin-red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vf-admin-red) 12%, transparent); }
.vf-app .vf-menu-tree-row.is-drop-before::before { top: -6px; }
.vf-app .vf-menu-tree-row.is-drop-after::after { bottom: -6px; }
.vf-app .vf-menu-tree-row.is-drop-child { border-color: var(--vf-admin-red); background: color-mix(in srgb, var(--vf-admin-red) 5%, white); transform: translateX(4px); }
.vf-app .vf-menu-drag-handle { display: grid; place-items: center; align-self: stretch; flex: 0 0 24px; color: #aab1bd; cursor: grab; }
.vf-app .vf-menu-tree-item:active > .vf-menu-tree-row .vf-menu-drag-handle { cursor: grabbing; }
.vf-app .vf-menu-tree-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; color: var(--vf-admin-red); background: color-mix(in srgb, var(--vf-admin-red) 7%, white); font-size: 13px; }
.vf-app .vf-menu-tree-copy { display: flex; flex: 1 1 230px; min-width: 120px; flex-direction: column; gap: 4px; }
.vf-app .vf-menu-tree-copy strong { color: #2b374a; font-size: 12px; font-weight: 750; }
.vf-app .vf-menu-tree-copy > span { color: #8a94a3; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; overflow-wrap: anywhere; }
.vf-app .vf-menu-child-count { display: inline-flex; align-items: center; gap: 6px; color: #6d7889; font-size: 10px; font-weight: 650; white-space: nowrap; }
.vf-app .vf-menu-tree-actions { display: flex; align-items: center; gap: 7px; }
.vf-app .vf-menu-tree-actions form { margin: 0; }
.vf-app .vf-menu-tree-actions .btn { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.vf-app .vf-menu-tree-children { display: grid; gap: 8px; min-height: 6px; margin: 8px 0 0 31px; padding-left: 24px; border-left: 1px dashed #d8dde5; }
.vf-app .vf-menu-tree-children:empty { min-height: 0; margin-top: 0; }
.vf-app .vf-menu-tree-empty { display: grid; place-items: center; min-height: 180px; color: #98a1af; text-align: center; }
.vf-app .vf-menu-tree-empty i { font-size: 25px; color: #c1c7d0; }
.vf-app .vf-menu-tree-empty p { margin: 9px 0 0; font-size: 12px; }
.vf-app .vf-settings-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); align-items: start; gap: 24px; }
.vf-app .vf-settings-nav { position: sticky; top: 105px; padding: 18px 12px; background: #fff; border: 1px solid #e8ecf1; border-radius: 17px; box-shadow: 0 4px 24px #29344b04; }
.vf-app .vf-settings-nav > p { margin: 3px 10px 17px; font-size: 10px; font-weight: 750; letter-spacing: 1.25px; color: #929ba9; }
.vf-app .vf-settings-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 11px; border-radius: 10px; font-size: 12px; font-weight: 650; color: #546175; }
.vf-app .vf-settings-nav a span { display: flex; align-items: center; gap: 11px; }
.vf-app .vf-settings-nav a span i { width: 15px; text-align: center; color: #a0a8b5; }
.vf-app .vf-settings-nav a > i { font-size: 9px; opacity: .45; }
.vf-app .vf-settings-nav a:hover, .vf-app .vf-settings-nav a:focus-visible { color: var(--vf-admin-red); background: color-mix(in srgb, var(--vf-admin-red) 7%, white); }
.vf-app .vf-settings-nav a:hover span i { color: var(--vf-admin-red); }
.vf-app .vf-settings-nav-note { margin: 19px 6px 2px; padding: 16px; border-radius: 12px; background: #f7f8fa; }
.vf-app .vf-settings-nav-note > i { color: var(--vf-admin-red); }
.vf-app .vf-settings-nav-note p { margin: 10px 0 0; font-size: 11px; line-height: 1.7; color: #7b8594; }
.vf-app .vf-settings-form { min-width: 0; }
.vf-app .vf-settings-section { scroll-margin-top: 110px; }
.vf-app .vf-settings-section small { display: block; margin-top: 7px; font-size: 11px; line-height: 1.7; }
.vf-app .vf-color-control { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 9px; align-items: center; }
.vf-app .vf-color-picker { width: 54px; height: 43px; padding: 4px; border: 1px solid #dce2eb; border-radius: 8px; background: #fff; cursor: pointer; }
.vf-app .vf-color-picker::-webkit-color-swatch-wrapper { padding: 0; }
.vf-app .vf-color-picker::-webkit-color-swatch { border: 0; border-radius: 5px; }
.vf-app .vf-color-picker::-moz-color-swatch { border: 0; border-radius: 5px; }
.vf-app .vf-color-value { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vf-app .vf-theme-preview {
    --preview-primary: var(--vf-primary, #d92028);
    --preview-primary-dark: var(--vf-primary-dark, #b71c1c);
    --preview-workspace: var(--vf-workspace-bg, #0c1629);
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 210px;
    margin-top: 9px;
    overflow: hidden;
    border: 1px solid #e1e6ee;
    border-radius: 15px;
    background: var(--preview-workspace);
    box-shadow: 0 12px 35px -25px #1d293d66;
}
.vf-app .vf-theme-preview-sidebar { display: flex; flex-direction: column; gap: 11px; padding: 25px 17px; background: linear-gradient(160deg, var(--preview-primary), var(--preview-primary-dark)); }
.vf-app .vf-theme-preview-sidebar::before { content: ''; width: 55px; height: 18px; margin-bottom: 11px; border-radius: 5px; background: #fff; opacity: .95; }
.vf-app .vf-theme-preview-sidebar span { width: 100%; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .34); }
.vf-app .vf-theme-preview-sidebar span:nth-child(2) { width: 76%; }
.vf-app .vf-theme-preview-sidebar span:nth-child(3) { width: 88%; }
.vf-app .vf-theme-preview-workspace {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 18px;
    background-color: var(--preview-workspace);
    background-image:
        radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--preview-primary) 23%, transparent), transparent 34%),
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: auto, 24px 24px, 24px 24px;
}
.vf-app .vf-theme-preview-topbar { height: 31px; border-radius: 7px; background: linear-gradient(90deg, var(--preview-primary), var(--preview-primary-dark)); }
.vf-app .vf-theme-preview-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex: 1; padding: 22px; border-radius: 11px; background: #fff; box-shadow: 0 7px 20px rgba(2, 8, 20, .15); }
.vf-app .vf-theme-preview-card span { color: #364256; font-size: 13px; font-weight: 750; }
.vf-app .vf-theme-preview-card button { padding: 10px 15px; border: 0; border-radius: 7px; background: var(--preview-primary); color: #fff; font-size: 10px; font-weight: 800; pointer-events: none; }
.vf-app .vf-theme-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; }
.vf-app .vf-theme-actions p { display: flex; align-items: center; gap: 8px; margin: 0; color: #7b8594; font-size: 11px; line-height: 1.6; }
.vf-app .vf-theme-actions p i { color: var(--vf-admin-red); }
.vf-app .logo-preview-box { display: flex; align-items: center; justify-content: center; min-height: 125px; padding: 20px; border: 1px dashed #d9dee7; border-radius: 12px; background: #f8fafc; }
.vf-app .logo-preview-box img { max-width: 100%; }
.vf-app .logo-preview-box-dark { background: var(--vf-primary-dark, #ac1922); border-color: var(--vf-primary-dark, #ac1922); }
.vf-app .logo-preview-box-dark .text-secondary { color: #ffffffcf !important; }
.vf-app .vf-settings-savebar { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 17px 20px; background: #fff; border: 1px solid #e8ecf1; border-radius: 14px; }
.vf-app .vf-settings-savebar > span { margin-right: auto; color: #7b8594; font-size: 12px; }
.vf-app .vf-profile-layout { display: grid; grid-template-columns: minmax(240px, 310px) minmax(0, 1fr); align-items: start; gap: 24px; }
.vf-app .vf-profile-summary { overflow: hidden; }
.vf-app .vf-profile-cover { position: relative; display: flex; align-items: flex-start; justify-content: space-between; min-height: 136px; padding: 22px; color: white; background: #c91e29; overflow: hidden; }
.vf-app .vf-profile-cover::after { content: ''; position: absolute; width: 170px; height: 170px; right: -55px; top: -40px; border: 24px solid #ffffff0b; border-radius: 50%; }
.vf-app .vf-profile-cover span { max-width: 125px; font-size: 9px; line-height: 1.8; font-weight: 700; letter-spacing: 1.7px; opacity: .8; }
.vf-app .vf-profile-cover i { font-size: 56px; opacity: .18; transform: rotate(-12deg); }
.vf-app .vf-profile-summary > .card-body { padding: 0 24px 24px; }
.vf-app .vf-profile-avatar { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin-top: -35px; margin-bottom: 18px; border: 5px solid #fff; border-radius: 22px; background: #fff1f2; color: #c91e29; font-size: 25px; font-weight: 800; box-shadow: 0 5px 15px #59202a08; }
.vf-app .vf-profile-summary h2 { margin: 0 0 7px; font-size: 21px; font-weight: 750; letter-spacing: -.6px; overflow-wrap: anywhere; }
.vf-app .vf-profile-email { color: #7b8594; font-size: 12px; overflow-wrap: anywhere; }
.vf-app .vf-profile-details { margin: 24px 0 0; padding-top: 7px; border-top: 1px solid #edf0f4; }
.vf-app .vf-profile-details > div { padding: 13px 0; border-bottom: 1px solid #edf0f4; }
.vf-app .vf-profile-details dt { display: flex; gap: 8px; align-items: center; color: #8b94a3; font-size: 10px; font-weight: 500; margin-bottom: 5px; }
.vf-app .vf-profile-details dd { margin: 0; font-size: 12px; font-weight: 600; color: #495669; overflow-wrap: anywhere; }
.vf-app .vf-profile-about { margin-top: 22px; }
.vf-app .vf-profile-about h3 { font-size: 12px; }
.vf-app .vf-profile-about p { font-size: 12px; line-height: 1.7; color: #7b8594; overflow-wrap: anywhere; }
.vf-app .vf-profile-return { display: inline-flex; align-items: center; margin-top: 22px; color: #c91e29; font-size: 12px; font-weight: 650; }
.vf-app .vf-form-section-title { display: flex; align-items: center; gap: 9px; margin: 0 0 21px; color: #354257; font-size: 13px; font-weight: 700; }
.vf-app .vf-form-section-title span { display: grid; place-items: center; width: 26px; height: 26px; color: #a1a9b6; background: #f3f5f8; border-radius: 8px; font-size: 10px; }
.vf-app .vf-legacy-page .card { overflow: hidden; }
.vf-app .vf-legacy-page .bg-gradient-primary { background: #d92028 !important; }
.vf-app .vf-legacy-page .card-header h6 { color: #263347; }
.vf-app .vf-legacy-immersive { background: #f3f5f8 !important; border: 1px solid #e8ecf1; padding: 24px; }
.vf-app .vf-legacy-immersive .main-content { margin: 0 !important; }
.vf-app .vf-legacy-immersive .transform-scale-md-7 { transform: none !important; }
.vf-app .vf-legacy-auth .page-header { background-image: none !important; background-color: #f6f7fb; }
.vf-app .vf-legacy-auth .page-header > .mask { background: #c91e29 !important; opacity: 1 !important; }
.vf-app .vf-legacy-auth .card-plain { background: white; padding: 22px; border: 1px solid #e8ecf1; border-radius: 20px; }
@media (max-width: 1100px) {
    .vf-app .vf-settings-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 18px; }
    .vf-app .vf-profile-layout { grid-template-columns: minmax(210px, 260px) minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 767px) {
    .vf-app .vf-settings-layout, .vf-app .vf-profile-layout { grid-template-columns: 1fr; }
    .vf-app .vf-settings-nav { position: static; display: grid; grid-template-columns: 1fr 1fr; padding: 9px; }
    .vf-app .vf-settings-nav > p, .vf-app .vf-settings-nav-note { display: none; }
    .vf-app .vf-settings-nav a { padding: 11px 8px; font-size: 11px; }
    .vf-app .vf-admin-card-heading { padding: 17px 18px; }
    .vf-app .vf-settings-savebar { flex-wrap: wrap; justify-content: flex-end; }
    .vf-app .vf-settings-savebar > span { flex: 0 0 100%; }
    .vf-app .vf-theme-preview { grid-template-columns: 75px minmax(0, 1fr); min-height: 180px; }
    .vf-app .vf-theme-preview-sidebar { padding: 20px 12px; }
    .vf-app .vf-theme-preview-card { align-items: flex-start; flex-direction: column; padding: 17px; }
    .vf-app .vf-theme-actions { align-items: flex-start; flex-direction: column; }
    .vf-app .vf-profile-cover { min-height: 113px; }
    .vf-app .vf-legacy-immersive { padding: 12px; margin-left: 12px !important; margin-right: 12px !important; }
    .vf-app .vf-menu-access-note { align-items: flex-start; flex-wrap: wrap; }
    .vf-app .vf-menu-access-note > .btn { width: 100%; }
    .vf-app .vf-menu-tree-heading { align-items: flex-start; flex-wrap: wrap; }
    .vf-app .vf-menu-save-status { margin-left: 53px; }
    .vf-app .vf-menu-tree-row { flex-wrap: wrap; }
    .vf-app .vf-menu-tree-copy { flex: 1 1 calc(100% - 95px); }
    .vf-app .vf-menu-child-count { margin-left: 35px; }
    .vf-app .vf-menu-tree-actions { margin-left: auto; }
    .vf-app .vf-menu-tree-actions .btn span { display: none; }
    .vf-app .vf-menu-tree-children { margin-left: 13px; padding-left: 13px; }
}
