/* ====================== Custom Dashboard Header Styles ====================== */

/* Make header background white */
.header-2 {
    background: hsl(var(--white)) !important;
    border-bottom: 1px solid hsl(var(--black)/0.1);
    display: flex;
    flex-direction: row-reverse; /* This reverses the order - hamburger goes right */
}

/* Hide the background image overlay on header */
.header-2 .header-2__bg {
    opacity: 0.02;
}

/* Adjust logo container */
.header-2 .logo {
    width: auto;
    border-right: none;
    border-left: 1px solid hsl(var(--black)/0.1);
    padding: 0 25px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .header-2 {
        flex-direction: column;
    }
    
    .header-2 .logo {
        width: 100%;
        justify-content: flex-end;
        border-left: none;
        border-bottom: 1px solid hsl(var(--black)/0.1);
        padding: 10px 15px;
    }
}

/* Header menu takes remaining space */
.header-2 .header-menu {
    flex-grow: 1;
    padding-left: 25px;
}

@media screen and (max-width: 767px) {
    .header-2 .header-menu {
        width: 100%;
        padding: 10px 15px;
    }
}

/* Change user text colors for white background */
.header-2__user__txt {
    color: hsl(var(--black)/0.7);
}

.header-2__user__username {
    color: hsl(var(--black)/0.8);
}

.header-2__user__balance {
    color: hsl(var(--black)/0.6);
}

/* Change page name color for white background */
.header-2 .header-menu .page-name {
    color: hsl(var(--black)/0.8);
}

/* Change account number color for white background */
.header-2 .header-menu .account-number {
    color: hsl(var(--black)/0.5);
}

/* Keep sidebar toggler button styled properly */
.header-2 .logo .sidebar-toggler {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: hsl(var(--base));
    border-radius: 5px;
    color: hsl(var(--white));
    font-size: 1.875rem;
}

/* Make main content background match */
.main-content::before {
    top: 70px;
    border-radius: 0;
}

.main-content::after {
    top: 70px;
    border-radius: 0;
}

@media screen and (max-width: 767px) {
    .main-content::before {
        top: 140px;
    }
    
    .main-content::after {
        top: 140px;
    }
}