/*--------------------------*/
/*---- css-03-admin.css ----*/
/*--------------------------*/

/* Admin area (gestionale). Theme on top of Bootstrap 4 (css/bootstrap.min.css,
   loaded first): standard Bootstrap classes get the Figma look inside .admin-body.
   Sections:
   1. Variables          8.  Buttons            15. Pagination
   2. Global             9.  Cards              16. Settings
   3. Layout             10. Forms              17. Form pages
   4. Sidebar            11. Table card         18. DataTables
   5. Topbar             12. Badges             19. Toast
   6. Page header        13. Priority           20. Media queries
   7. Icons              14. Avatar */

/*----------------------*/
/*---- 1. VARIABLES ----*/
/*----------------------*/

:root {
    --admin-text-primary: #1c1f26;
    --admin-text-menu: #2a2d35;
    --admin-text-secondary: #64748b;
    --admin-text-description: #4b5468;
    --admin-text-label: #8a8f9c;
    --admin-text-placeholder: #94a3b8;
    --admin-text-table-head: #6b7393;
    --admin-white: #ffffff;

    --admin-indigo: #4f5bd5;
    --admin-indigo-2: #6461d8;
    --admin-indigo-soft: #eef0fd;
    --admin-gradient: linear-gradient(160deg, var(--admin-indigo) 14.286%, var(--admin-indigo-2) 85.714%);

    --admin-info: #3b82c4;
    --admin-warning: #d98e1f;
    --admin-danger: #d9534f;
    --admin-success: #2f9e6e;
    --admin-neutral: #8a8f9c;
    --admin-lavender: #9a9fe0;

    --admin-border: #e5e8ee;
    --admin-border-row: rgba(28, 31, 38, 0.07);
    --admin-border-glass: rgba(255, 255, 255, 0.8);

    --admin-glass: rgba(255, 255, 255, 0.58);
    --admin-shadow-glass: 0 6px 18px 0 rgba(30, 36, 90, 0.07);
    --admin-highlight: inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    --admin-shadow-accent: 0 8px 18px -8px rgba(79, 91, 213, 0.45);
    --admin-focus-ring: 0 0 0 3px rgba(79, 91, 213, 0.18);
}

/*-------------------*/
/*---- 2. GLOBAL ----*/
/*-------------------*/

body.admin-body {
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: var(--admin-text-primary);
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(60% 50% at 20% 100%, rgba(70, 120, 210, 0.26) 0%, rgba(70, 120, 210, 0) 70%),
        radial-gradient(50% 45% at 85% 70%, rgba(108, 99, 224, 0.26) 0%, rgba(108, 99, 224, 0) 70%),
        radial-gradient(45% 40% at 100% 8%, rgba(56, 140, 220, 0.32) 0%, rgba(56, 140, 220, 0) 70%),
        radial-gradient(55% 45% at 0% 0%, rgba(79, 91, 213, 0.42) 0%, rgba(79, 91, 213, 0) 70%),
        linear-gradient(164deg, #e3e7f8 10.938%, #eef0fa 50%, #e7eaf7 89.062%);
    background-attachment: fixed;
}

.admin-body a {
    color: inherit;
    text-decoration: none;
}

/* Glass surface shared by sidebar, topbar and cards */
.admin-glass {
    position: relative;
    background: var(--admin-glass);
    border: 1px solid var(--admin-border-glass);
    border-radius: 18px;
    box-shadow: var(--admin-shadow-glass), var(--admin-highlight);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* Row with 16px gutters (Figma spacing) */
.admin-gutters {
    margin-right: -8px;
    margin-left: -8px;
}

.admin-gutters > .col,
.admin-gutters > [class*="col-"] {
    padding-right: 8px;
    padding-left: 8px;
}

/*-------------------*/
/*---- 3. LAYOUT ----*/
/*-------------------*/

.admin-shell {
    gap: 16px;
    padding: 16px;
    min-height: 100vh;
}

.admin-main {
    min-width: 0;
}

/*--------------------*/
/*---- 4. SIDEBAR ----*/
/*--------------------*/

.admin-sidebar {
    position: sticky;
    top: 16px;
    flex-shrink: 0;
    width: 248px;
    height: calc(100vh - 32px);
    min-height: 560px;
    padding: 18px 12px 14px;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.5);
}

.admin-sidebar-header {
    position: relative;
    padding: 0 6px 14px;
}

/* Cut on the right instead of scaled: when the sidebar is collapsed only the head is left */
.admin-sidebar-logo {
    display: block;
    width: 140px;
    height: 33.6px;
    object-fit: cover;
    object-position: left center;
}

/* Out of the flow, so it can slide under the logo when the sidebar is collapsed */
.admin-body .admin-sidebar-toggle {
    position: absolute;
    top: 7.8px;
    left: calc(100% - 24px);
    display: inline-flex;
    color: var(--admin-text-secondary);
}

.admin-sidebar-toggle .admin-icon {
    width: 18px;
    height: 18px;
}

.admin-sidebar-group {
    position: relative;
    padding: 14px 0 6px 12px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--admin-text-label);
}

