.portfolio-outer {
    padding: 130px 0 65px;
}

body,
div,
p,
span,
li {
    font-size: 14px;
}

.px-15 {
    padding: 0 15px;
}

.fs-12 {
    font-size: 12px;
}

.user-info {
    .btn-outer:nth-child(odd) {
        padding-left: 0;
        padding-right: 8px;
    }

    .btn-outer:nth-child(even) {
        padding-right: 0;
        padding-left: 8px;
    }

    .user-info-box {
        padding: 15px;
        border-radius: 18px;
        border: 1px solid #eee;

        &:hover {
            box-shadow: var(--base-box-shadow);
        }

        button {
            border: 0;
            width: 100%;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 1rem;
            background-color: #097cac26;

            &:hover {
                color: #fff;
                background-color: var(--base-orange);
            }
        }
    }

    /* #toggle-container {
	gap: 75px;
	padding: 7px 10px;
	width: 100%;
	border-radius: 8px;
}

.toggle-container {
	gap: 16px;
	margin: auto;
	display: flex;
	padding: 8px 15px;
	width: fit-content;
	align-items: center;
	border-radius: 10px;
	background-color: var(--base-purple);
}

.toggle-label {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}

#switch {
	height: 26px;
}

.switch {
	position: relative;
	display: inline-block;
	width: 65px;
	height: 34px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--base-orange);
	transition: .4s;
	border-radius: 34px;
}

#slider:before {
	height: 21px;
	bottom: 3px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
	border-radius: 50% 0 0 50%;
}

input:checked+.slider {
	background-color: #586487;
}

input:focus+.slider {
	box-shadow: 0 0 1px #586487;
}

input:checked+.slider:before {
	border-radius: 0 50% 50% 0;
	transform: translateX(32px);
}

.on,
.off {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	font-weight: bold;
	color: white;
}

.on {
	right: 10px;
}

.off {
	left: 10px;
}

input:checked+.slider .on {
	display: none;
}

input:checked+.slider .off {
	display: block;
}

.slider .on {
	display: block;
}

.slider .off {
	display: none;
} */
    /* Default styles (for larger screens like desktops) */
    #toggle-container {
        width: 100%;
        padding: 5px 15px;
    }

    .toggle-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 8px 15px;
        width: fit-content;
        border-radius: 10px;
        margin: auto;
        background-color: var(--base-purple);
    }

    .toggle-label {
        color: #fff;
        font-size: 16px;
        font-weight: 600;
    }

    #toggle-container.autoInvestOuter {
        padding-left: 15px;
        padding-right: 15px;
        background-color: #097cac26;

        .toggle-label {
            color: #000;
            font-size: 14px;
            font-weight: 500;
        }
    }

    #switch {
        height: 30px;
    }

    .switch {
        position: relative;
        display: inline-block;
        width: 65px;
        height: 34px;
    }

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--base-orange);
        transition: .4s;
        border-radius: 34px;
    }

    #slider:before {
        height: 24px;
        width: 24px;
        bottom: 3px;
        left: 2px;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 2px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

    input:checked+.slider {
        background-color: #586487;
    }

    input:checked+.slider:before {
        transform: translateX(32px);
    }

    /* Adjust text inside the toggle */
    .on,
    .off {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        font-weight: bold;
        color: white;
    }

    .on {
        right: 10px;
    }

    .off {
        left: 10px;
    }

    /* Responsive for Laptop Screens */
    @media (max-width: 1440px) {
        #toggle-container {
            padding: 5px;
        }

        .toggle-container {
            gap: 12px;
            /* Reduce spacing */
            padding: 6px 12px;
            min-width: 150px;
            /* Prevent shrinking */
        }

        .switch {
            width: 60px;
            height: 30px;
        }

        .slider {
            height: 30px;
        }

        #slider:before {
            left: 5px;
        }

        .slider:before {
            height: 24px;
            width: 24px;
            left: 5px;
            bottom: 3px;
        }

        input:checked+.slider:before {
            transform: translateX(25px);
        }

        .on,
        .off {
            font-size: 11px;
            /* Adjust font size */
        }
    }

    /* Responsive for Smaller Laptop Screens */
    @media (max-width: 1024px) {
        .toggle-container {
            min-width: 140px;
            /* Adjust width */
            gap: 10px;
            padding: 5px 10px;
        }

        .switch {
            width: 50px;
            height: 28px;
        }

        .slider {
            height: 28px;
        }

        .slider:before {
            height: 20px;
            width: 20px;
            left: 3px;
            bottom: 4px;
        }

        input:checked+.slider:before {
            transform: translateX(22px);
        }

        .on,
        .off {
            font-size: 10px;
        }
    }

    .user-details-bg {
        width: 100%;
        height: 120px;
        border-radius: 15px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .user-dp-area {
        position: relative;
        padding-bottom: 3rem;
    }

    .user-dp {
        left: 37%;
        bottom: 0;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        position: absolute;
        border: 4px solid #fff;
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
    background-color: #f0f0f0;
}

.disabled .AddMonthlyAutoInvest {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.portfolioGrowSection-2-btn button {
    border: 0;
    color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    background-color: var(--base-orange);
}

.portfolioGrowSection-2-btn {
    left: 37%;
    bottom: 5%;
}

.portfolioGrowSection-2-btn button:hover {
    background-color: #092052;
}

.announcement {
    padding: 15px;
    border-radius: 18px;
    border: 1px solid #eee;

    &:hover {
        box-shadow: var(--base-box-shadow);
    }

    ul {
        /* height: 500px; */
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    li {
        /* border-bottom: 1px solid #E1E8EF; */
        /* img {
		border-radius: 50%;
	} */
    }

    .add_anncouncement {
        border: 0;
        color: #fff;
        font-size: 14px;
        width: fit-content;
        border-radius: 30px;
        padding: 4px 15px 4px 10px;
        background-color: var(--base-orange);

        &:hover {
            background-color: var(--base-purple);
        }

        i {
            font-size: 16px;
            -webkit-text-stroke: .5px;
        }
    }
}

.explore-box {
    padding: 15px 0;
    border-radius: 18px;
    border: 1px solid #eee;

    &:hover {
        box-shadow: var(--base-box-shadow);
    }

    .e-boxes {
        .e-cards {
            padding: 10px;
            text-align: center;
            border-radius: 18px;
            border: 1px solid #eee;

            &:hover {
                box-shadow: var(--base-box-shadow);
            }
        }

        img {
            width: 55px;
            height: 55px;
            object-fit: contain;
        }

        h6 {
            font-size: 13px;
            min-height: 35px;
            margin: 10px 0 0 0;
        }
    }
}

.red_header {
    color: #fff;
    padding: 15px;
    border-radius: 30px;
    background-size: contain;
    background-position: right;
    background-color: var(--base-orange);
    background-image: url('../HeaderIcons/Mask.svg');

    img {
        width: 250px;
        height: 200px;
        object-fit: contain;
    }

    .button-area {
        button {
            min-width: 170px;
            transition: all .3s ease-in-out;

            &:hover {
                transform: scale(1.1);
            }
        }

        button.fButton {
            color: #fff;
            padding: 12px;
            border-radius: 30px;
            border: 2px solid var(--base-purple);
            background-color: var(--base-purple);
        }

        button.lButton {
            color: #fff;
            padding: 8px 12px;
            border-radius: 30px;
            border: 2px solid #fff;
            background-color: transparent;

            i {
                font-size: 18px;
                -webkit-text-stroke: .5px;
            }
        }
    }
}

.daysInfo {
    .daysInfoCards {
        padding: 15px 10px;
        text-align: center;
        border-radius: 18px;
        border: 1px solid #eee;

        &:hover {
            box-shadow: var(--base-box-shadow);
        }

        img {
            width: 35px;
            height: 35px;
            object-fit: contain;
        }
    }

    b {
        font-size: 22px;
    }

    i {
        font-size: 14px;
        -webkit-text-stroke: .5px;
    }

    .badge {
        font-size: 12px;
        border-radius: 30px;
        padding: 5px 5px 5px 3px;
        color: var(--base-orange);
        border: 1px solid var(--base-orange);
        background-color: var(--base-light-pink);
    }
}

.prrBox {
    background-color: #f0f8ff69;
}

.apexcharts-xaxis .apexcharts-xaxis-label {
    fill: #586487 !important;
}

.apexcharts-xaxis-category {
    fill: #586487 !important;
}

.apexcharts-xaxis text {
    fill: #586487 !important;
}

.apexcharts-text tspan {
    fill: #586487 !important;
}

.filterAreaOuter {
    padding: 0 15px;

    b {
        font-size: 20px;
    }
}

.preferred_return_report {
    border-radius: 18px;
    border: 1px solid #eee;

    .filterAreaOuter {
        b {
            font-size: 16px;
        }
    }
}

.px-12 {
    padding-left: 12px;
    padding-right: 12px;
}

.filterArea {
    gap: 1rem;
    display: flex;

    img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .filterBtn {
        font-size: 14px;
        cursor: pointer;
        padding: 10px 15px;
        border-radius: 10px;
        color: var(--base-gray);
        border: 1px solid #eee;
        -webkit-text-stroke: .5px;
        background-color: transparent;
    }

    button {
        cursor: pointer;
        font-size: 14px;
        transition: .2s;
        font-weight: 500;
        user-select: none;
        padding: 10px 15px;
        border-radius: 10px;
        color: var(--base-gray);
        border: 1px solid #eee;
        background-color: transparent;
    }

    button i {
        transition: .3s ease-in-out;
        margin-left: 10px;
        position: relative;
        display: inline-block;
    }

    button:focus {
        pointer-events: none;
    }

    button:focus~.dropdown {
        top: calc(100% + 10px);
        opacity: 1;
        pointer-events: auto;
    }

    button:focus i {
        transform: rotate(180deg);
    }

    .dropdown-container {
        position: relative;
    }

    .dropdown {
        z-index: 2;
        position: absolute;
        top: calc(100% + 20px);
        width: 100%;
        border-radius: 10px;
        transition: .3s ease-in-out;
        opacity: 0;
        pointer-events: none;
        padding: 5px;
        background: #242424;
        border: solid 1px #414141;
    }

    .dropdown a {
        text-decoration: none;
        border-radius: 5px;
        user-select: none;
        font-size: 14px;
        padding: 10px 20px;
        cursor: pointer;
        display: block;
        width: 100%;
        color: #a9a9a9;
        ;
        font-weight: 600;
        transition: .2s;
    }

    .dropdown a:hover {
        background-color: #2F2F2F;
        color: white;
    }
}

.portfolioGrowSection-1 {
    padding: 25px 35px;
    border-radius: 30px;
    background-color: var(--base-light-pink);

    .portfolioGrowSection-1_1 {
        padding: 20px;
        border-radius: 30px;
        background-color: #fff;

        b {
            font-size: 24px;
        }

        img {
            border-radius: 10px;
            width: 100%;
            height: 270px;
            object-fit: fill;
        }
    }

    .carousel-control-next,
    .carousel-control-prev {
        z-index: 0 !important;
    }

    b.growText {
        display: block;
        line-height: 1;
        font-size: 28px;
        text-align: center;
        margin: 1rem 0;
    }

    p {
        display: block;
        line-height: 1;
        font-size: 14px;
        text-align: center;
    }

    .growthDecline {
        font-size: 10px;
        font-weight: 600;
        color: var(--base-orange);
    }

    .apexcharts-text tspan {
        font-weight: 700;
        fill: #000 !important;
    }

    .AddMonthlyAutoInvest {
        border: 0;
        color: #fff;
        padding: 10px 15px;
        border-radius: 30px;
        background-color: var(--base-orange);

        &:hover {
            background-color: var(--base-purple);
        }
    }
}

.portfolioGrowSection-2 {
    padding: 25px 30px;
    border-radius: 30px;
    border: 1px solid #eee;

    &:hover {
        box-shadow: var(--base-box-shadow);
    }

    b {
        font-size: 16px;
    }

    .dropdown {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        padding: 10px 15px;
        color: #333;
        background: transparent;
        user-select: none;

        span:first-child {
            font-size: 12px;
            font-weight: 600;
            color: var(--base-gray);
        }
    }

    .caret {
        font-size: 12px;
        display: inline-block;
        color: var(--base-gray);
        transition: transform 0.2s ease-in-out;
    }

    .dropdown:hover .caret {
        transform: rotate(180deg);
    }

    .dropdown.active .caret {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        width: fit-content;
        min-width: fit-content;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        list-style: none;
        padding: 5px 0;
        margin: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        padding: 8px 15px;
        color: #333;
        font-size: 12px;
        cursor: pointer;
        background: transparent;
    }

    .chart-container {
        width: 100%;
        height: 165px;
        margin: .5rem 0;
        position: relative;
    }

    b.growText {
        display: block;
        line-height: 1;
        font-size: 28px;
        text-align: center;
        margin: 1rem 0;
    }

    p {
        display: block;
        line-height: 1;
        font-size: 14px;
        text-align: center;
    }

    .AddMonthlyAutoInvest {
        border: 0;
        color: #fff;
        padding: 10px 15px;
        border-radius: 30px;
        background-color: var(--base-orange);

        &:hover {
            background-color: var(--base-purple);
        }
    }

    .savingBalanceCards {
        border: 0;
        padding: 8px 12px;
        border-radius: 8px;
        box-shadow: var(--base-box-shadow);
    }

    .badge {
        font-size: 10px;
        padding: 5px 7px;
        border-radius: 30px;
        color: var(--base-orange);
        border: 1px solid var(--base-light-pink);
        background-color: var(--base-light-pink);
    }

    .badge.badge-green {
        color: #05CD99;
        border: 1px solid #E6FAF5;
        background-color: #E6FAF5;
    }

    .savingBalanceInner {
        padding: 0 6px;
    }
}

.portfolioGrowSection-1,
.portfolioGrowSection-2 {
    min-height: 545px;

    p {
        min-height: 55px;
        margin-bottom: 5px;
    }

    b.growText {
        min-height: 55px;
    }
}

.wts-point5 {
    -webkit-text-stroke: .5px;
}

.recentTransactions {
    margin: 10px 0;
    padding: 0 15px;
    border-radius: 12px;
    border: 1px solid #eee;

    &:hover {
        box-shadow: var(--base-box-shadow);
    }

    .nav-tabs .nav-link {
        border: none;
        padding: 10px;
        font-size: 13px;
        color: var(--base-gray);
        background-color: transparent;
    }

    .nav-tabs .nav-link.active {
        color: var(--base-orange);
        border-bottom: 2px solid var(--base-orange);
    }

    .table {
        margin-top: 20px;
    }

    .table th,
    .table td {
        border-top: none;
        padding: 1rem;
    }
}

#myRTTabContent {
    ul {
        padding: 1rem 0 3rem 0;

        li {
            border-bottom: 1px solid #dee2e6;

            b {
                font-size: 13px;
            }

            .col-3 {
                padding: 15px 5px;
            }
        }
    }
}

.red_header .rhs_content:not(:first-child) {
    display: none;
}

.belowUserInfoSection .belowUserInfo {
    display: none;
}

.belowUserInfoSection .belowUserInfo:nth-of-type(2) {
    display: block;
}

#menuTabsContent {
    padding: 15px 0;
    margin-top: 1rem;
}

#menuTabs {
    margin-left: 0;
    margin-right: 0;

    .nav-link {
        color: #fff;
        min-width: 92px;
        border-radius: .25rem;

        &:hover,
        & i:hover,
        & small:hover {
            color: #fff;
        }
    }
}

