:root {
    --sun-ink: #0b2b4f;
    --sun-navy: #082846;
    --sun-sidebar: #0b2b4f;
    --sun-sidebar-2: #071a2e;
    --sun-purple: #0ea5e9;
    --sun-purple-2: #2563eb;
    --sun-violet-soft: #eaf7ff;
    --sun-bg: #f5f6fb;
    --sun-border: #e6e4f1;
    --sun-muted: #7d8194;
    --sun-success: #12a17a;
    --sun-warning: #e0a100;
    --sun-danger: #d23b32;
    --sun-radius: 8px;
}

html {
    background: var(--sun-bg);
}

body.sunshine-admin {
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--sun-ink);
    background:
        radial-gradient(circle at 72% 4%, rgba(14, 165, 233, .14), transparent 30rem),
        linear-gradient(180deg, #fbfbff 0, var(--sun-bg) 240px);
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
}

.admin-shell {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
}

.admin-shell > .row {
    min-height: 100vh;
    min-height: 100dvh;
}

.admin-nav-toggle,
.admin-nav-backdrop {
    display: none;
}

.sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    overflow-y: auto;
    background:
        linear-gradient(180deg, rgba(14, 165, 233, .12), transparent 260px),
        linear-gradient(180deg, var(--sun-sidebar), var(--sun-sidebar-2));
    border-right: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 14px 0 30px rgba(7, 26, 46, .10);
}

.brand-mark {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sun-purple), #38bdf8);
    box-shadow: 0 12px 28px rgba(14, 165, 233, .34);
    overflow: hidden;
    flex: 0 0 40px;
}

.brand-mark img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block;
    background: #fff;
}

.brand-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
}

.brand-subtitle,
.nav-section {
    color: rgba(255, 255, 255, .48);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sidebar .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 42px;
    padding: .58rem .72rem;
    color: rgba(255, 255, 255, .72);
    border-radius: var(--sun-radius);
    font-weight: 650;
}

.sidebar .nav-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .30);
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    color: #fff;
    background: linear-gradient(90deg, rgba(14, 165, 233, .72), rgba(14, 165, 233, .18));
    box-shadow: inset 3px 0 0 #38bdf8;
}

.sidebar .nav-link.active::before,
.sidebar .nav-link:hover::before {
    background: #38bdf8;
    box-shadow: 0 0 0 5px rgba(56, 189, 248, .22);
}

.admin-topbar {
    min-height: 56px;
    background: rgba(255, 255, 255, .86);
    border-bottom: 1px solid var(--sun-border);
    backdrop-filter: blur(10px);
}

.menu-toggle {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--sun-border);
    border-radius: var(--sun-radius);
    color: var(--sun-ink);
    background: #fff;
    cursor: pointer;
    flex: 0 0 auto;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--sun-ink);
    font-weight: 700;
}

.notification-dot {
    position: relative;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 99px;
    color: var(--sun-warning);
    background: #fff7df;
}

.notification-dot::after {
    content: "2";
    position: absolute;
    top: -5px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    color: #fff;
    background: #e3342f;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    border-radius: 8px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 50%, rgba(56, 189, 248, .54), transparent 22rem),
        linear-gradient(95deg, #082846 0%, #0f4c81 48%, #2563eb 100%);
    box-shadow: 0 16px 34px rgba(8, 40, 70, .20);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 34%);
    pointer-events: none;
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .75rem;
    border-radius: 99px;
    color: #d8f3ff;
    background: rgba(14, 165, 233, .24);
    border: 1px solid rgba(255, 255, 255, .10);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.page-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: var(--sun-purple);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, .22);
}

.page-hero h2 {
    color: #fff;
    font-weight: 850;
}

.page-hero .text-muted {
    color: rgba(255, 255, 255, .68) !important;
}

.card {
    border: 1px solid var(--sun-border) !important;
    border-radius: var(--sun-radius);
    box-shadow: 0 10px 26px rgba(23, 19, 63, .07) !important;
}

.card-header,
.card-footer {
    border-color: var(--sun-border);
}

