/* Shared control normalization for the dashboard application shell. */
body.dashboard-shell .dashboard-header-search,
body.dashboard-shell .header-left {
    flex: 1 1 auto;
    min-width: 0;
}

body.dashboard-shell .dashboard-header-search .search-area {
    align-items: stretch;
    background: #fff !important;
    border: 1px solid var(--border, #d4d8db) !important;
    border-radius: 1rem !important;
    box-shadow: 0 1px 2px rgba(24, 37, 59, .04) !important;
    box-sizing: border-box;
    display: flex !important;
    gap: 0 !important;
    height: 3.35rem !important;
    min-width: 0;
    overflow: visible;
    padding: 0 !important;
    position: relative;
    width: 100% !important;
}

body.dashboard-shell .dashboard-header-search .search-area > .input-group-text {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: flex;
    flex: 0 0 3.25rem;
    height: auto !important;
    justify-content: center;
    margin: 0 !important;
    min-width: 3.25rem;
    padding: 0 !important;
}

body.dashboard-shell .dashboard-header-search .search-area > .form-control {
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 1 1 auto;
    height: auto !important;
    margin: 0 !important;
    min-width: 0;
    padding-left: .15rem;
    padding-right: .85rem;
    width: 1%;
    font-size: 16px !important;
}

body.dashboard-shell .header .header-content,
body.dashboard-shell .header .navbar,
body.dashboard-shell .header .navbar-collapse,
body.dashboard-shell .header-left,
body.dashboard-shell .header-right {
    align-items: center;
    min-width: 0;
}

body.dashboard-shell .header .header-content,
body.dashboard-shell .header .navbar-collapse {
    flex-wrap: nowrap;
}

body.dashboard-shell .header-right {
    display: flex;
    flex: 0 0 auto;
}

/* Prepend, amount input, and append form one connected control. */
body.dashboard-shell .pezani-money-group {
    align-items: stretch;
    background: #f7f9fb !important;
    border: 1px solid var(--border, #d4d8db) !important;
    border-radius: 1rem !important;
    box-sizing: border-box;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: 100% !important;
}

body.dashboard-shell .pezani-money-group .input-group-prepend,
body.dashboard-shell .pezani-money-group .input-group-append {
    display: flex !important;
    flex: 0 0 auto;
    margin: 0 !important;
}

body.dashboard-shell .pezani-money-group .input-group-text {
    align-items: center;
    background: #f7f9fb !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: flex;
    height: auto !important;
    margin: 0 !important;
    min-height: 3.25rem;
    padding: .75rem 1rem !important;
    white-space: nowrap;
}

body.dashboard-shell .pezani-money-group .input-group-prepend .input-group-text {
    border-right: 1px solid var(--border, #d4d8db) !important;
}

body.dashboard-shell .pezani-money-group .input-group-append .input-group-text {
    border-left: 1px solid var(--border, #d4d8db) !important;
}

body.dashboard-shell .pezani-money-group > .form-control {
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 1 1 auto;
    height: auto !important;
    margin: 0 !important;
    min-width: 0;
    width: 1%;
}

@media only screen and (max-width: 575px) {
    body.dashboard-shell .header .header-content {
        gap: .5rem;
    }

    body.dashboard-shell .header .header-content > .dashboard-nav-toggle {
        flex: 0 0 3rem;
        height: 3rem;
        width: 3rem;
    }

    body.dashboard-shell .dashboard-header-search .search-area,
    body.dashboard-shell .mobile-header-action .nav-link {
        height: 3.15rem !important;
    }

    body.dashboard-shell .dashboard-header-search .search-area > .input-group-text {
        flex-basis: 2.75rem;
        min-width: 2.75rem;
    }

    body.dashboard-shell .dashboard-header-search .material-icons {
        font-size: 1.55rem !important;
    }

    body.dashboard-shell .dashboard-header-search .form-control {
        font-size: 16px !important;
        padding-left: .15rem;
        padding-right: .65rem;
    }

    body.dashboard-shell .mobile-header-action .nav-link {
        width: 3rem;
    }
}
