* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--black);
}

:root {
    --primary: #D12031;
    --secondary: #7C8DB5;
    --indigo: #347AE2;
    --danger: #FF3B30;
    --success: #34C759;
    --warning: #FF9500;
    --black: #000000;
    --white: #FFFFFF;
    --gray: #BABABA;
    --border: #E6EDFF;
    --card-shadow: 0px 4px 25px #0000001A;
}


/* Sidebar */

.sidebar-wrap {
    display: flex;
    width: 100%;
}

.sidebar {
    position: relative;
}

.sidebar .bg-shadow {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 799;
    background: var(--black);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sidebar-inner {
    width: 289px;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 800;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
}

.main-container {
    padding-left: 289px;
    width: 100%;
    transition: all 0.4s ease;
}

.sidenav-logo {
    padding: 20px 8px;
    display: block;
    text-align: center;
}

.sidenav-logo img {
    width: auto;
    max-height: 131px;
}

.sidenav-menu {
    overflow-y: auto;
    height: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0 30px 40px;
    margin-bottom: 0;
}

.menu-item {
    padding: 10px 0;
}

.menu-link {
    display: flex;
    gap: 12px;
    padding: 5px 5px;
}

.menu-link svg {
    width: 24px;
    height: 24px;
}

.menu-link svg path {
    fill: var(--secondary);
    transition: all 0.4s ease;
}

.menu-link.logout svg path {
    fill: var(--danger);
}

.menu-link:hover svg path,
.menu-link.active svg path,
.menu-link[aria-expanded="true"] svg path {
    fill: var(--primary);
}

.menu-link .headline {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--secondary);
    transition: all 0.4s ease;
}

.menu-link.logout .headline {
    color: var(--danger);
}

.menu-link:hover .headline,
.menu-link.active .headline,
.menu-link[aria-expanded="true"] .headline {
    color: var(--primary);
}

.dropdown-indicator>.menu-link::after,
.dropdown-indicator .dropdown-toggle::after,
.dropdown-indicator>.menu-link[aria-expanded="true"]::after {
    content: "";
    background-image: url(../images/icon/chevron-down.svg);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    transform: rotate(-180deg);
    transition: all 0.2s ease;
}

.dropdown-indicator>.menu-link:hover::after,
.dropdown-indicator>.menu-link.active::after,
.dropdown-indicator>.menu-link[aria-expanded="true"]::after {
    background-image: url(../images/icon/red-chevron-down.svg);
}

.dropdown-indicator>.menu-link[aria-expanded="false"]::after,
.dropdown-indicator .dropdown-toggle[aria-expanded="false"]::after {
    transform: none;
}

.sidenav-submenu {
    list-style: none;
    padding-left: 36px;
}

.sidenav-submenu .menu-item {
    padding: 0;
}

.sidenav-submenu .headline {
    font-size: 14px;
}

.sidebar-toggle {
    padding: 2px 4px;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    border: 0;
}

.sidebar-toggle i {
    font-size: 20px;
    height: fit-content;
}


/* Dashboard content */

.dashboard-content {
    padding: 45px 30px;
}


/* Dashboard Header */

.dashboard-header {
    margin-bottom: 67px;
}

.dashboard-header .page-title .large-title {
    color: var(--black);
}

.dashboard-header .page-title .body {
    color: var(--secondary);
}

.dashboard-header .header-elements {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 32px;
}

.dashboard-header .seacrh-btn {
    padding: 0;
    border: 0;
}

.dashboard-header .seacrh-btn svg {
    width: 24px;
    height: 24px;
}

.dashboard-header .seacrh-btn svg path {
    fill: var(--black);
}

.dashboard-header .profile {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-header .profile img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 4px;
}

.dashboard-header .profile .body {
    color: var(--black);
}


/* Report card */

.report-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    flex: 1;
    transition: all 0.2s linear;
}

.report-card:hover {
    transform: scale(1.04);
}

.report-card .large-title {
    font-weight: 600;
    color: var(--black);
}

.report-card .body {
    color: var(--black);
}

.report-card .icon {
    padding: 10px;
    box-shadow: 0px 2px 10px 0px #7C8DB51F;
    border-radius: 12px;
}

.report-card .icon svg path {
    fill: var(--primary);
}

.report-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.report-text .amount {
    display: flex;
    gap: 8px;
}

.report-text .amount.up svg path {
    fill: var(--success);
}

.report-text .amount.down svg path {
    fill: var(--danger);
}

.report-text .footnote {
    color: var(--secondary);
}


/* Monthly table */

.monthly-table {
    border-color: var(--border);
}

.monthly-table td,
.monthly-table th {
    padding: 20px 5px;
}

.monthly-table td p,
.monthly-table th p {
    font-weight: 400;
    font-size: 15px;
    color: var(--black);
}

.monthly-table td h6,
.monthly-table th h6 {
    font-weight: 700;
    font-size: 17px;
    color: var(--black);
}

.monthly-table tr:last-child td {
    border-bottom: 0;
}


/* Table */

.table-design th,
.table-design td {
    vertical-align: middle;
    padding: 21px 10px;
    font-size: 12px;
    line-height: 150%;
    color: var(--black);
    border: 0;
    white-space: nowrap;
}