/* Divider shown in place of the title when the sidebar is collapsed */
.admin-sidebar-group::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 6px;
    left: 6px;
    height: 1px;
    background: rgba(28, 31, 38, 0.08);
    opacity: 0;
}

/* nowrap: one column as wide as the sidebar, also when it is collapsed */
.admin-nav {
    flex-wrap: nowrap;
    gap: 4px;
}

.admin-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 10px 12px;
    overflow: hidden;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--admin-text-menu);
    transition: background-color 0.2s ease;
}

.admin-nav .nav-link:hover {
    background: rgba(79, 91, 213, 0.06);
    color: var(--admin-text-menu);
}

.admin-nav .nav-link .admin-icon {
    width: 21px;
    height: 21px;
}

.admin-nav-label {
    flex: 1 0 0;
    min-width: 0;
    white-space: nowrap;
}

.admin-nav-count {
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(28, 31, 38, 0.06);
    font-size: 11px;
    font-weight: 600;
    color: var(--admin-text-secondary);
}

.admin-nav .nav-link.active {
    background: var(--admin-gradient);
    box-shadow: var(--admin-shadow-accent);
    font-weight: 700;
    color: var(--admin-white);
}

.admin-nav .nav-link.active .admin-nav-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--admin-white);
}

.admin-sidebar-account {
    gap: 6px;
    padding: 14px 4px 0;
    border-top: 1px solid rgba(28, 31, 38, 0.08);
}

.admin-profile {
    gap: 10px;
    padding: 4px 8px;
}

.admin-profile-text {
    min-width: 0;
    white-space: nowrap;
}

.admin-profile-name {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-profile-role {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 600;
    color: var(--admin-text-label);
}

/* .btn.admin-logout: stronger than ".admin-body .btn" (Buttons section), which would centre and pad it */
.admin-body .btn.admin-logout {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    max-width: 100%;
    padding: 9px 10px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--admin-text-secondary);
}

.admin-body .admin-logout:hover {
    color: var(--admin-text-primary);
}

.admin-logout .admin-icon {
    width: 20px;
    height: 20px;
}

/*-------------------*/
/*---- 5. TOPBAR ----*/
/*-------------------*/

.admin-topbar {
    gap: 12px;
    min-height: 60px;
    padding: 10px 12px 10px 20px;
}

.admin-breadcrumb {
    min-width: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text-secondary);
    white-space: nowrap;
}

.admin-breadcrumb strong {
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-body .admin-breadcrumb a:hover {
    color: var(--admin-text-primary);
}

/* Back link of the page, left of the breadcrumb, divided by a vertical bar */
.admin-topbar-back {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 12px;
    border-right: 1px solid var(--admin-border);
    white-space: nowrap;
}

/* Same size as the breadcrumb, so the two texts are on one line */
.admin-body .admin-topbar-back .admin-back-link {
    font-size: 13px;
}

/*------------------------*/
/*---- 6. PAGE HEADER ----*/
/*------------------------*/

.admin-page-header {
    position: relative;
    overflow: hidden;
    gap: 16px;
    padding: 26px 28px;
    border: 1px solid rgba(79, 91, 213, 0.14);
    border-radius: 18px;
    background:
        radial-gradient(70% 140% at 100% 0%, rgba(79, 91, 213, 0.2) 0%, rgba(79, 91, 213, 0) 60%),
        linear-gradient(172deg, rgba(255, 255, 255, 0.85) 0%, rgba(241, 242, 252, 0.78) 71.429%);
    box-shadow: 0 6px 18px -10px rgba(30, 36, 90, 0.07), var(--admin-highlight);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* Decorative rings, top right */
.admin-page-header::before {
    content: "";
    position: absolute;
    top: -153px;
    right: -131px;
    width: 404px;
    height: 404px;
    background:
        url("../img/admin/ring-inner.svg") center / 260px 260px no-repeat,
        url("../img/admin/ring-middle.svg") center / 332px 332px no-repeat,
        url("../img/admin/ring-outer.svg") center / 404px 404px no-repeat;
    pointer-events: none;
}

.admin-page-header-text {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.admin-eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--admin-indigo);
}

.admin-eyebrow::before {
    content: "";
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--admin-indigo);
}

.admin-page-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--admin-text-primary);
}

.admin-page-description {
    font-size: 14px;
    font-weight: 500;
    color: var(--admin-text-description);
}

.admin-page-actions {
    position: relative;
    gap: 8px;
    flex-shrink: 0;
}

/*------------------*/
/*---- 7. ICONS ----*/
/*------------------*/

