/* ============================================================
   MEDIC ADMIN / ACCOUNT CSS
   Backend, account, cart, checkout, payment, order and dashboard views.
   Public catalog and marketing pages should not depend on this file.
   ============================================================ */

/* Checkout / cart presentation */
.checkout-page .card.sticky-top {
    position: sticky !important;
    top: 20px;
}

.checkout-page .order-items img {
    border-radius: 8px;
}

.checkout-page .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.checkout-page .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.checkout-page .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.checkout-page .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.checkout-page #placeOrderBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.address-accordion-header {
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}

.address-accordion-header.is-active {
    background-color: #f8f9fa !important;
}

.terms-link-nowrap {
    white-space: nowrap;
}

.terms-inline {
    display: inline-block;
}

.terms-inline-text,
.terms-inline-text * {
    display: inline !important;
    white-space: nowrap !important;
}

/* Order pages */
.medic-order-status-icon {
    font-size: 2.5rem;
}

.medic-order-detail-status-icon {
    font-size: 3rem;
}

.medic-icon-2xl {
    font-size: 2rem;
}

.medic-icon-3xl {
    font-size: 3rem;
}

.medic-icon-4xl {
    font-size: 4rem;
}

.medic-icon-5xl {
    font-size: 5rem;
}

.medic-order-progress {
    height: 8px;
    background-color: #e9ecef;
}

.medic-order-item-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.medic-checkout-item-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.medic-hidden-disabled {
    display: none;
}

.medic-orders-page .card,
.medic-order-detail-page .card {
    transition: transform 0.2s ease-in-out;
}

.medic-orders-page .card:hover {
    transform: translateY(-2px);
}

.medic-orders-page .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.medic-orders-page .btn-group .btn {
    border-radius: 0.25rem;
    margin-left: 0.25rem;
}

.medic-orders-page .btn-group .btn:first-child {
    margin-left: 0;
}

.medic-order-detail-page .d-grid {
    display: grid;
    gap: 0.5rem;
}

.medic-order-detail-page .d-grid > .btn,
.medic-order-detail-page .d-grid > form > .btn {
    width: 100%;
}

/* Admin shell */
.admin-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.admin-filter-actions .btn {
    min-width: 72px;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

body.admin-route {
    background: #f6f8fb;
}

body.admin-route .col-content .card {
    border: 1px solid #e5e9f2;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body.admin-route .col-content .card-header {
    background: #fbfcfe;
    border-bottom: 1px solid #e8edf5;
}

body.admin-route .admin-page-head {
    gap: 1rem;
}

body.admin-route .admin-page-head .btn,
body.admin-route .admin-page-head form {
    flex-shrink: 0;
}

body.admin-route .col-content .table {
    margin-bottom: 0;
}

body.admin-route .col-content .table thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e8edf5;
    color: #5c6675;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.admin-route .col-content .table tbody td {
    vertical-align: middle;
}

body.admin-route .admin-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

body.admin-route .admin-actions form {
    margin: 0;
}

body.admin-route .admin-icon-btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    align-items: center;
    border-radius: 0.65rem;
    display: inline-flex;
    justify-content: center;
}

body.admin-route .admin-icon-btn i {
    font-size: 0.95rem;
}

body.admin-route .admin-stat-card .card-body {
    min-height: 118px;
}

body.admin-route .admin-table-empty {
    min-height: 220px;
}

body.admin-route .col-content .form-control,
body.admin-route .col-content .form-select,
body.admin-route .col-content textarea {
    border-color: #d7deea;
    border-radius: 0.7rem;
    min-height: 2.5rem;
}

body.admin-route .col-content .form-control:focus,
body.admin-route .col-content .form-select:focus,
body.admin-route .col-content textarea:focus {
    border-color: #f28b33;
    box-shadow: 0 0 0 0.2rem rgba(242, 139, 51, 0.12);
}

body.admin-route .alert-light.border {
    border-color: #e5e9f2 !important;
    background: #fbfcfe;
}

/* Account/admin sidebar */
#sidebar {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.5rem;
    padding: 0.75rem;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    overflow-x: hidden;
}

#sidebar::-webkit-scrollbar {
    width: 6px;
}

#sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.375rem;
    color: #344054;
}

.sidebar-nav .nav-link:hover {
    background: #f7f8fa;
    color: #0d6efd;
}