.metric {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    border-left: 4px solid var(--sun-ink) !important;
}

.metric::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--sun-violet-soft);
    box-shadow: 0 12px 24px rgba(14, 165, 233, .12);
}

.metric:nth-child(3n + 1) {
    border-left-color: var(--sun-ink) !important;
}

.metric:nth-child(3n + 2) {
    border-left-color: var(--sun-warning) !important;
}

.metric:nth-child(3n) {
    border-left-color: var(--sun-success) !important;
}

.metric .display-6 {
    color: var(--sun-ink);
    font-size: clamp(1.85rem, 2vw, 2.45rem);
    font-weight: 850;
    letter-spacing: 0;
}

.text-muted {
    color: var(--sun-muted) !important;
}

.btn {
    border-radius: 8px;
    font-weight: 750;
}

.btn-primary,
.btn-success {
    border-color: transparent;
    background: linear-gradient(135deg, var(--sun-purple), var(--sun-purple-2));
    box-shadow: 0 10px 22px rgba(14, 165, 233, .25);
}

.btn-primary:hover,
.btn-success:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
}

.btn-outline-secondary,
.btn-outline-primary {
    color: var(--sun-ink);
    border-color: var(--sun-border);
    background: #fff;
}

.form-control,
.form-select {
    border-color: var(--sun-border);
    border-radius: 8px;
    min-height: 42px;
}

.form-control:focus,
.form-select:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 .2rem rgba(14, 165, 233, .16);
}

.table {
    vertical-align: middle;
    min-width: 720px;
}

.table thead th {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #fff;
    background: linear-gradient(180deg, #0b2b4f, #082846);
    border-color: rgba(255, 255, 255, .10);
    font-weight: 800;
}

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

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

.table tbody td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-color: #eeedf5;
}

.badge {
    border-radius: 99px;
    padding: .48rem .72rem;
    font-weight: 800;
}

.order-status-badge {
    color: var(--status-text, #fff) !important;
    background: var(--status-color, #0284c7) !important;
}

.text-bg-info,
.text-bg-secondary {
    color: #fff !important;
    background: linear-gradient(135deg, #0284c7, #2563eb) !important;
}

.text-bg-warning {
    color: #fff !important;
    background: #f0a000 !important;
}

.text-bg-success {
    background: var(--sun-success) !important;
}

.alert {
    border-radius: 8px;
    border: 1px solid var(--sun-border);
}

.customer-plus-list {
    display: none;
}

.customer-plus-details {
    border: 1px solid var(--sun-border);
    border-radius: 8px;
    background: #fff;
}

.customer-plus-details > summary {
    min-height: 42px;
    padding: .65rem .8rem;
    color: var(--sun-ink);
    cursor: pointer;
    font-weight: 800;
    list-style-position: inside;
}

.customer-plus-details[open] > summary {
    border-bottom: 1px solid var(--sun-border);
}

.customer-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.customer-summary-metric {
    padding: 12px;
    border: 1px solid var(--sun-border);
    border-radius: 8px;
    background: #f8fafc;
}

.customer-summary-metric span {
    display: block;
    color: var(--sun-muted);
    font-size: 12px;
    font-weight: 750;
}

.customer-summary-metric strong {
    display: block;
    margin-top: 3px;
    color: var(--sun-ink);
    font-size: 20px;
    line-height: 1.15;
}

.customer-tab-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.customer-tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.customer-tab-nav label {
    min-height: 42px;
    padding: .62rem 1rem;
    border: 1px solid var(--sun-border);
    border-radius: 8px;
    color: var(--sun-ink);
    background: #fff;
    cursor: pointer;
    font-weight: 800;
    white-space: nowrap;
}

.customer-tab-panel {
    display: none;
}

#customer-tab-profile:checked ~ .customer-tab-nav label[for="customer-tab-profile"],
#customer-tab-addresses:checked ~ .customer-tab-nav label[for="customer-tab-addresses"],
#customer-tab-promotions:checked ~ .customer-tab-nav label[for="customer-tab-promotions"],
#customer-tab-orders:checked ~ .customer-tab-nav label[for="customer-tab-orders"] {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--sun-purple), var(--sun-purple-2));
    box-shadow: 0 10px 22px rgba(14, 165, 233, .18);
}

#customer-tab-profile:checked ~ .customer-tab-panels .customer-tab-profile,
#customer-tab-addresses:checked ~ .customer-tab-panels .customer-tab-addresses,
#customer-tab-promotions:checked ~ .customer-tab-panels .customer-tab-promotions,
#customer-tab-orders:checked ~ .customer-tab-panels .customer-tab-orders {
    display: block;
}

.customer-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.customer-detail-list > div {
    padding: 12px;
    border: 1px solid var(--sun-border);
    border-radius: 8px;
    background: #fff;
}

.customer-detail-list dt {
    color: var(--sun-muted);
    font-size: 12px;
    font-weight: 800;
}

.customer-detail-list dd {
    margin: 4px 0 0;
    color: var(--sun-ink);
    font-weight: 750;
}

.customer-address-card {
    padding: 12px;
    border: 1px solid var(--sun-border);
    border-radius: 8px;
    background: #fff;
}

.customer-address-card + .customer-address-card {
    margin-top: 10px;
}

.customer-promotion-balance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.customer-promotion-balance > div,
.customer-promotion-usage {
    padding: 12px;
    border: 1px solid var(--sun-border);
    border-radius: 8px;
    background: #fff;
}

.customer-promotion-balance span,
.customer-promotion-balance small {
    display: block;
    color: var(--sun-muted);
    font-size: 12px;
}

.customer-promotion-balance strong {
    display: block;
    margin-top: 2px;
    color: var(--sun-ink);
    font-size: 20px;
    line-height: 1.2;
}

.customer-usage-list {
    display: grid;
    gap: 8px;
}

.customer-usage-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--sun-border);
    border-radius: 8px;
    background: #f8fafc;
}