.nav-link:hover i,
.nav-link:hover small {
    color: #fff;
}

.marketplaceIconMenu {
    color: #fff;
    min-width: 92px;
    border-radius: .25rem;
    padding: .5rem;

    small {
        font-size: 12px;
    }
}

.marketplaceIconMenu:hover {
    background-color: var(--ce-main-color);
    color: #fff;
}

.cus-border {
    border: 1px solid #eee;
}

.modal .input-group-addon {
    color: #fff;
    line-height: 2;
    font-size: 16px;
    padding: 5px 15px;
    background: #CD202A;
    border-radius: 4px 0 0 4px;
}

.dark-mode {
    .disabled {
        opacity: 0.5;
        pointer-events: none;
        background-color: #222221;
    }
}

table.dataTable thead .sorting {
    background-image: none !important;
}

@media only screen and (max-width: 900px) {
    .portfolio-outer {
        padding: 100px 0;
    }

    .px-15 {
        padding: 0 10px;
    }

    /* .marketplaceIconMenu {
        color: #000;

        small {
            color: #000;
            font-weight: 500;
        }

        i {
            font-weight: 500 !important;
            color: #000 !important;
        }
    } */

    .user-area-name {
        color: unset !important;
    }

    #navbarSupportedContent {
        .navbar-nav>li>a {
            padding: 0 10px !important;
        }
    }

    .rcxHomePage {
        padding: 0;
    }

    .daysInfo {
        .daysInfoCards {
            padding: 15px 15px;
            margin-bottom: 1rem;
        }

        .col-12 {
            padding: 0;
        }
    }

    .portfolioGrowSection {
        .col-12 {
            padding: 0;
        }
    }

    .red_header {
        p {
            font-size: 12px;
        }

        .button-area.row {
            text-align: center;
            margin: 0 0 .5rem !important;
        }

        .rhs_content {
            .text-area:first-child {
                order: 2;
                padding: 0;
                text-align: center;
            }

            .image-area {
                text-align: center;

                img {
                    width: 150px;
                    height: 150px;
                }
            }
        }
    }

    .callRedHeader.px-15,
    #investments-content .px-15,
    .preferred_return_report .px-15 {
        padding: 0;
    }

    .red_header {
        & .button-area {
            button {
                display: flex;
                font-size: 12px;
                min-width: 100%;
                min-height: 45px;
                justify-content: center;
                align-items: center;
                padding: 5px;
            }
        }
    }

    .red_header {
        & .button-area {
            & button {
                &:hover {
                    transform: scale(1);
                }
            }
        }
    }

    .preferred_return_report .filterAreaOuter {
        b {
            font-size: 12px;
        }
    }

    .filterArea {
        button {
            font-size: 10px;
            padding: 5px 10px;
        }

        .filterBtn {
            font-size: 12px;
            padding: 5px 10px;
        }
    }

    .recentTransactions {
        .nav-tabs .nav-link {
            padding: 8px;
            font-size: 11px;
        }
    }

    #myRTTabContent {
        & ul {
            padding: 1rem 0 1rem 0;

            & li {
                .col-3 {
                    padding: 15px 2px;
                }

                b {
                    font-size: 11px;
                }
            }
        }
    }

    .portfolioGrowSection-1 {
        .portfolioGrowSection-1_1 {
            img {
                object-fit: fill;
            }
        }
    }

    .portfolioGrowSection-2 {
        .chart-container {
            height: 100px;

            canvas {
                height: 100px !important;
            }
        }

        .savingBalanceCards:first-child {
            margin-bottom: 1rem;
        }
    }

    .portfolioGrowSection-1,
    .portfolioGrowSection-2 {
        min-height: auto;
        padding: 20px 15px;
        margin-bottom: 1rem;

        b.growText {
            font-size: 20px;
            min-height: unset !important;
        }

        p {
            font-size: 12px;
            min-height: unset !important;
        }
    }

    .explore-box {
        & .e-boxes {
            img {
                width: 35px;
                height: 35px;
            }

            h6 {
                font-size: 12px;
                min-height: 28px;
            }
        }
    }

    .announcement {
        h5:first-child {
            margin: 0;
            font-size: 16px;
        }

        ul {

            /* height: 200px; */
            li {
                b {
                    font-size: 14px;
                }

                small {
                    font-size: 12px;
                }
            }
        }
    }

    .user-info {

        .btn-outer:nth-child(odd),
        .btn-outer:nth-child(even) {
            padding-left: 5px;
            padding-right: 5px;
        }

        .toggle-label {
            font-size: 14px;
        }

        .user-details-bg {
            height: 100px;
        }

        .user-dp {
            width: 80px;
            height: 80px;
        }

        .user-details {
            h5 {
                font-size: 16px;
            }

            p {
                font-size: 12px;
            }
        }

        .user-info-box {
            button {
                font-size: 13px;
                margin-bottom: .5rem;
            }
        }
    }

    .recentTransactions {
        border: 0;
        padding: 0;
        margin: 10px 0;
        border-radius: 0;

        &:hover {
            box-shadow: unset;
        }

        .recentTransBoxes {
            border-radius: 12px;
            border: 1px solid #eee;

            &:hover {
                box-shadow: var(--base-box-shadow);
            }

            b {
                color: #2C1E4A;
            }
        }
    }
}

@media only screen and (max-width:800px) {
    #toggle-container.autoInvestOuter {
        padding-left: 7px !important;

        .toggle-label {
            font-size: 13px !important;
        }
    }

    .toggle-container {
        gap: 2px !important;
    }

    .user-info {
        .switch {
            width: 58px;
        }

        #slider:before {
            bottom: 2px;
        }
    }

    input:checked+.slider:before {
        transform: translateX(25px) !important;
    }

    .portfolioGrowSection-2 {
        padding-bottom: 70px;
    }

    .portfolioGrowSection-2-btn {
        left: 30%;
        bottom: 7%;
    }
}