.sidebar-nav .nav-link.active {
    background: #eef4ff;
    color: #0d6efd;
    font-weight: 600;
    border-left: 3px solid #0d6efd;
}

.nav-icon {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
}

.nav-title {
    color: #475467;
}

.nav-section {
    padding-left: 0.6rem;
    letter-spacing: 0.06em;
}

#sidebar .toggle-sidebar {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
}

.nav-group {
    position: relative;
}

.nav-group-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.375rem;
    color: #344054;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-group-toggle:hover {
    background: #f7f8fa;
    color: #0d6efd;
}

.nav-group-toggle.expanded {
    background: #eef4ff;
    color: #0d6efd;
    font-weight: 600;
}

.nav-group-toggle .toggle-icon {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.nav-group-toggle.expanded .toggle-icon {
    transform: rotate(180deg);
}

.nav-group-items {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.nav-group-items.show {
    max-height: 500px;
}

.nav-group-items .nav-item {
    margin-left: 1rem;
}

.nav-group-items .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
}

#sidebar.collapsed .nav-title,
#sidebar.collapsed .nav-section,
#sidebar.collapsed .nav-text {
    display: none !important;
}

#sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 0.5rem 0;
}

#sidebar.collapsed .btn-danger .nav-text {
    display: none !important;
}

#sidebar.collapsed .toggle-sidebar i {
    transform: rotate(180deg);
}

#sidebar.collapsed .nav-group-toggle {
    justify-content: center;
    padding: 0.5rem 0;
}

#sidebar.collapsed .nav-group-toggle .toggle-icon {
    display: none;
}

#sidebar.collapsed .nav-group-items {
    display: none !important;
}

/* Machines/admin helpers */
.machine-license-key {
    font-size: 0.85rem;
}

.machine-json-preview {
    max-height: 500px;
    overflow-y: auto;
}

.machine-error-details {
    max-height: 300px;
    overflow-y: auto;
}

.machine-table-key {
    width: 30%;
}

.machine-notes {
    white-space: pre-wrap;
}

.machine-progress-tall {
    height: 25px;
}

.color-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.color-dot-sm {
    width: 16px;
    height: 16px;
}

/* Dashboard */
.admin-dashboard-page .bg-primary-light {
    background-color: rgba(0, 123, 255, 0.1) !important;
}

.admin-dashboard-page .bg-info-light {
    background-color: rgba(23, 162, 184, 0.1) !important;
}

.admin-dashboard-page .bg-success-light {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.admin-dashboard-page .bg-warning-light {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.admin-dashboard-page .bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-dashboard-page .bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.admin-dashboard-page .bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.admin-dashboard-page .bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff6b6b 100%);
}

.admin-dashboard-page .bg-gradient-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.admin-dashboard-page .opacity-50 {
    opacity: 0.5;
}

.admin-dashboard-page .sync-device-stat {
    background-color: #f8f9fa;
}

.admin-dashboard-page .sync-device-stat-online {
    background-color: #d4edda;
}

.admin-dashboard-page .sync-device-stat-idle {
    background-color: #fff3cd;
}

.admin-dashboard-page .sync-device-stat-offline {
    background-color: #f8d7da;
}

.admin-dashboard-page .dashboard-icon-lg {
    font-size: 1.5rem;
}

.admin-dashboard-page .dashboard-empty-icon {
    font-size: 2rem;
}

.admin-dashboard-page .card,
.admin-orders-management-page .card,
.medic-addresses-page .card,
.medic-checkout-success-page .card {
    transition: transform 0.2s ease-in-out;
}

.admin-dashboard-page .card:hover,
.medic-addresses-page .card:hover,
.medic-checkout-success-page .card:hover {
    transform: translateY(-2px);
}

/* Product create/edit forms */
.admin-product-form-page .btn-group button {
    flex: 1;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-product-form-page .btn-group button.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.admin-product-form-page .btn-group button:not(.active):hover {
    transform: translateY(-1px);
}

.admin-product-form-page .step-content {
    min-height: 400px;
    animation: adminProductFadeIn 0.3s ease-in-out;
}

@keyframes adminProductFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes adminProductPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
}

.admin-product-form-page .btn-pulse {
    animation: adminProductPulse 1s ease-in-out 2;
}