.customer-usage-row a {
    color: var(--sun-purple-2);
    text-decoration: none;
}

.customer-address-map {
    min-height: 260px;
    border: 1px solid var(--sun-border);
    border-radius: 8px;
    overflow: hidden;
    background: #eaf7ff;
}

.customer-map-empty {
    padding: 10px 12px;
    border: 1px dashed var(--sun-border);
    border-radius: 8px;
    background: #f8fafc;
}

@media (max-width: 1199.98px), (hover: none) and (pointer: coarse) {
    body.sunshine-admin {
        background:
            radial-gradient(circle at 92% -4%, rgba(14, 165, 233, .18), transparent 11rem),
            linear-gradient(180deg, #fbfdff 0, var(--sun-bg) 220px);
        font-size: 14px;
    }

    .admin-shell > .row {
        display: block;
        margin: 0;
    }

    .sidebar {
        position: fixed !important;
        inset: 0 auto 0 0;
        z-index: 1040;
        width: min(84vw, 320px) !important;
        max-width: 320px !important;
        height: 100dvh;
        min-height: 100dvh;
        padding: 14px !important;
        transform: translate3d(-105%, 0, 0);
        transition: transform .2s ease;
        border-right: 0;
        box-shadow: 18px 0 44px rgba(7, 26, 46, .26);
        overflow-y: auto;
        will-change: transform;
    }

    .admin-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1035;
        display: none;
        background: rgba(8, 40, 70, .42);
        backdrop-filter: blur(2px);
    }

    .admin-nav-toggle:checked ~ .admin-shell .sidebar {
        transform: translate3d(0, 0, 0);
    }

    .admin-nav-toggle:checked ~ .admin-shell .admin-nav-backdrop {
        display: block !important;
    }

    .sidebar .brand-mark {
        width: 42px;
        height: 42px;
    }

    .sidebar .brand-title {
        font-size: 15px;
    }

    .sidebar .brand-subtitle {
        display: -webkit-box;
        max-width: 210px;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-transform: none;
        letter-spacing: 0;
    }

    .sidebar .nav-link {
        min-height: 44px;
        padding: .62rem .72rem;
        font-size: 14px;
    }

    main.col-md-9,
    main.col-lg-10 {
        width: 100%;
        max-width: 100%;
    }

    .admin-topbar {
        position: sticky;
        top: 0;
        z-index: 1020;
        min-height: 54px;
        padding-left: 12px !important;
        padding-right: 12px !important;
        gap: 10px;
    }

    .admin-topbar > .d-flex:first-child {
        min-width: 0;
        flex: 1;
    }

    .admin-topbar strong {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 15px;
    }

    .admin-topbar > .d-flex:last-child {
        gap: 8px !important;
    }

    .user-chip {
        display: none;
    }

    .notification-dot {
        width: 38px;
        height: 38px;
    }

    .admin-topbar form .btn {
        min-height: 38px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
    }

    main > .px-4.py-4 {
        padding: 12px 10px max(18px, env(safe-area-inset-bottom)) !important;
    }

    .page-hero {
        min-height: auto;
        margin-bottom: 12px !important;
        padding: 14px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        align-items: start !important;
        gap: 10px !important;
        border-radius: 0 0 14px 14px;
    }

    .page-kicker {
        margin-bottom: 8px !important;
        padding: .28rem .55rem;
        font-size: 11px;
    }

    .page-hero h2,
    .page-hero .h3 {
        font-size: 19px;
        line-height: 1.25;
    }

    .page-hero p {
        display: none;
    }

    .page-hero .d-none.d-lg-flex {
        display: none !important;
    }

    .page-hero .position-relative:last-child {
        width: 100%;
    }

    .page-hero .position-relative:last-child:empty {
        display: none;
    }

    .page-hero .btn,
    .page-hero a.btn {
        width: 100%;
    }

    .card {
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(23, 19, 63, .06) !important;
    }

    .card-body,
    form.card-body {
        padding: 14px !important;
    }

    .btn-group.flex-wrap {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .btn-group.flex-wrap > .btn {
        width: 100%;
        border-radius: 8px !important;
        margin: 0 !important;
    }

    .row.g-2,
    .row.g-3 {
        --bs-gutter-x: .65rem;
        --bs-gutter-y: .75rem;
    }

    .row > [class*="col-md-"],
    .row > [class*="col-lg-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
    }

    .form-label {
        font-size: 13px;
        font-weight: 800;
    }

    .form-control,
    .form-select {
        min-height: 46px;
        font-size: 16px;
    }

    textarea.form-control {
        min-height: 96px;
    }

    .form-check-input {
        width: 1.25rem;
        height: 1.25rem;
    }

    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-sm {
        min-height: 38px;
    }

    .col-md-auto .btn,
    form .mt-4 .btn,
    .card-body > .btn,
    .card-body > form .btn {
        margin-bottom: 6px;
    }

    form .mt-4 {
        position: sticky;
        bottom: 0;
        z-index: 20;
        margin: 16px -14px -14px !important;
        padding: 10px 14px max(10px, env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        background: linear-gradient(180deg, rgba(245, 246, 251, 0), #fff 28%);
        border-top: 1px solid var(--sun-border);
    }

    form .mt-4 .btn {
        width: 100%;
        margin-bottom: 0;
    }

    .table-responsive {
        margin-left: -1px;
        margin-right: -1px;
        border-radius: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 680px;
        font-size: 13px;
    }

    .table thead th,
    .table tbody td {
        padding: .72rem .65rem;
    }

    .table .btn-sm {
        min-height: 34px;
        padding: .3rem .55rem;
    }

    .badge {
        max-width: 100%;
        white-space: normal;
        line-height: 1.2;
    }

    dl.row > dt,
    dl.row > dd {
        width: 100%;
    }

    dl.row > dt {
        margin-top: 8px;
        font-size: 12px;
        color: var(--sun-muted);
    }

    dl.row > dd {
        margin-bottom: 2px;
    }

    .alert {
        padding: 12px;
        font-size: 13px;
    }

    .customer-summary-card .card-body {
        padding: 12px !important;
    }

    .customer-summary-card h3 {
        font-size: 19px;
    }

    .customer-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .customer-summary-metric {
        padding: 9px 10px;
    }

    .customer-summary-metric strong {
        font-size: 17px;
    }

    .customer-tab-nav {
        margin-left: -2px;
        margin-right: -2px;
        padding: 0 2px 4px;
        gap: 6px;
    }

    .customer-tab-nav label {
        min-height: 38px;
        padding: .52rem .72rem;
        font-size: 13px;
    }

    .customer-tab-panel > .card-header {
        padding: 10px 12px;
        font-size: 14px;
    }

    .customer-detail-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .customer-detail-list > div,
    .customer-address-card {
        padding: 10px;
    }

    .customer-address-map {
        min-height: 220px;
    }

    .customer-promotions-card {
        margin-top: 0 !important;
    }

    .customer-promotions-card > .card-header {
        padding: 10px 12px;
        font-size: 14px;
    }

    .customer-promotions-card > .card-body {
        padding: 10px !important;
    }

    .customer-promotion-card {
        padding: 12px !important;
        margin-bottom: 10px !important;
        border-color: #dbe7f3 !important;
    }

    .customer-promotion-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 4px !important;
    }

    .customer-promotion-head .text-end {
        text-align: left !important;
    }

    .customer-promotion-state {
        display: grid;
        justify-items: start;
        gap: 4px;
    }

    .customer-promotion-metrics {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .customer-promotion-metrics > [class*="col-"] {
        width: auto;
        max-width: none;
        padding: 0;
    }

    .customer-promotion-metric {
        min-height: 62px;
        padding: 8px 10px !important;
    }

    .customer-promotion-metric .small {
        font-size: 11px;
        line-height: 1.2;
    }

    .customer-promotion-metric .fs-5 {
        margin-top: 2px;
        font-size: 17px !important;
        line-height: 1.2;
    }

    .customer-promotion-balance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .customer-promotion-balance > div,
    .customer-promotion-usage {
        padding: 10px;
    }

    .customer-promotion-balance strong {
        font-size: 17px;
    }

    .customer-usage-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .customer-usage-row .text-end {
        text-align: left !important;
    }

    .customer-plus-table {
        display: none;
    }

    .customer-plus-list {
        display: grid;
        gap: 8px;
    }

    .customer-plus-card {
        padding: 10px;
        border: 1px solid var(--sun-border);
        border-radius: 8px;
        background: #f8fafc;
    }

    .customer-plus-card .badge {
        align-self: flex-start;
        max-width: 42%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .customer-plus-values {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 8px;
    }

    .customer-plus-values > div {
        display: grid;
        gap: 1px;
        padding: 8px;
        border-radius: 8px;
        background: #fff;
    }

    .customer-plus-values strong {
        font-size: 13px;
        line-height: 1.25;
    }

    .customer-plus-details > summary {
        min-height: 38px;
        padding: .55rem .7rem;
        font-size: 13px;
    }

    .customer-plus-form {
        padding: 10px;
        margin: 0 !important;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
    }

    .customer-plus-form > [class*="col-"] {
        width: auto;
        max-width: none;
        padding: 0;
    }

    .customer-plus-form > .col-12,
    .customer-plus-form > [class*="col-"]:nth-last-child(2),
    .customer-plus-form > [class*="col-"]:last-child {
        grid-column: 1 / -1;
    }

    .customer-plus-form .form-label {
        margin-bottom: 4px;
        font-size: 11px;
    }

    .customer-plus-form .form-control,
    .customer-plus-form .form-select {
        min-height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .btn-group.flex-wrap {
        grid-template-columns: 1fr;
    }

    .admin-topbar form .btn {
        width: 38px;
        overflow: hidden;
        padding: 0;
        font-size: 0;
        white-space: nowrap;
    }

    .admin-topbar form .btn::after {
        content: "ออก";
        font-size: 12px;
    }

    .page-hero {
        margin-left: -10px;
        margin-right: -10px;
    }
}