/* The icon takes the text colour (currentColor) */
.admin-icon {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.admin-icon-bell { -webkit-mask-image: url("../img/admin/icons/bell.svg"); mask-image: url("../img/admin/icons/bell.svg"); }
.admin-icon-bookmark-plus { -webkit-mask-image: url("../img/admin/icons/bookmark-plus.svg"); mask-image: url("../img/admin/icons/bookmark-plus.svg"); }
.admin-icon-chat { -webkit-mask-image: url("../img/admin/icons/chat.svg"); mask-image: url("../img/admin/icons/chat.svg"); }
.admin-icon-chevron-left { -webkit-mask-image: url("../img/admin/icons/chevron-left.svg"); mask-image: url("../img/admin/icons/chevron-left.svg"); }
.admin-icon-chevron-right { -webkit-mask-image: url("../img/admin/icons/chevron-right.svg"); mask-image: url("../img/admin/icons/chevron-right.svg"); }
.admin-icon-clock { -webkit-mask-image: url("../img/admin/icons/clock.svg"); mask-image: url("../img/admin/icons/clock.svg"); }
.admin-icon-cloud { -webkit-mask-image: url("../img/admin/icons/cloud.svg"); mask-image: url("../img/admin/icons/cloud.svg"); }
.admin-icon-eye { -webkit-mask-image: url("../img/admin/icons/eye.svg"); mask-image: url("../img/admin/icons/eye.svg"); }
.admin-icon-file-pen { -webkit-mask-image: url("../img/admin/icons/file-pen.svg"); mask-image: url("../img/admin/icons/file-pen.svg"); }
.admin-icon-headset { -webkit-mask-image: url("../img/admin/icons/headset.svg"); mask-image: url("../img/admin/icons/headset.svg"); }
.admin-icon-lock { -webkit-mask-image: url("../img/admin/icons/lock.svg"); mask-image: url("../img/admin/icons/lock.svg"); }
.admin-icon-logout { -webkit-mask-image: url("../img/admin/icons/logout.svg"); mask-image: url("../img/admin/icons/logout.svg"); }
.admin-icon-mail { -webkit-mask-image: url("../img/admin/icons/mail.svg"); mask-image: url("../img/admin/icons/mail.svg"); }
.admin-icon-pencil { -webkit-mask-image: url("../img/admin/icons/pencil.svg"); mask-image: url("../img/admin/icons/pencil.svg"); }
.admin-icon-phone { -webkit-mask-image: url("../img/admin/icons/phone.svg"); mask-image: url("../img/admin/icons/phone.svg"); }
.admin-icon-plus { -webkit-mask-image: url("../img/admin/icons/plus.svg"); mask-image: url("../img/admin/icons/plus.svg"); }
.admin-icon-receipt-euro { -webkit-mask-image: url("../img/admin/icons/receipt-euro.svg"); mask-image: url("../img/admin/icons/receipt-euro.svg"); }
.admin-icon-search { -webkit-mask-image: url("../img/admin/icons/search.svg"); mask-image: url("../img/admin/icons/search.svg"); }
.admin-icon-settings { -webkit-mask-image: url("../img/admin/icons/settings.svg"); mask-image: url("../img/admin/icons/settings.svg"); }
.admin-icon-shield-check { -webkit-mask-image: url("../img/admin/icons/shield-check.svg"); mask-image: url("../img/admin/icons/shield-check.svg"); }
.admin-icon-tag { -webkit-mask-image: url("../img/admin/icons/tag.svg"); mask-image: url("../img/admin/icons/tag.svg"); }
.admin-icon-ticket { -webkit-mask-image: url("../img/admin/icons/ticket.svg"); mask-image: url("../img/admin/icons/ticket.svg"); }
.admin-icon-trash { -webkit-mask-image: url("../img/admin/icons/trash.svg"); mask-image: url("../img/admin/icons/trash.svg"); }
.admin-icon-user { -webkit-mask-image: url("../img/admin/icons/user.svg"); mask-image: url("../img/admin/icons/user.svg"); }
.admin-icon-x { -webkit-mask-image: url("../img/admin/icons/x.svg"); mask-image: url("../img/admin/icons/x.svg"); }

/*--------------------*/
/*---- 8. BUTTONS ----*/
/*--------------------*/

/* btn-primary = Primario (indigo gradient), btn-outline-secondary = Contorno */
.admin-body .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.admin-body .btn:focus,
.admin-body .btn.focus {
    box-shadow: var(--admin-focus-ring);
}

.admin-body .btn-sm {
    padding: 5px 12px;
    font-size: 13px;
}

.admin-body .btn-primary,
.admin-body .btn-primary:hover,
.admin-body .btn-primary:focus,
.admin-body .btn-primary:not(:disabled):not(.disabled):active {
    border-color: transparent;
    background: var(--admin-gradient);
    box-shadow: var(--admin-shadow-accent);
    color: var(--admin-white);
}

.admin-body .btn-primary:hover {
    filter: brightness(1.06);
}

.admin-body .btn-outline-secondary,
.admin-body .btn-outline-secondary:focus {
    border-color: var(--admin-border);
    background: rgba(255, 255, 255, 0.85);
    color: var(--admin-text-primary);
}

.admin-body .btn-outline-secondary:hover,
.admin-body .btn-outline-secondary:not(:disabled):not(.disabled):active {
    border-color: var(--admin-border);
    background: var(--admin-white);
    color: var(--admin-text-primary);
}

.admin-body .btn-outline-danger,
.admin-body .btn-outline-danger:focus {
    border-color: #f4cfcc;
    background: rgba(253, 241, 240, 0.9);
    color: var(--admin-danger);
}

.admin-body .btn-outline-danger:hover,
.admin-body .btn-outline-danger:not(:disabled):not(.disabled):active {
    border-color: #f4cfcc;
    background: #fde7e5;
    color: var(--admin-danger);
}

.admin-body .btn-link {
    border: none;
    background: none;
}

/* Icon-only button: btn-outline-secondary = Edit, btn-outline-danger = Delete */
.admin-body .btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    flex-shrink: 0;
}