.admin-product-form-page .attribute-card {
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.admin-product-form-page .attribute-card .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

.admin-product-form-page .attribute-card .card-body {
    padding: 1rem;
}

.admin-product-form-page .media-upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.admin-product-form-page .media-upload-overlay.d-none {
    display: none !important;
}

.admin-product-form-page .media-upload-dialog {
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 320px;
    width: 90%;
}

.admin-product-form-page .video-upload-overview ul,
.admin-product-form-page .video-upload-overview li {
    margin: 0;
    padding: 0;
}

.admin-product-form-page .video-upload-overview li {
    padding-top: 2px;
}

.admin-product-form-page .video-upload-overview li:not(:last-child) {
    margin-bottom: 2px;
}

.admin-product-form-page #physicalFields .row {
    margin-bottom: 0;
}

.admin-product-form-page #physicalFields .form-group {
    margin-bottom: 1rem;
}

.admin-product-form-page .form-group {
    margin-bottom: 1.25rem;
}

.admin-product-form-page .required::after,
.medic-addresses-page .required::after {
    content: " *";
    color: #dc3545;
}

.admin-product-form-page .variant-attribute-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.admin-product-form-page .variant-drag-handle {
    cursor: grab;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-product-form-page .variant-drag-handle:active {
    cursor: grabbing;
}

.admin-product-form-page .variant-attribute-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.admin-product-form-page .variant-attribute-card.opacity-50 {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-product-form-page .variant-attribute-card.opacity-50:hover {
    transform: none;
    box-shadow: none;
}

/* Documentation admin */
.admin-documentation-page .hover-shadow {
    transition: all 0.3s ease;
}

.admin-documentation-page .hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.admin-documentation-editor-page .sections-container {
    max-width: 1400px;
    margin: 0 auto;
}

.admin-documentation-editor-page .section-card {
    transition: box-shadow 0.2s;
}

.admin-documentation-editor-page .section-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.admin-documentation-editor-page .section-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s;
    border: none !important;
    cursor: pointer;
}

.admin-documentation-editor-page .section-header:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.admin-documentation-editor-page .section-title-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff !important;
}

.admin-documentation-editor-page .section-header .badge {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.admin-documentation-editor-page .section-header .toggle-icon {
    color: #ffffff !important;
    font-size: 1.1rem;
}

.admin-documentation-editor-page .section-action-btn {
    min-width: 30px;
    padding: 0.2rem 0.4rem;
}

.admin-documentation-editor-page .toggle-icon {
    transition: transform 0.3s;
}

.admin-documentation-editor-page .section-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.admin-documentation-editor-page .documentation-content {
    font-size: 1rem;
    line-height: 1.6;
}

.admin-documentation-editor-page .documentation-content img {
    max-width: 100%;
    height: auto;
}

.admin-documentation-editor-page .documentation-content table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.admin-documentation-editor-page .documentation-content table td,
.admin-documentation-editor-page .documentation-content table th {
    border: 1px solid #dee2e6;
    padding: 0.5rem;
}

/* Email/admin table helpers */
.admin-email-settings-page .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.admin-email-settings-page .table > tbody > tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.admin-email-settings-page .card {
    transition: all 0.3s ease;
}

.admin-email-settings-page .notification-type-col {
    width: 30%;
}

.admin-email-settings-page .notification-description-col {
    width: 50%;
}

.admin-email-settings-page .notification-status-col {
    width: 20%;
}

.admin-email-settings-page .email-toggle {
    cursor: pointer;
    width: 3rem;
    height: 1.5rem;
}

.admin-documentation-page .doc-type-key-col {
    width: 28%;
}

.admin-documentation-page .doc-type-name-col {
    width: 42%;
}

.admin-documentation-page .doc-type-actions-col {
    width: 30%;
}

.admin-orders-management-page .avatar-sm {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

/* Addresses */
.medic-addresses-page .form-control {
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.medic-addresses-page .form-control:disabled {
    background-color: #f8f9fa;
    opacity: 0.7;
}

.medic-addresses-page select:disabled {
    color: #6c757d;
}

/* Checkout success and order tracking */
.medic-checkout-success-page .timeline {
    position: relative;
    padding-left: 0;
}

.medic-checkout-success-page .timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
}

.medic-checkout-success-page .timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 30px;
    width: 2px;
    height: calc(100% - 10px);
    background-color: #dee2e6;
    z-index: 1;
}

.medic-checkout-success-page .timeline-item:last-child::before {
    display: none;
}

.medic-checkout-success-page .timeline-item i {
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #6c757d;
    z-index: 2;
}

.medic-checkout-success-page .timeline-item.active i {
    border-color: #28a745;
    color: #28a745;
    background-color: #fff;
}

.medic-checkout-success-page .btn {
    transition: all 0.2s ease-in-out;
}

.medic-checkout-success-page .btn:hover {
    transform: translateY(-1px);
}

.medic-track-order-page .tracking-timeline {
    position: relative;
    padding-left: 3rem;
}

.medic-track-order-page .tracking-timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #28a745 0%, #28a745 60%, #e9ecef 60%, #e9ecef 100%);
}

