:root {
    --active-wifi: #3fc36b;
    --page-title: #979797;
}

.fixed-content-header .page-content-title {
    font-size: 15px;
    color: var(--page-title);
}

.fixed-content-header .actions-row .action {
    height: 44px;
    width: 44px !important;
    border-radius: 50%;
    background-color: var(--item-bg);
    border: 1px solid var(--item-bg);
}

.fixed-content-header .actions-row .action:hover {
    background-color: var(--item-hover-bg) !important;
    border-color: var(--item-hover-bg) !important;
}

.fixed-content-header .space-toggle {
    background-color: var(--item-bg);
    border: 1px solid var(--item-bg);
    border-radius: 20px;
    height: 44px;
}

.fixed-content-header .space-menu .dropdown-item:hover {
    background-color: var(--item-hover-bg) !important;
    border-color: var(--item-hover-bg) !important;
}

.fixed-content-header .space-menu {
    background-color: var(--item-bg);
    min-width: 100%;
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
}

.fixed-content-header:has(.space-menu.show) .space-toggle {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.fixed-content-header .wifi-icon {
    font-size: 30px;
}

.fixed-content-header .wifi-icon.blinking { animation: wifi-blink 0.6s linear infinite; }

@keyframes wifi-blink {
    0%, 100% { color: var(--active-wifi); }
    50% { color: #e74c3c; }
}

.fixed-content-header .wifi-icon.connected {
    color: var(--active-wifi);
}

.fixed-content-header {
    min-height: 44px;
}

.force-hide {
    display: none !important;
}

.profile-tabs {
    margin-bottom: -40px;
}

.profile-tabs .rounder {
    width: 18px;
    height: 21px;
}

.profile-tabs .start-bottom-rounder {
    background-color: var(--base-box-bg);
    margin-top: 26px;
    margin-inline-start: -18px;
}

[dir="ltr"] .profile-tabs .start-bottom-rounder {
    border-top-left-radius: 10px;
}

[dir="rtl"] .profile-tabs .start-bottom-rounder {
    border-top-right-radius: 10px;
}

.profile-tabs .start-top-rounder {
    background-color: var(--base-bg);
    margin-top: 26px;
    margin-inline-start: -18px;
}

[dir="ltr"] .profile-tabs .start-top-rounder {
    border-bottom-right-radius: 10px;
}

[dir="rtl"] .profile-tabs .start-top-rounder {
    border-bottom-left-radius: 10px;
}

.profile-tabs .end-bottom-rounder {
    background-color: var(--base-bg);
    margin-top: 26px;
}

[dir="ltr"] .profile-tabs .end-bottom-rounder {
    border-bottom-left-radius: 10px;
}

[dir="rtl"] .profile-tabs .end-bottom-rounder {
    border-bottom-right-radius: 10px;
}

.profile-tabs .end-top-rounder {
    background-color: var(--base-box-bg);
    margin-top: 26px;
}

[dir="ltr"] .profile-tabs .end-top-rounder {
    border-top-right-radius: 10px;
}

[dir="rtl"] .profile-tabs .end-top-rounder {
    border-top-left-radius: 10px;
}

.profile-tabs .tab-item {
    width: 150px;
}

.profile-tabs .tab-item {
    font-size: 14px;
    border-radius: 0;
}

.profile-tabs .tab-item.active {
    position: relative;
    z-index: 1;
    font-weight: 500;
    background-color: var(--base-box-bg);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.profile-tabs .tab-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 10px;
    box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.02);    
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    z-index: -1;
    width: 100%;
    pointer-events: none;
}

.fixed-content-header .actions-row .action.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.fixed-content-header .actions-row .action.locked button {
    pointer-events: none;
    cursor: not-allowed;
}

.fixed-content-header .actions-row .action.locked:hover {
    background-color: var(--item-bg) !important;
    border-color: var(--item-bg) !important;
}

@media (max-width: 910px) and (min-width: 768px) {
    .profile-tabs .tab-item {
        width: 112px;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
  
@media (max-width: 767.98px) {
    .profile-tabs {
        order: 2;
    }
    .profile-tabs .end-top-rounder, .profile-tabs .end-bottom-rounder, .profile-tabs .start-bottom-rounder, .profile-tabs .start-top-rounder {
        margin-top: 31px;
    }
}

@media (max-width: 575.98px) {
    .profile-tabs {
        display: none !important;
    }
    .fixed-content-header .actions-row .action {
        width: 38px !important;
        height: 38px;
    }
    .fixed-content-header .actions-row .action i {
        font-size: 24px !important;
    }
    .fixed-content-header .actions-row {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    .fixed-content-header .actions-row .dropdown {
        order: 4;
        margin-top: 6px;
    }
    .fixed-content-header .space-toggle {
        max-width: 164px;
        padding-left: 12px;
        padding-right: 12px;
    }
}