/* Filter chip */
.admin-body .btn-chip {
    height: 32px;
    padding: 0 14px;
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    color: var(--admin-text-secondary);
}

.admin-body .btn-chip:hover {
    color: var(--admin-text-primary);
}

.admin-body .btn-chip.active {
    border-color: rgba(79, 91, 213, 0.35);
    background: var(--admin-indigo-soft);
    color: var(--admin-indigo);
}

/*------------------*/
/*---- 9. CARDS ----*/
/*------------------*/

/* Bootstrap .card in glass */
.admin-body .card {
    border: 1px solid var(--admin-border-glass);
    border-radius: 18px;
    background: var(--admin-glass);
    box-shadow: var(--admin-shadow-glass), var(--admin-highlight);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.admin-body .card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.admin-card-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-card-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--admin-text-primary);
}

.admin-card-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text-secondary);
}

/* === Stat card === */

.admin-body .admin-stat-card .card-body {
    gap: 10px;
    padding: 16px 18px;
}

.admin-stat-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text-secondary);
}

.admin-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.admin-stat-icon .admin-icon {
    width: 19px;
    height: 19px;
}

.admin-stat-value {
    min-height: 1.15em;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--admin-text-primary);
    white-space: nowrap;
}

/* Icon tones */
.admin-tone-info { background: rgba(59, 130, 196, 0.13); color: var(--admin-info); }
.admin-tone-warning { background: rgba(217, 142, 31, 0.13); color: var(--admin-warning); }
.admin-tone-danger { background: rgba(217, 83, 79, 0.13); color: var(--admin-danger); }
.admin-tone-success { background: rgba(47, 158, 110, 0.13); color: var(--admin-success); }
.admin-tone-indigo { background: rgba(79, 91, 213, 0.13); color: var(--admin-indigo); }

/*-------------------*/
/*---- 10. FORMS ----*/
/*-------------------*/

/* 12px gutters between fields of a .form-row */
.admin-body .form-row {
    margin-right: -6px;
    margin-left: -6px;
}

.admin-body .form-row > .col,
.admin-body .form-row > [class*="col-"] {
    padding-right: 6px;
    padding-left: 6px;
}

.admin-body .form-group {
    margin-bottom: 14px;
}

/* Inside a card the spacing comes from the card-body gap */
.admin-body .card-body .form-group {
    margin-bottom: 0;
}

.admin-body .card-body .form-row {
    row-gap: 14px;
}

.admin-body .admin-field-group:not(:has(> :not(.d-none))) {
    display: none;
}

.admin-body .form-group label {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--admin-text-secondary);
}

.admin-body .form-control,
.admin-body .custom-select {
    height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--admin-text-primary);
}

.admin-body .form-control::placeholder {
    color: var(--admin-text-placeholder);
}

.admin-body .form-control:focus,
.admin-body .custom-select:focus {
    border-color: rgba(79, 91, 213, 0.45);
    background-color: var(--admin-white);
    box-shadow: var(--admin-focus-ring);
    color: var(--admin-text-primary);
}

.admin-body .form-control.is-invalid {
    border-color: var(--admin-danger);
    background-image: none;
}

.admin-body .form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.12);
}

.admin-body .invalid-feedback {
    font-size: 12px;
    font-weight: 600;
    color: var(--admin-danger);
}

/* Select as in Figma (no arrow); use .custom-select to keep the arrow */
.admin-body select.form-control {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Empty "Seleziona" option shown as placeholder (select with required) */
.admin-body select.form-control:invalid {
    color: var(--admin-text-placeholder);
}

.admin-body .custom-select {
    padding-right: 32px;
    background-position: right 12px center;
    cursor: pointer;
}

/* Grows with its content, like a single-line field when empty */
.admin-body textarea.form-control {
    height: auto;
    min-height: 42px;
    resize: none;
    field-sizing: content;
}

/* === Input with icon on the left === */

.admin-input-icon {
    position: relative;
    display: block;
    color: var(--admin-text-secondary);
}

.admin-input-icon > .admin-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 4;
    transform: translateY(-50%);
    pointer-events: none;
}