.medic-track-order-page .timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.medic-track-order-page .timeline-item:last-child {
    padding-bottom: 0;
}

.medic-track-order-page .timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: white;
    border: 3px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.medic-track-order-page .timeline-item.completed .timeline-marker {
    border-color: #28a745;
    background: #28a745;
}

.medic-track-order-page .timeline-item.cancelled .timeline-marker {
    border-color: #dc3545;
    background: #dc3545;
}

.medic-track-order-page .timeline-item.pending .timeline-marker {
    border-color: #6c757d;
    background: white;
}

.medic-track-order-page .timeline-item.completed .timeline-marker i,
.medic-track-order-page .timeline-item.cancelled .timeline-marker i {
    color: white !important;
}

.medic-track-order-page .timeline-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid #e9ecef;
}

.medic-track-order-page .timeline-item.completed .timeline-content {
    border-left-color: #28a745;
}

.medic-track-order-page .timeline-item.cancelled .timeline-content {
    border-left-color: #dc3545;
}

.medic-track-order-page .timeline-item.pending .timeline-content {
    border-left-color: #6c757d;
}

/* Code previews */
.machine-json-preview code {
    display: block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .medic-orders-page .card-header,
    .medic-orders-page .card-footer {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .medic-orders-page .btn-group {
        width: 100%;
        margin-top: 0.5rem;
    }

    .medic-orders-page .btn-group .btn {
        flex: 1;
        margin: 0 0.125rem;
    }

    .medic-order-detail-page .d-flex.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .medic-order-item-thumb {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .medic-track-order-page .tracking-timeline {
        padding-left: 2rem;
    }

    .medic-track-order-page .tracking-timeline::before {
        left: 1rem;
    }

    .medic-track-order-page .timeline-marker {
        left: -0.5rem;
        width: 2rem;
        height: 2rem;
    }

    .medic-track-order-page .timeline-marker i {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .admin-filter-actions {
        justify-content: stretch;
    }

    .admin-filter-actions .btn {
        flex: 1 1 0;
    }

    .admin-form-actions {
        justify-content: stretch;
    }

    .admin-form-actions .btn {
        flex: 1 1 auto;
    }

    body.admin-route .admin-page-head {
        align-items: stretch !important;
        flex-direction: column;
    }

    body.admin-route .admin-page-head > div:last-child,
    body.admin-route .admin-page-head > a:last-child {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    body.admin-route .col-content .table thead th {
        font-size: 0.72rem;
    }

    body.admin-route .admin-actions {
        justify-content: flex-start;
    }
}

@media (min-width: 992px) {
    #profileLayout.collapsed .col-sidebar {
        flex: 0 0 72px !important;
        max-width: 72px !important;
    }

    #profileLayout.collapsed .col-content {
        flex: 1 1 auto !important;
        max-width: calc(100% - 72px) !important;
    }

    #profileLayout.collapsed #sidebar {
        padding: 0.5rem;
    }

    #profileLayout.collapsed #sidebar .nav-title,
    #profileLayout.collapsed #sidebar .nav-section,
    #profileLayout.collapsed #sidebar .nav-text {
        display: none !important;
    }

    #profileLayout.collapsed #sidebar .nav-link {
        justify-content: center;
        padding: 0.5rem 0;
    }

    #profileLayout.collapsed #sidebar .btn-danger .nav-text {
        display: none !important;
    }

    #profileLayout.collapsed #sidebar .toggle-sidebar i {
        transform: rotate(180deg);
    }

    #profileLayout.collapsed #sidebar .nav-group-toggle {
        justify-content: center;
        padding: 0.5rem 0;
    }

    #profileLayout.collapsed #sidebar .nav-group-toggle .toggle-icon {
        display: none;
    }

    #profileLayout.collapsed #sidebar .nav-group-items {
        display: none !important;
    }
}
