footer {
    box-shadow: 0px -4px 8px 8px #00000017;
    display: none !important;
}
input[type="checkbox"] {
    cursor: pointer;
}
.fi-simple-layout .fi-fo-field-wrp-label span,
.fi-simple-layout .fi-simple-header-heading{
    text-transform: capitalize;
}
.fi-simple-layout p.fi-simple-header-subheading.mt-2.text-center.text-sm.text-gray-500.dark\:text-gray-400 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    bottom: 35px;
}
.fi-simple-layout main.fi-simple-main {
    margin: 0 !important;
    height: auto !important;
    position: relative;
    padding-bottom: calc(3rem + 50px);
}

/* .active-nav{
    background-color: #14b8a6;
} */
@media screen and (max-width:575px) {
    main {
        height: calc(100vh - 124px) !important;
        overflow: auto;
    }

    footer {
        display: flex !important;
    }

    .hide-navigation {
        display: none !important;
    }
    :root{
        overflow: hidden !important; 
    }
    .user-tree-block {
        height: calc(100vh - 280px);
    }

    /* .fi-sidebar-close-overlay {
        display: none !important;
    } */
}

.cards-container {
    width: 100%;
    max-width: 360px;
}

@media screen and (max-width: 1280px) {
    .cards-container {
        max-width: 500px;
    }
}

@media screen and (max-width: 1024px) {
    .cards-container {
        max-width: 360px;
    }
}

@media screen and (max-width: 768px) {
    .cards-container {
        max-width: 500px;
    }
}

.card-button {
    background-color: rgba(var(--primary-500),var(--tw-text-opacity,1)) !important;
}

.card-button:hover {
    background-color: rgba(var(--primary-700),var(--tw-text-opacity,1)) !important;
}

.highlighted-info {
    color: rgba(var(--primary-700),var(--tw-text-opacity,1));
    display: flex;
    gap: 10px;
}

.highlighted-info.user-details {
    /* border: 1px solid rgb(71, 163, 184); */
    border: 1px solid rgba(var(--primary-700),var(--tw-text-opacity,1));
    color: rgba(var(--primary-700),var(--tw-text-opacity,1));
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 20px;
}

@media screen and (max-width: 640px) {
    .highlighted-info {
        padding: 10px;
    }
}

.highlighted-info .info-count {
    font-size: 40px;
    line-height: 1.3;
    font-weight: bold;
}

.highlighted-info .info-title {
    display: flex;
    align-items: center;
    column-gap: 4px;
}

.highlighted-info .info-title span {
    font-size: 18px;
}

@media screen and (max-width: 1280px) {
    .highlighted-info .info-count {
        font-size: 26px;
    }
}


@media screen and (max-width: 399px) {
    .footer-nav span {
        font-size: 13px;
    }
}

.max-w-cst {
    max-width: 1800px;
}

.user-tree-block {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
}

.user-tree-block .boc-search {
    position: static;
    width: -webkit-fill-available !important;
}

.user-profile-img {
    border-radius: 12px;
    width: 150px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
    overflow: hidden;
}

@media screen and (max-width: 399px) {
    .user-profile-img {
        width: 80px;
    }
}

@media screen and (max-width: 640px) {
    .user-personal-info p strong {
        display: none;
    }
}

.user-profile-img img {
    width: 100%;
}  

.fi-simple-main-ctn {
    padding: 0 15px;
}

.footer-nav:hover svg,
.footer-nav:hover span {
    color: rgba(var(--primary-500),var(--tw-text-opacity,1));
}

/* Profit Table CSS */
.rotate-180 {
    transform: rotate(0deg) !important;
}

.leading-normal {
    width: 100%;
    max-width: 800px;
}

@media screen and (max-width: 1400px) {
    .leading-normal {
        max-width: 650px;
    }
}

@media screen and (max-width: 1240px) {
    .leading-normal {
        max-width: 600px;
    }
}

@media screen and (max-width: 1024px) {
    .leading-normal {
        max-width: 500px;
    }
}

@media screen and (max-width: 768px) {
    .leading-normal {
        max-width: 100%;
    }
}

/* USER TREE CSS */

.user-tree-custom ul {
    list-style: none;
    margin-left: 4px;
    border-left: 1px solid #dfdfdf;
}

.user-tree-custom li {
    padding-left: 20px;
}

.user-tree-custom li span {
    display: none;
}

.user-tree-custom li a {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin-bottom: 6px;
}

.user-tree-custom li a.search-result {
    background-color: rgba(var(--primary-100),var(--tw-text-opacity,1));
    padding: 4px 4px 4px 10px;
    color: rgba(var(--primary-600),var(--tw-text-opacity,1));
}

.user-tree-custom .no-child::before {
    content: " ";
    width: 8px;
    height: 8px;
    background-color: rgba(var(--primary-500),var(--tw-text-opacity,1));

}

.user-tree-custom .caret {
    cursor: pointer;
    user-select: none;
}

.user-tree-custom .caret::before {
    content: "";
    display: inline-block;
    margin-right: 0px;

    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;

    border-left: 8px solid rgba(var(--primary-500),var(--tw-text-opacity,1));
}

.user-tree-custom .caret-down::before {
    -ms-transform: rotate(90deg);
    /* IE 9 */
    -webkit-transform: rotate(90deg);
    /* Safari */
    transform: rotate(90deg);
}


.user-tree-custom .nested {
    display: none;
}

.user-tree-custom .active {
    display: block;
}