.admin-body .admin-input-icon .form-control {
    padding-left: 36px;
}

/* === Switch (custom-switch) === */

.admin-body .custom-switch {
    min-height: 24px;
    padding-left: 42px;
}

.admin-body .custom-switch .custom-control-label {
    min-height: 24px;
    cursor: pointer;
}

.admin-body .custom-switch .custom-control-label::before {
    top: 0;
    left: -42px;
    width: 42px;
    height: 24px;
    border: none;
    border-radius: 12px;
    background: #d5d9e4;
}

.admin-body .custom-switch .custom-control-label::after {
    top: 3px;
    left: -39px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--admin-white);
    box-shadow: 0 1px 3px rgba(26, 31, 38, 0.25);
}

.admin-body .custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background: linear-gradient(150deg, var(--admin-indigo) 0%, var(--admin-indigo-2) 100%);
}

.admin-body .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(18px);
    background: var(--admin-white);
}

.admin-body .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: var(--admin-focus-ring);
}

/* === Checkbox (custom-checkbox) === */

.admin-body .custom-checkbox {
    min-height: 18px;
}

.admin-body .custom-checkbox .custom-control-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text-secondary);
    cursor: pointer;
}

.admin-body .custom-checkbox .custom-control-label::before {
    top: 1px;
    width: 16px;
    height: 16px;
    border: 1px solid var(--admin-border);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.85);
}

.admin-body .custom-checkbox .custom-control-label::after {
    top: 1px;
    width: 16px;
    height: 16px;
}

.admin-body .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    border-color: transparent;
    background: var(--admin-gradient);
}

/* === Select2 (Bootstrap 5 theme, theme: 'bootstrap-5') like .form-control === */

.admin-body .select2-container--bootstrap-5 .select2-selection {
    min-height: 42px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--admin-text-primary);
}

.admin-body .select2-container--bootstrap-5 .select2-selection--single {
    padding-right: 36px;
    padding-left: 12px;
    background-position: right 12px center;
}

.admin-body .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    font-weight: 500;
    line-height: 1.4;
    color: var(--admin-text-primary);
}

.admin-body .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered .select2-selection__placeholder {
    font-weight: 500;
    line-height: 1.4;
    color: var(--admin-text-placeholder);
}

.admin-body .select2-container--bootstrap-5.select2-container--focus .select2-selection,
.admin-body .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: rgba(79, 91, 213, 0.45);
    background-color: var(--admin-white);
    box-shadow: var(--admin-focus-ring);
}

.admin-body .is-invalid + .select2-container--bootstrap-5 .select2-selection {
    border-color: var(--admin-danger);
}

/* Clear button (a <button> in select2 4.1): the admin x icon, no border */
.admin-body .select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear,
.admin-body .select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear:hover {
    right: 34px;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    background: var(--admin-text-label);
    -webkit-mask: url("../img/admin/icons/x.svg") center / 14px 14px no-repeat;
    mask: url("../img/admin/icons/x.svg") center / 14px 14px no-repeat;
    cursor: pointer;
}

.admin-body .select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear:hover {
    background: var(--admin-text-primary);
}

/* Dropdown, attached to the field as in the theme */
.admin-body .select2-container--bootstrap-5 .select2-dropdown {
    border-color: rgba(79, 91, 213, 0.45);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--admin-text-primary);
}

.admin-body .select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--below {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.admin-body .select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--above {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.admin-body .select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
    border-color: var(--admin-border);
    border-radius: 8px;
    font-size: 14px;
}

.admin-body .select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
    border-color: rgba(79, 91, 213, 0.45);
    box-shadow: var(--admin-focus-ring);
}

.admin-body .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--highlighted {
    background-color: rgba(79, 91, 213, 0.08);
    color: var(--admin-text-primary);
}

.admin-body .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.admin-body .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    background-color: var(--admin-indigo-soft);
    color: var(--admin-indigo);
}

/*------------------------*/
/*---- 11. TABLE CARD ----*/
/*------------------------*/

.admin-body .admin-table-card {
    overflow: hidden;
    border-color: var(--admin-border);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px -12px rgba(30, 36, 90, 0.1);
}

/* === Filters === */

.admin-filters {
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--admin-border-row);
}

/* Title + button bar of a table inside a form (rows of quotes/invoices):
   same side padding as .card-body, so it lines up with the other cards */
.admin-filters.admin-filters-heading {
    padding-right: 20px;
    padding-left: 20px;
}

.admin-search {
    width: 340px;
    max-width: 100%;
}

.admin-body .admin-search .form-control {
    height: 38px;
}

.admin-search .form-control::placeholder {
    color: var(--admin-text-secondary);
}

/* Select (select2) next to the search, same height */
.admin-filter-select {
    width: 200px;
    max-width: 100%;
}

