html {
    user-select: none;
    scrollbar-width: none;

    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

html.native-app,
body.native-app,
html.native-app *,
body.native-app * {
    scrollbar-width: none;
}

html.native-app::-webkit-scrollbar,
body.native-app::-webkit-scrollbar,
html.native-app *::-webkit-scrollbar,
body.native-app *::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

* {
    font-family: 'Poppins', sans-serif;
}

button {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    border-radius: 30px;
    transition: transform 0.2s;
}

button:active {
    transform: scale(0.95);
}

.top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0e223b;
    padding: 18px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.back-button {
    color: white;
    text-decoration: none;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.back-button::before {
    content: '';
    display: block;
    box-sizing: content-box;
    width: 9px;
    height: 9px;
    border-left: 2.5px solid white;
    border-bottom: 2.5px solid white;
    transform: rotate(45deg) translate(1px, -1px);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.32);
}

[data-theme="dark"] .back-button {
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .back-button:hover {
    background: rgba(255, 255, 255, 0.22);
}

.nav-text {
    font-size: 18px;
    margin: 0;
    color: white;
}

[data-theme="dark"] .nav-text {
    color: #e8e8e8;
}

.home-button {
    color: white;
    text-decoration: none;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.home-button:hover {
    background: rgba(255, 255, 255, 0.32);
}

[data-theme="dark"] .home-button {
    color: #e8e8e8;
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .home-button:hover {
    background: rgba(255, 255, 255, 0.22);
}

.dashboard-bar {
    display: flex;
    justify-content: space-between;
    background-color: #0e223b;
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    align-items: stretch;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    min-height: 60px;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

[data-theme="dark"] .nav-item {
    color: #e8e8e8;
}

.nav-item strong {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
}

.home-icon {
    height: 18px;
    width: 18px;
    display: block;
    border-radius: 3px;
}

@media (max-width: 600px) {
    .home-icon {
        height: 16px;
        width: 16px;
    }
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
}
.icon svg {
    width: 1em;
    height: 1em;
    display: block;
    flex-shrink: 0;
}