
/* ===============================
   NAVBAR
=================================*/
.custom-navbar {
    height: var(--nav-height);
    background: var(--clr-bg-nav);
    border-bottom: 1px solid var(--clr-border);
    padding: 0 32px;
    margin: 15px;
    margin-right: 23px;
    border-radius: 999px;

    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    /* left: calc(230px + 2vh); */

    z-index: 100;

    backdrop-filter: blur(12px);


    display: flex;
    justify-content: space-between;
    align-items: center;

}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 40px;
}


.current-business {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-left: 20px;
    padding-top: 5px;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.business-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #7b8794;
    line-height: 1;
}

.business-name {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.brand-logo {
    font-weight: 700;
    font-size: 20px;
    color: var(--clr-primary);
    letter-spacing: 0.5px;
    transition: color 0.5s ease;
    text-decoration: none;
}

.page-title{
    color: var(--clr-text-main);
    font-size: 20px;
    font-weight: 600px;
}

.search-input {
    background: var(--clr-primary-soft);
    border: none;
    border-radius: 10px;
    padding-left: 18px;
    height: 40px;
}

.search-input:focus {
    box-shadow: none;
    background: #ffffff;
}

.signin-btn-container a {
    text-decoration: none;
    padding: 8px 20px;
}


/* ===============================
   ADMIN DROPDOWN
=================================*/

.admin-btn {
    background: var(--clr-highlight);
    border: none;
    border-radius: 30px;
    padding: 6px 10px 6px 7px;
    font-weight: 500;
    color: var(--clr-primary);
}

.admin-btn:hover {
    background: var(--clr-primary-medium);
    box-shadow: var(--shadow-soft);
}

.admin-btn:focus {
    box-shadow: none;
}

.navbar .avatar {
    width: 32px;
    height: 32px;
    background: var(--clr-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.custom-dropdown {
    border-radius: 14px;
    border: 1px solid var(--clr-border);
    padding: 8px;
    min-width: 240px;
}

.custom-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 500;
}

.custom-dropdown .dropdown-item:hover {
    background: var(--clr-primary-soft);
    color: var(--clr-primary);
}

/* ===============================
   LAYOUT STRUCTURE
=================================*/
.app-layout {
    display: flex;
    height: 100vh;
}

/* ===============================
   SIDEBAR
=================================*/
.sidebar-container {
    display: flex;
    flex-direction: column;
}


.sidebar {
    background-color: var(--clr-bg-sidebar);
    width: 230px;
    /* height: calc(100vh - 110px);
    max-height:  calc(100vh - 110px); */
    
    height: calc(100vh - 110px);
    max-height:  calc(100vh - 110px);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: var(--radius);
    margin: 15px;
    margin-right: var(--gap);
    margin-top: calc(95px);

    /* Firefox */
    scrollbar-width: none;

    /* IE and Edge */
    -ms-overflow-style: none;
}

/* Chrome, Safari */
.sidebar::-webkit-scrollbar{
    display: none;
}


.sidebar-nav{
    padding: 10px 15px;
}

.sidebar-nav li i {
    padding-right: 16px;
    width: 32px !important;
}

.sidebar-nav .nav-link {
    font-weight: 600;
    color: var(--clr-text-medium);
    border-radius: var(--radius);
    padding: 10px 20px;
    margin: 5px 0;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .active {
    background: var(--clr-primary-soft);
    color: var(--clr-primary);
}

/* .sidebar-nav .active {
    box-shadow: 1px 0 4px rgba(165, 178, 189, 0.5);
} */

.sub-menu {
    padding-left: 12px;
}

.sub-menu .nav-link {
    font-size: 14px;
    padding: 8px 14px;
}

.arrow {
    font-size: 16px;
    opacity: 0.6;
}

/* Quick sale button */
.quick-sale {
    background: var(--clr-primary);
    color: #fff !important;
    border-radius: var(--radius-input) !important;
    /* margin-top: 20px !important; */
    margin-bottom: 20px !important;
    /* width: 150px; */
}
.quick-sale i {
    color: #fff;
}

.floating-sale-btn {
    position: absolute;
    left: calc(25px + var(--gap));
    bottom: 40px;
    /* transform: translateX(-50%); */

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    font-size: 22px !important;
    font-weight: bold;

    background: var(--clr-primary);

    color: white;
    font-size: 24px;
    text-decoration: none;

    box-shadow:
        0 8px 24px rgba(79, 70, 229, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.08);

    transition: all 0.2s ease;
    opacity: .9;
    z-index: 999;
}

.floating-sale-btn:hover {
    transform: scale(1.06);
    opacity: 1;

    color: white;
}


/* .floating-sale-btn:active {
    transform: translateX(-50%) scale(0.95);
} */

/* ===============================
   CONTENT AREA
=================================*/
.content-area {
    flex: 1;
    /* padding: 32px; */
    overflow-y: auto;
}

/* Empty placeholder block */
.content-placeholder {
    border-radius: var(--radius);
    min-height: 100%;
    margin-top: calc(80px + var(--gap));
    margin-right: 15px;
}

/* Ṃanage users page */
.table td {
    vertical-align: middle;
}