.admin-body .admin-filter-select .select2-container--bootstrap-5 .select2-selection {
    min-height: 38px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.admin-chips {
    gap: 10px;
}

/* === Table (Bootstrap .table) === */

.admin-body .admin-table-card .table {
    margin-bottom: 0;
    color: var(--admin-text-secondary);
}

.admin-table-card .table th,
.admin-table-card .table td {
    padding: 11px 14px;
    vertical-align: middle;
    border-top: 1px solid var(--admin-border-row);
    white-space: nowrap;
}

.admin-table-card .table thead th {
    overflow: hidden;
    text-overflow: ellipsis;
    border-top: 0;
    border-bottom: 1px solid var(--admin-border-row);
    background: #f7f8fa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--admin-text-table-head);
}

.admin-table-card .table td {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 500;
}

.admin-table-card .table-hover tbody tr:hover {
    background: rgba(79, 91, 213, 0.025);
    color: var(--admin-text-secondary);
}

/* Fixed layout with Figma column widths (static tables) */
.admin-table-scroll {
    overflow-x: auto;
}

.admin-table-fixed {
    min-width: 1040px;
    table-layout: fixed;
}

/* Cell text */
.admin-table-card .table td.admin-cell-code {
    font-size: 13px;
    font-weight: 600;
}

.admin-table-card .table td.admin-cell-strong {
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-table-card .table td.admin-cell-primary {
    color: var(--admin-text-primary);
}

/* Avatar or priority bars followed by text */
.admin-cell-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 13px;
    color: var(--admin-text-primary);
}

.admin-cell-inline > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-cell-inline-strong {
    font-size: 14px;
    font-weight: 600;
}

.admin-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

/* "No results" row */
.admin-table-card .table-hover tbody tr.admin-table-empty:hover {
    background: transparent;
}

.admin-table-card .table .admin-table-empty td {
    padding: 40px 14px;
    text-align: center;
}

/* Column widths (from Figma) */
.admin-col-96 { width: 96px; }
.admin-col-110 { width: 110px; }
.admin-col-120 { width: 120px; }
.admin-col-130 { width: 130px; }
.admin-col-140 { width: 140px; }
.admin-col-150 { width: 150px; }
.admin-col-190 { width: 190px; }
.admin-col-200 { width: 200px; }
.admin-col-210 { width: 210px; }
.admin-col-240 { width: 240px; }

/* === Table footer === */

.admin-table-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text-secondary);
}

/*--------------------*/
/*---- 12. BADGES ----*/
/*--------------------*/

/* Dot + text: colour is never the only information */
.admin-body .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.admin-body .badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.admin-body .badge-info { background: rgba(59, 130, 196, 0.13); color: var(--admin-info); }
.admin-body .badge-warning { background: rgba(217, 142, 31, 0.13); color: var(--admin-warning); }
.admin-body .badge-danger { background: rgba(217, 83, 79, 0.13); color: var(--admin-danger); }
.admin-body .badge-success { background: rgba(47, 158, 110, 0.13); color: var(--admin-success); }
.admin-body .badge-secondary { background: rgba(138, 143, 156, 0.13); color: var(--admin-neutral); }
.admin-body .badge-lavender { background: rgba(154, 159, 224, 0.13); color: var(--admin-lavender); }

/*----------------------*/
/*---- 13. PRIORITY ----*/
/*----------------------*/

.admin-priority {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
}

.admin-priority i {
    width: 3px;
    border-radius: 2px;
    background: var(--admin-border);
}

.admin-priority i:nth-child(1) { height: 6px; }
.admin-priority i:nth-child(2) { height: 9px; }
.admin-priority i:nth-child(3) { height: 12px; }

.admin-priority-high i { background: var(--admin-danger); }
.admin-priority-medium i:nth-child(-n+2) { background: var(--admin-warning); }
.admin-priority-low i:nth-child(1) { background: var(--admin-lavender); }

/*--------------------*/
/*---- 14. AVATAR ----*/
/*--------------------*/

.admin-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #d8e8f6;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: var(--admin-text-primary);
}

.admin-avatar-md {
    width: 28px;
    height: 28px;
}

.admin-avatar-lg {
    width: 34px;
    height: 34px;
}

.admin-avatar-primary {
    background: linear-gradient(135deg, var(--admin-indigo) 14.286%, var(--admin-indigo-2) 85.714%);
    color: var(--admin-white);
}

.admin-avatar-amber { background: #f8e6cc; }
.admin-avatar-green { background: #d4ece2; }
.admin-avatar-blue { background: #d8e8f6; }
.admin-avatar-indigo { background: #dde1fb; }
.admin-avatar-pink { background: #f7dddc; }

/*------------------------*/
/*---- 15. PAGINATION ----*/
/*------------------------*/

/* Bootstrap .pagination (also used by DataTables) */
.admin-body .pagination {
    gap: 4px;
    margin: 0;
}

.admin-body .pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    margin: 0;
    padding: 0 6px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--admin-text-menu);
}

.admin-body .pagination .page-link:hover {
    background: rgba(79, 91, 213, 0.06);
    color: var(--admin-text-menu);
}

.admin-body .pagination .page-link:focus {
    box-shadow: var(--admin-focus-ring);
}

.admin-body .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--admin-indigo) 14.286%, var(--admin-indigo-2) 85.714%);
    box-shadow: var(--admin-shadow-accent);
    color: var(--admin-white);
}

