/*
 * eFile professional theme
 * ------------------------------------------------------------------
 * A visual refresh layered on top of the original template
 * (styles.css). It only changes colors, typography, spacing and
 * corners: every element keeps its original position, so menus,
 * sidebar, top bar and page layouts stay exactly where users expect.
 *
 * Brand colors come from Admin > Branding & Setup (set in
 * resources/views/partials/brand-head.blade.php):
 *   --brand      exact brand color: bars, highlights, soft backgrounds
 *   --brand-ink  same hue, darkened if needed for readable text/buttons
 */

:root {
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --subtle: #94a3b8;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --bg: #eef2f7;
    --side-bg: color-mix(in srgb, var(--brand-ink) 28%, #0b1324);
    --side-bg-2: color-mix(in srgb, var(--brand-ink) 22%, #070d1a);
    --side-text: rgba(255, 255, 255, .88);
    --side-muted: rgba(255, 255, 255, .62);
    --side-hover: rgba(255, 255, 255, .09);
    --surface: #ffffff;
    --hover: #f1f5f9;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
    /* The template's own accent (bright violet #4336FB) follows the brand */
    --primary-color: var(--brand-ink);
    --brand-soft: color-mix(in srgb, var(--brand) 10%, #ffffff);
    --brand-soft-2: color-mix(in srgb, var(--brand) 18%, #ffffff);
}

/* ---------- Typography ------------------------------------------- */

body,
h1, h2, h3, h4, h5, h6,
p, .btn, input, select, textarea, label,
.metismenu li a, .user-name, .breadcrumbs li a, .breadcrumbs li span,
.header-title, .page-title, .dropdown-menu, .modal-title, table {
    font-family: var(--font);
}

body {
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .header-title {
    color: var(--ink);
    letter-spacing: -0.01em;
}

a { color: var(--brand-ink); }
a:hover { color: var(--brand-dark); }

/* ---------- Sidebar (same width & position, brand-coloured) ------- */

.sidebar-menu {
    background: var(--side-bg);
    border-right: none;
    box-shadow: 4px 0 18px rgba(15, 23, 42, .12);
}

.sidebar-header {
    background: var(--side-bg-2);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-brand-text { color: #fff; }
.sidebar-brand-text small { color: var(--side-muted); opacity: 1; }

.main-menu { padding: 16px 12px 0; }

.metismenu > li > a {
    padding: 12px 16px !important;
    margin: 3px 0;
    border-radius: var(--radius);
}

.metismenu li a {
    color: var(--side-text);
    font-size: 15px;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
}

.metismenu li a i {
    color: color-mix(in srgb, var(--brand) 55%, #ffffff);
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.metismenu li a:after {
    color: var(--side-muted);
    font-size: 17px;
    top: 11px;
}

.metismenu > li:hover > a,
.metismenu li:hover > a {
    color: #fff;
    background: var(--side-hover);
}

.metismenu li:hover > a i { color: #fff; }

/* Active page: solid brand colour, impossible to miss */
.metismenu > li.active > a {
    color: #fff;
    background: var(--brand-ink);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--brand-ink) 45%, transparent);
    font-weight: 600;
}

.metismenu li.active > a i,
.metismenu li.active > a:after { color: #fff; }

/* Sub-menu */
.metismenu li ul {
    padding: 4px 0;
    margin: 4px 0 8px 22px;
    border-left: 2px solid rgba(255, 255, 255, .14);
}

.metismenu li li a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--side-muted);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.metismenu li li:hover > a {
    background: var(--side-hover);
    color: #fff;
}

.metismenu li li.active > a {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-weight: 600;
    box-shadow: inset 3px 0 0 #fff;
    margin-left: -2px;
}

.metismenu li li a b {
    color: #fff;
    background: rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: 0 7px;
    font-size: 12px;
    margin-left: 4px;
}

.slimScrollBar {
    background: #fff !important;
    opacity: .25 !important;
}

/* ---------- Top bar ------------------------------------------------ */

.main-content { background: var(--bg); }

.header-area {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.nav-btn span { background: var(--muted); box-shadow: none; }

.notification-area li { color: var(--muted); }
.notification-area li:hover { color: var(--ink); }
.notification-area li i > span {
    background: var(--brand-ink);
    color: #fff;
}

.page-title-area {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.page-title-area:before {
    background: var(--brand-ink);
    width: 4px;
    height: 32px;
    border-radius: 0 4px 4px 0;
}

.breadcrumbs li a,
.breadcrumbs li span { font-size: 13.5px; }
.breadcrumbs li a { color: var(--brand-ink); font-weight: 500; }
.breadcrumbs li a:before { color: var(--subtle); }
.breadcrumbs li span { color: var(--muted); }

/* User menu: same place & block as the original, in the brand colour */
.user-profile {
    background: linear-gradient(to right, var(--brand-ink), var(--brand-dark));
}

.user-profile img.avatar {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}

.user-name {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.user-name i { color: rgba(255, 255, 255, .85); font-size: 16px; }

.notification-area .dropdown-menu,
.user-profile .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 6px;
    min-width: 220px;
}

.notification-area .dropdown-menu.show,
.user-profile .dropdown-menu.show { box-shadow: var(--shadow-md); }

.user-profile .dropdown-menu a {
    padding: 9px 14px;
    border-radius: 8px;
    color: var(--text);
    font-weight: 500;
}

.user-profile .dropdown-menu a:hover {
    background: var(--brand-soft);
    color: var(--brand-ink);
}

/* ---------- Cards -------------------------------------------------- */

.card {
    border: 1px solid var(--line);
    border-top: 3px solid var(--brand-ink);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

.card:hover { box-shadow: 0 2px 8px rgba(15, 23, 42, .06); }

.header-title {
    font-size: 17px;
    font-weight: 600;
    text-transform: none;
}

/* Coloured KPI cards on the dashboards: keep colours, refine shape */
.card.text-white {
    border: none;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .10);
}

.card.text-white .card-footer {
    background: rgba(0, 0, 0, .08);
    border-top: none;
}

/* ---------- Tables (DataTables) ----------------------------------- */

.datatable-dark thead,
.datatable-primary thead,
table.dataTable thead {
    background: var(--brand-ink);
    color: #fff;
}

table.dataTable thead th,
table.dataTable thead td {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    border-bottom: none !important;
    padding-top: 13px;
    padding-bottom: 13px;
}

.table thead th {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

table.dataTable thead th:first-child { border-top-left-radius: 8px; }
table.dataTable thead th:last-child { border-top-right-radius: 8px; }

table.dataTable tbody tr:nth-child(even) > td { background: #f8fafc; }

table.dataTable tbody td,
.table td {
    color: var(--text);
    font-size: 13.5px;
    vertical-align: middle;
}

table tr th,
table tr td { border-top: 1px solid var(--line) !important; }

table.dataTable tbody tr:hover > td { background: var(--brand-soft); }

table.dataTable.no-footer { border-bottom: 1px solid var(--line) !important; }

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info { color: var(--muted); font-size: 13px; }

.dataTables_wrapper .dataTables_filter input,
div.dataTables_wrapper div.dataTables_length select {
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 6px 10px;
    height: auto;
}

.dataTables_wrapper .dataTables_filter input:focus,
div.dataTables_wrapper div.dataTables_length select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft-2);
}

.dataTables_wrapper .dataTables_paginate .paginate_button { margin-top: 16px; }

.dataTables_paginate .page-link,
.datatable-dark .dataTables_paginate .page-link,
.datatable-primary .dataTables_paginate .page-link {
    color: var(--text);
    border: 1px solid var(--line);
    margin-left: 4px;
    border-radius: 8px !important;
    font-size: 13px;
}

.dataTables_paginate .page-item.active .page-link,
.dataTables_paginate .page-item .page-link:hover,
.datatable-dark .dataTables_paginate .page-item.active .page-link,
.datatable-dark .dataTables_paginate .page-item .page-link:hover,
.datatable-primary .dataTables_paginate .page-item.active .page-link,
.datatable-primary .dataTables_paginate .page-item .page-link:hover {
    background-color: var(--brand-ink);
    border-color: var(--brand-ink);
    color: #fff;
}

.dataTables_paginate .page-item.disabled .page-link,
.datatable-dark .dataTables_paginate .page-item.disabled .page-link {
    color: var(--subtle);
    background: var(--surface);
    border-color: var(--line);
}

/* ---------- Buttons ------------------------------------------------ */

.btn {
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0;
}

.btn-primary,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--brand-ink);
    border-color: var(--brand-ink);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
}

.btn:focus,
.btn.focus { box-shadow: 0 0 0 3px var(--brand-soft-2); }

.btn-outline-primary { color: var(--brand-ink); border-color: var(--brand-ink); }
.btn-outline-primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); }

/* ---------- Forms -------------------------------------------------- */

.form-control,
.custom-select,
.bootstrap-select > .dropdown-toggle {
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
}

.form-control:focus,
.custom-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft-2);
}

.form-control::placeholder { color: var(--subtle); }

label,
.col-form-label {
    color: var(--ink);
    font-weight: 600;
    font-size: 13px;
}

/* ---------- Badges, alerts, modals --------------------------------- */

.badge { border-radius: 6px; font-weight: 600; padding: .35em .6em; }

.alert { border-radius: var(--radius); }

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
}

.modal-header { border-bottom: 1px solid var(--line); }
.modal-footer { border-top: 1px solid var(--line); }

.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* ---------- Footer ------------------------------------------------- */

.footer-area {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 16px 0 14px;
}

.footer-area p { color: var(--muted); font-size: 13px; }

/* Headings on coloured backgrounds keep the surrounding (white) text colour */
.text-white :is(h1, h2, h3, h4, h5, h6),
[class*="bg-primary"] :is(h1, h2, h3, h4, h5, h6),
[class*="bg-dark"] :is(h1, h2, h3, h4, h5, h6),
[class*="bg-success"] :is(h1, h2, h3, h4, h5, h6),
[class*="bg-info"] :is(h1, h2, h3, h4, h5, h6),
[class*="bg-danger"] :is(h1, h2, h3, h4, h5, h6) {
    color: inherit;
}

/* Row action icons (change password / edit / delete) at a calmer size */
table.dataTable td a .fa-2x,
table.dataTable td button .fa-2x {
    font-size: 19px;
    vertical-align: middle;
}

table.dataTable td a.text-dark .fa-2x { color: var(--muted); }
table.dataTable td a:hover .fa-2x { opacity: .8; }

/* ---------- DataTables sort icons: one set only ---------------------
 * Two DataTables stylesheets are loaded (classic + Bootstrap 4); the classic
 * one draws arrow images, Bootstrap 4 draws ↑↓ characters. Keep the
 * Bootstrap 4 arrows (white, readable on the coloured header), drop images. */
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background-image: none !important;
    padding-right: 28px !important;
    position: relative;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    color: #fff;
    opacity: .35;
    font-size: 13px;
}

table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:after { opacity: 1; }

table.dataTable thead th { letter-spacing: .02em; }

/* ---------- Buttons: richer, consistent colours ---------------------- */

.btn {
    padding: 8px 18px;
    border-width: 1px;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.btn:not(:disabled):not(.disabled):hover { transform: translateY(-1px); }
.btn-sm { padding: 5px 12px; font-size: 13px; }

.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-info { box-shadow: 0 2px 6px rgba(15, 23, 42, .12); }

/* Secondary = main actions in forms (Create File, Update File, Update Note…) */
.btn-secondary,
.btn-secondary:not(:disabled):not(.disabled):active {
    background-color: var(--brand-ink);
    border-color: var(--brand-ink);
    color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

/* Buttons inside tables (Details, Open File…): soft pill, solid on hover */
table.dataTable td .btn-secondary,
table.dataTable td .btn-primary {
    background: var(--brand-soft);
    border-color: var(--brand-soft-2);
    color: var(--brand-ink);
    box-shadow: none;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

table.dataTable td .btn-secondary:hover,
table.dataTable td .btn-primary:hover {
    background: var(--brand-ink);
    border-color: var(--brand-ink);
    color: #fff;
}

/* Modal Close / Cancel: neutral, never competes with the real action */
.btn-secondary[data-dismiss="modal"],
.btn-default {
    background: #fff;
    border-color: var(--line-strong);
    color: var(--text);
    box-shadow: none;
}

.btn-secondary[data-dismiss="modal"]:hover,
.btn-default:hover {
    background: var(--hover);
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn-success { background-color: #16a34a; border-color: #16a34a; }
.btn-success:hover { background-color: #15803d; border-color: #15803d; }

.btn-danger { background-color: #dc2626; border-color: #dc2626; }
.btn-danger:hover { background-color: #b91c1c; border-color: #b91c1c; }

.btn-warning { background-color: #f59e0b; border-color: #f59e0b; color: #1f2937; }
.btn-warning:hover { background-color: #d97706; border-color: #d97706; color: #fff; }

.btn-info { background-color: #0891b2; border-color: #0891b2; color: #fff; }
.btn-info:hover { background-color: #0e7490; border-color: #0e7490; color: #fff; }

/* Status badges in brand colour instead of default Bootstrap blue */
.badge-primary { background-color: var(--brand-ink); }
.badge-success { background-color: #16a34a; }
.badge-danger { background-color: #dc2626; }
.badge-warning { background-color: #f59e0b; color: #1f2937; }
.badge-info { background-color: #0891b2; }

/* Row buttons in tables share one soft-pill style; colour keeps its meaning */
table.dataTable td .btn-danger,
table.dataTable td .btn-success,
table.dataTable td .btn-warning,
table.dataTable td .btn-info {
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: none;
    white-space: nowrap;
}

table.dataTable td .btn-danger  { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
table.dataTable td .btn-success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
table.dataTable td .btn-warning { background: #fffbeb; border-color: #fde68a; color: #b45309; }
table.dataTable td .btn-info    { background: #ecfeff; border-color: #a5f3fc; color: #0e7490; }

table.dataTable td .btn-danger:hover  { background: #dc2626; border-color: #dc2626; color: #fff; }
table.dataTable td .btn-success:hover { background: #16a34a; border-color: #16a34a; color: #fff; }
table.dataTable td .btn-warning:hover { background: #f59e0b; border-color: #f59e0b; color: #fff; }
table.dataTable td .btn-info:hover    { background: #0891b2; border-color: #0891b2; color: #fff; }

/* ---------- "Processing…" indicator --------------------------------
 * Both DataTables stylesheets position it differently (200px vs 100% wide,
 * plus a fading gradient), so the text landed off-centre. One centred pill
 * with a spinner, over the middle of the table. DataTables toggles its
 * display, so only position/look are set here. */
div.dataTables_wrapper { position: relative; }

div.dataTables_wrapper div.dataTables_processing,
.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 12px 22px 12px 48px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    z-index: 10;
}

div.dataTables_wrapper div.dataTables_processing::before,
.dataTables_wrapper .dataTables_processing::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2.5px solid var(--brand-soft-2);
    border-top-color: var(--brand-ink);
    border-radius: 50%;
    animation: efile-spin .8s linear infinite;
}

/* Bootstrap 4 DataTables adds its own animated dots; the spinner replaces them */
div.dataTables_processing > div:last-child { display: none; }

@keyframes efile-spin { to { transform: rotate(360deg); } }

/* ---------- Notification dropdown (bell) --------------------------- */

.notification-area li > i { color: var(--subtle); text-shadow: none; }
.notification-area li:hover > i,
.notification-area .dropdown.show > i { color: var(--brand-ink); }

.notification-area .notify-box {
    width: 370px;
    padding: 0;
    overflow: hidden;
}

.notify-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    color: var(--ink);
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid var(--brand-ink);
}

.notify-title a {
    float: none;
    flex: none;
    color: var(--brand-ink);
    background: var(--brand-soft);
    border: 1px solid var(--brand-soft-2);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
    white-space: nowrap;
}

.notify-title a:hover {
    background: var(--brand-ink);
    border-color: var(--brand-ink);
    color: #fff;
}

/* ---------- Quick start (dashboards) & User Guide ------------------ */

.quick-start-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.quick-start-head .header-title i { color: var(--brand-ink); margin-right: 6px; }

.quick-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.quick-step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 18px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    color: var(--ink);
    text-decoration: none !important;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.quick-step:hover {
    border-color: var(--brand-ink);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-ink) 18%, transparent);
    transform: translateY(-2px);
    color: var(--ink);
}

.quick-step > i {
    font-size: 22px;
    color: var(--brand-ink);
    background: var(--brand-soft);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.quick-step strong { font-size: 15px; font-weight: 600; }
.quick-step small { color: var(--muted); font-size: 12.5px; }

.quick-num {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Guide page */
.guide-hero .card-body { display: flex; gap: 18px; align-items: center; }
.guide-hero p { color: var(--text); font-size: 14.5px; }

.guide-hero-icon {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--brand-ink);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.guide-flow-step {
    flex: 1 1 150px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--brand-ink);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--brand-ink) 30%, transparent);
}

.guide-flow-step span {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-flow-arrow { color: var(--subtle); }

.guide-step {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.guide-step:first-of-type { border-top: none; padding-top: 0; }

.guide-num {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-ink);
    border: 2px solid var(--brand-ink);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-body h5 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.guide-body p, .guide-body li { font-size: 14px; color: var(--text); line-height: 1.6; }
.guide-body p { margin-bottom: 8px; }

.guide-path {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 13px !important;
    color: var(--muted) !important;
}

.guide-path i { color: var(--brand-ink); margin-right: 4px; }

.guide-btn {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--brand-ink);
    border: 1px solid var(--brand-soft-2);
    border-radius: 6px;
    padding: 0 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.guide-list { padding-left: 18px; margin-bottom: 8px; list-style: disc; }
.guide-list li { margin-bottom: 4px; }
.guide-list i { color: var(--brand-ink); }

.guide-tip {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 8px 12px;
    color: #92400e !important;
}

.guide-tip i { color: #d97706; margin-right: 6px; }

.guide-table td { border-top: 1px solid var(--line) !important; padding: 10px 8px; font-size: 13.5px; }
.guide-table tr:first-child td { border-top: none !important; }
.guide-table td:first-child { white-space: nowrap; font-weight: 600; color: var(--ink); width: 1%; }
.guide-table td:first-child i { color: var(--brand-ink); width: 20px; text-align: center; margin-right: 6px; }

.guide-tips { list-style: none; padding: 0; margin: 0; }
.guide-tips li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; }
.guide-tips li:first-child { border-top: none; padding-top: 0; }
.guide-tips li i { flex: none; color: var(--brand-ink); width: 18px; text-align: center; margin-top: 3px; }
.quick-step strong, .quick-step small { font-family: var(--font); }