.table-design td {
    padding: 12px 10px;
}

.table-design th {
    font-weight: 500;
    white-space: nowrap;
}

.table-design .row:not(:first-child, :last-child) .col-sm-12 {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.table-design .table {
    margin-bottom: 0.25rem;
}

.table-design.custom-table {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.dataTables_length label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--black);
}

.dataTables_length label select {
    font-size: 12px;
    color: var(--black);
    width: fit-content;
    padding-right: 25px;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.dataTables_filter label {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--black);
}

.dataTables_filter label input {
    width: fit-content;
}

.dataTables_info {
    font-size: 12px;
    color: var(--black);
    margin-bottom: 16px;
}

.dataTables_paginate .pagination {
    justify-content: end;
}

.page-link {
    font-size: 12px;
    color: var(--black);
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.table-design .small-text {
    font-size: 10px;
}

.table-design .discription-text-brack {
    white-space: unset;
    width: 265px;
    min-width: 265px;
}

.table-design .body-text-brack {
    white-space: unset;
    width: 447px;
    min-width: 447px;
}


/* Chart CSS */

.analytics-chart .apexcharts-xaxistooltip {
    display: none;
}

.analytics-chart .apexcharts-text tspan {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 150%;
    fill: var(--secondary);
}

.sm-chart .apexcharts-text tspan {
    font-size: 13px;
}


/* Chapter card */

.chapter-card .card-body {
    padding: 20px;
}

.aastha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aastha-logo img {
    max-width: 61px;
    width: 100%;
    object-fit: contain;
}

.aastha-logo h5 {
    font-weight: 500;
    font-size: 11px;
    line-height: 131%;
    letter-spacing: 0.355em;
    color: var(--secondary);
}

.chapter-name {
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: var(--black);
}

.chapter-card .icon {
    width: 43px;
    height: 43px;
    padding: 10px;
    display: inline-block;
    box-shadow: 0px 2px 10px 0px #7C8DB51F;
    border-radius: 12px;
    border: 0;
    background-color: #FFFFFF;
}

.chapter-card .icon svg path {
    fill: var(--primary);
}


/* Member table */

.members-tools-button {
    display: flex;
    align-items: center;
}

.members-tools-button .icon {
    padding: 5px 9px;
    display: inline-block;
    box-shadow: 0px 2px 10px 0px #7C8DB51F;
    border-radius: 12px;
    border: 0;
    background-color: #FFFFFF;
}

.members-tools-button .icon.text-button {
    width: auto;
    height: auto;
}

.view-more {
    border: 0;
}

.view-more svg {
    width: 28px !important;
    height: 28px !important;
}


/* Gold club */

.parameters-modal .modal-dialog {
    max-width: 394px;
}

.user-data {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.user-data p.caption-medium {
    color: var(--secondary);
}

.created-icon {
    width: 39px;
    height: 39px;
    object-fit: contain;
}


/* Massage Chat */

.message-sidebar {
    background: #FFFFFF;
    box-shadow: 0px 2px 10px rgba(124, 141, 181, 0.12) !important;
    border-radius: 10px;
    height: 100%;
    padding: 15px 0;
    max-height: 791px;
    overflow-y: auto;
}

.message-profile {
    padding: 15px 30px;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
    cursor: pointer;
}

.message-profile:hover,
.message-profile.active {
    background-color: #0000000f;
}

.message-profile .headline {
    font-size: 17px;
    color: var(--black);
}

.message-profile .footnote {
    font-weight: 500;
    color: var(--secondary);
}

.message-wrapper {
    padding: 30px;
    background-color: #EDEDED;
    box-shadow: 0px 2px 10px rgba(124, 141, 181, 0.12);
    border-radius: 10px;
}

.message-scroll {
    height: 668px;
    overflow-y: auto;
    margin-bottom: 18px;
}

.message-inner {
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.message-sender {
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-sender input {
    padding: 12px 20px;
}

.message-sender .btn {
    padding-top: 12px;
    padding-bottom: 12px;
}

.msg-box {
    padding: 10px 16px;
    border-radius: 12px !important;
    filter: drop-shadow(0px 2px 10px 0px #7C8DB51F);
    box-shadow: none !important;
    width: fit-content;
    margin-bottom: 12px;
    max-width: 400px;
}

.msg-box.align-left {
    margin-right: auto;
}

.msg-box.align-right {
    margin-left: auto;
}

.msg-box .footnote {
    color: var(--black);
    margin-bottom: 8px;
    display: inline-block;
}

.msg-box .caption-medium {
    color: var(--secondary);
}

.msg-box .footer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.msg-box .footer-card i {
    color: var(--secondary);
    font-size: 12px;
}

.msg-box .footer-card i.active {
    color: var(--indigo);
}


/* Package Card */

.card.package-card {
    box-shadow: none;
    border: 1px solid #ddd;
    border-radius: 14px;
}

.package-text {
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
}

.package-card .modal-title {
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.package-radio {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    opacity: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.package-wrap {
    position: relative;
}

.package-wrap .package-radio:checked~.package-card {
    border-color: #D12031;
    background-color: #fff7f8;
}


#loader_new {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255) no-repeat center center;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


lottie-player.user-modal-hello {
    height: 120px;
}