.admin-body .pagination .page-item.disabled .page-link {
    background: transparent;
    opacity: 0.35;
}

/*----------------------*/
/*---- 16. SETTINGS ----*/
/*----------------------*/

.admin-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--admin-border-row);
}

.admin-option-text {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-option-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-option-description {
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text-secondary);
}

.admin-body .card-body > .btn {
    align-self: flex-start;
}

/*------------------------*/
/*---- 17. FORM PAGES ----*/
/*------------------------*/

/* === Page header: back link and title with status === */

.admin-body .admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--admin-indigo);
}

.admin-body .admin-back-link:hover {
    color: var(--admin-indigo);
    text-decoration: underline;
}

.admin-back-link .admin-icon {
    width: 14px;
    height: 14px;
}

.admin-page-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* === Large text area (descrizione, note) === */

.admin-body textarea.admin-textarea-lg {
    min-height: 96px;
}

/* === Upload area === */

.admin-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 120px;
    margin: 0;
    padding: 20px;
    border: 1px dashed rgba(79, 91, 213, 0.4);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.admin-dropzone:hover {
    background: rgba(255, 255, 255, 0.85);
}

.admin-dropzone > .admin-icon {
    width: 24px;
    height: 24px;
    color: var(--admin-indigo);
}

.admin-dropzone-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-dropzone-hint {
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text-secondary);
}

/* === List with dot: attachments and history (cronologia) === */

.admin-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-timeline-item {
    position: relative;
    padding-left: 22px;
}

.admin-timeline-item::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c9cdf0;
}

.admin-timeline-item:first-child::before,
.admin-timeline-files .admin-timeline-item::before {
    background: var(--admin-indigo);
}

.admin-timeline-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-timeline-meta {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text-secondary);
}

/* === Line items (voci del preventivo / righe fattura) === */

.admin-lines-scroll {
    overflow-x: auto;
}

.admin-lines {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 560px;
}

.admin-lines-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px 130px 130px 32px;
    align-items: center;
    gap: 10px;
}

.admin-lines-head {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--admin-text-table-head);
}

.admin-lines-head > span:nth-child(n+2):nth-child(-n+4) {
    text-align: right;
}

.admin-body .admin-lines .form-control.text-right {
    text-align: right;
}

.admin-lines-total {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    color: var(--admin-text-primary);
}

.admin-lines-total:empty::before {
    content: "0,00";
    color: var(--admin-text-placeholder);
}

/* === Summary (riepilogo) === */

.admin-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--admin-text-secondary);
}

.admin-summary-row strong {
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-summary-total {
    padding-top: 13px;
    border-top: 1px solid var(--admin-border-row);
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-summary-total strong {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Option row without description */
.admin-body .admin-option-text:only-child {
    min-height: 20px;
}

/*------------------------*/
/*---- 18. DATATABLES ----*/
/*------------------------*/

/* Tables managed by DataTables (e.g. ticket list), loaded after datatables.min.css */
.admin-table-card .dataTables_wrapper .table.dataTable {
    margin: 0 !important;
    border-collapse: collapse !important;
}

.admin-table-card table.dataTable th,
.admin-table-card table.dataTable td {
    box-sizing: border-box;
}

.admin-table-card table.dataTable thead > tr > th.sorting,
.admin-table-card table.dataTable thead > tr > th.sorting_asc,
.admin-table-card table.dataTable thead > tr > th.sorting_desc {
    padding-right: 28px;
    cursor: pointer;
}

/* "No results" row */
.admin-table-card .table td.dataTables_empty {
    padding: 40px 14px;
    text-align: center;
}

.admin-table-card .admin-table-footer div.dataTables_info {
    padding: 0;
}

.admin-table-footer .dataTables_paginate .pagination {
    margin: 0 !important;
}

/*-------------------*/
/*---- 19. TOAST ----*/
/*-------------------*/

.admin-body .admin-toast {
    position: fixed;
    top: 84px;
    right: 32px;
    z-index: 2000;
    max-width: none;
    border: 0;
    border-radius: 10px;
    background: var(--admin-text-primary);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.25);
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-white);
}

.admin-toast .toast-body {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
}

.admin-toast .toast-body::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8b93f0;
}

/* ================================
         20. MEDIA QUERIES
   ================================ */

/* --- Extra large devices (≥1200px): side column of the form pages, 380px as in Figma --- */
@media (min-width: 1200px) {
    .admin-col-side {
        width: 396px;
    }
}

/* --- Large devices up (≥992px): collapsed sidebar, only the logo mark and the icons.
   Nothing changes layout: sizes and positions move with transitions, texts fade --- */
