.main-sidebar .nav > .nav-item > .nav-link {
    cursor: pointer;
}

.copyInput {
    display: inline-block;
    line-height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.copied::after {
    position: absolute;
    top: 0;
    right: 100%;
    display: block;
    content: "COPIED";
    font-size: 1em;
    padding: 2px 5px;
    color: #fff;
    background-color: #22a;
    border-radius: 3px;
    opacity: 0;
    will-change: opacity, transform;
    animation: showcopied 1.5s ease;
}

nav ul.pagination {
    justify-content: flex-end;
}

@keyframes showcopied {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    50% {
        opacity: 0.7;
        transform: translateX(40%);
    }
    70% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
    }
}

table thead tr th:last-child {
    text-align: right;
}

table tbody tr td:last-child {
    text-align: right;
}

.search-control {
    width: 100% !important;
}
@media screen and (max-width:1199px) {
    .global-table thead {
            display: none;
    }
    .global-table tr {
        display: block;
    }
    .global-table tr:nth-of-type(2n + 2) td {
        background: aliceblue;
    }
    .global-table tr td {
        display: flex;
        justify-content: space-between;
        text-align: right;
    }
    .global-table tr td::before {
        content: attr(data-level);
        margin-right: 10px;
    }
}

.nice-select ul.list {
    width: 100%;
}

/* User Avatar Styles */
.navbar-nav .nav-link .user-avatar-img,
.navbar-nav .nav-link .user-avatar-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6c757d;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link .user-avatar-img {
    padding: 0;
}

.navbar-nav .nav-link .user-avatar-initials {
    padding: 0;
    line-height: 1;
}

/* Reduce sidebar width to give more room for content - Desktop only */
@media screen and (min-width: 992px) {
    .main-sidebar {
        width: 210px !important;
        min-width: 210px !important;
    }

    .main-panel-wrapper {
        width: calc(100% - 210px) !important;
        margin-left: 210px !important;
    }
}

/* Reduce dashboard metric icons by 30% for desktop and tablet views */
@media screen and (min-width: 768px) {
    .dashboard-w2 .icon {
        font-size: 40px !important; /* 30% reduction from 52px */
    }
}