@media (min-width: 992px) {
    .admin-sidebar-collapsed {
        width: 72px;
    }

    /* Room for the toggle, which moves under the logo */
    .admin-sidebar-collapsed .admin-sidebar-header {
        padding-bottom: 44px;
    }

    /* Only the head of the logo is left, before the "D" */
    .admin-sidebar-collapsed .admin-sidebar-logo {
        width: 32px;
    }

    .admin-body .admin-sidebar-collapsed .admin-sidebar-toggle {
        top: 45.6px;
        left: calc(50% - 9px);
    }

    .admin-sidebar-collapsed .admin-sidebar-toggle .admin-icon {
        transform: rotate(180deg);
    }

    /* The group title fades into a thin divider */
    .admin-sidebar-collapsed .admin-sidebar-group {
        color: transparent;
    }

    .admin-sidebar-collapsed .admin-sidebar-group::after {
        opacity: 1;
    }

    .admin-sidebar-collapsed .admin-nav-label,
    .admin-sidebar-collapsed .admin-nav-count,
    .admin-sidebar-collapsed .admin-profile-text,
    .admin-sidebar-collapsed .admin-logout-label {
        opacity: 0;
    }

    /* Avatar and logout icon centred in the 72px column */
    .admin-sidebar-collapsed .admin-profile {
        padding-left: 2px;
    }

    .admin-body .admin-sidebar-collapsed .admin-logout {
        padding-left: 9px;
    }

    /* Transitions only after the first click, so the page never animates on load */
    .admin-sidebar-animated {
        transition: width 0.3s ease;
    }

    .admin-sidebar-animated .admin-sidebar-header {
        transition: padding 0.3s ease;
    }

    .admin-sidebar-animated .admin-sidebar-logo {
        transition: width 0.3s ease;
    }

    .admin-body .admin-sidebar-animated .admin-sidebar-toggle {
        transition: top 0.3s ease, left 0.3s ease;
    }

    .admin-sidebar-animated .admin-sidebar-toggle .admin-icon {
        transition: transform 0.3s ease;
    }

    .admin-sidebar-animated .admin-profile {
        transition: padding 0.3s ease;
    }

    .admin-body .admin-sidebar-animated .admin-logout {
        transition: padding 0.3s ease, color 0.15s ease-in-out;
    }

    /* Opening: texts come back when the sidebar is almost open */
    .admin-sidebar-animated .admin-sidebar-group {
        transition: color 0.2s ease 0.1s;
    }

    .admin-sidebar-animated .admin-sidebar-group::after {
        transition: opacity 0.15s ease;
    }

    .admin-sidebar-animated .admin-nav-label,
    .admin-sidebar-animated .admin-nav-count,
    .admin-sidebar-animated .admin-profile-text,
    .admin-sidebar-animated .admin-logout-label {
        transition: opacity 0.2s ease 0.1s;
    }

    /* Closing: texts fade at once, before the sidebar gets narrow */
    .admin-sidebar-animated.admin-sidebar-collapsed .admin-sidebar-group {
        transition: color 0.15s ease;
    }

    .admin-sidebar-animated.admin-sidebar-collapsed .admin-sidebar-group::after {
        transition: opacity 0.2s ease 0.1s;
    }

    .admin-sidebar-animated.admin-sidebar-collapsed .admin-nav-label,
    .admin-sidebar-animated.admin-sidebar-collapsed .admin-nav-count,
    .admin-sidebar-animated.admin-sidebar-collapsed .admin-profile-text,
    .admin-sidebar-animated.admin-sidebar-collapsed .admin-logout-label {
        transition: opacity 0.15s ease;
    }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
    .admin-sidebar-animated,
    .admin-sidebar-animated *,
    .admin-sidebar-animated *::after {
        transition: none !important;
    }
}

/* --- Large devices (≤991.98px): sidebar on top --- */
@media (max-width: 991.98px) {
    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .admin-sidebar-group,
    .admin-sidebar-toggle {
        display: none !important;
    }

    .admin-nav {
        flex-direction: row !important;
        flex-wrap: wrap;
    }

    .admin-nav .nav-link {
        flex: 1 1 180px;
    }

    .admin-sidebar-account {
        flex-direction: row !important;
        justify-content: space-between;
        margin-top: 10px !important;
    }
}

/* --- Small devices (≤575.98px) --- */
@media (max-width: 575.98px) {
    .admin-shell {
        padding: 12px;
    }

    .admin-topbar {
        flex-wrap: wrap;
        padding: 10px 12px;
    }

    .admin-page-header {
        padding: 22px 20px;
    }

    .admin-page-title {
        font-size: 26px;
    }

    .admin-stat-value {
        font-size: 26px;
    }

    .admin-search,
    .admin-filter-select {
        width: 100%;
    }

    .admin-body .admin-toast {
        right: 12px;
        left: 12px;
    }
}
