/* Global Styles */
html {
    overflow-y: scroll;
    height: 100%;
}

body {
    background-color: #e9eaec;
    color: #444444;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    line-height: 1.5;
    padding: 0 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


h1,
h2,
h3 {
    /* Use Montserrat for headings */
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    margin-bottom: 24px;
}

h2,
h3,
h4,
h5,
h6 {
    font-size: 22px;
    margin-bottom: 24px;
}

.text-primary {
    color: red;
}

h1 {
    font-size: 28px;
}

.color-primary {
    background-color: red !important;
}

.color-primary-border {
    border-color: red !important;
}


.lg-text {
    font-size: 1.2rem;
}

.sm-text {
    font-size: 0.9rem;
}

section {
    max-width: 1400px;
    margin: 12px auto 32px;
}

.main-content {
    flex: 1 0 auto;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

/* Profile Header */
.profile-header {
    padding: 128px 64px 64px;
    min-height: 350px;
    margin: 0 0 32px 0;
    border-radius: 24px;
    text-align: center;
    position: relative;
}

.profile-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 24px;
}

/* Card Styles */
.card-dash,
.single-challenge-front {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    position: relative;
    background-size: cover;
    width: 100%;
    padding: 32px;
    border-radius: 24px;
    background-color: #fff;
    margin-bottom: 32px;
    min-height: calc(100% - 32px);
}

/* Mobile only (up to 767.98px) */
@media (max-width: 767.98px) {

    .card-dash,
    .single-challenge-front,
    .weight-history-container {
        padding: 32px 16px;
    }
}

.card-dash-no-bg ul>a {
    color: unset;
    text-decoration: none;
}

.card-dash-no-bg ul>a:hover,
.card-dash-no-bg ul>a:focus {
    text-decoration: none;
}

.card-dash-no-bg ul>a i,
.card-dash-no-bg ul>a .icon {
    color: inherit;
    text-decoration: none;
}

.single-challenge-front {
    display: flex;
    flex-direction: row;
    column-gap: 24px;
}

.challenge-button-outer {
    display: flex;
    justify-content: flex-start;
    width: fit-content;
}

.card-hover:hover,
.single-challenge-front:hover,
.exp:hover {
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    transform: translate(0px, 0px) scale(1.05, 1.05);
    transition: transform 300ms ease-out 300ms;
}

.noexp {
    transform: none !important;
}

.card-dash a {
    text-decoration: none;
    color: #444444;
}

.card-dash-no-bg ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-dash-no-bg ul li {
    background-color: transparent;
    margin-bottom: 24px;
    padding: 12px 12px 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 2px dashed #ccc;
    border-radius: 999px;
}

.card-das-no-bg ul li:hover {
    background-color: #f0f1f2;
}

.card-dash-no-bg ul li::after {
    content: "›";
    color: red;
    font-size: 24px;
    font-weight: 300;
}

/* Footer Styles */
.footer-container {
    border-radius: 24px 24px 0 0;
    padding: 32px;
    margin: 0 auto;
    max-width: 1400px;
    width: calc(100% - 24px);
    text-align: center;
}

.footer-section {
    width: 100%;
    max-width: unset;
    padding: 0;
    margin: 0;
}

.footer-container-inner {
    max-width: 1400px;
}

.footer-logo-image {
    max-width: 120px;
    height: auto;
    width: auto;
}

.footer-app-image {
    height: 50px;
    width: auto;
}

.footer-icons {
    display: flex;
    justify-content: flex-start;
}

.footer-icon-bg {
    border-radius: 50%;
    background-color: red;
    padding: 12px 8px 8px;
    height: 45px;
    width: 45px;
    margin-left: 16px;
    display: flex;
    justify-content: center;
}

.footer-icon-bg i {
    font-size: 1.4rem;
    color: #fff;
}

.dashed-border {
    border-top: 1px dashed #e4e4e4;
    padding-top: 24px;
}

.footer-text {
    font-size: 13px;
    line-height: 1;
    margin-bottom: 0;
    text-align: left;
}

.footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 13px;
    justify-content: flex-start;
}

@media (min-width: 768px) {

    .footer-links,
    .footer-icons {
        justify-content: flex-end;
    }
}

.footer-links a {
    color: red;
    font-size: 13px;
}

.dash-icon {
    font-size: 100px;
    width: 1em;
    height: 1em;
    color: red;
    margin: 0 auto;
}

.dash-icon-lg {
    font-size: 200px;
    width: 1em;
    height: 1em;
    color: red;
    margin: 0 auto;
    line-height: 1;
}

.filled {
    background-color: red;
    color: #fff;

}

.uncompletedButton {
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin-top: 32px;
}

.uncompletedButton:hover {
    color: red;
}

.card-dash-title {
    font-size: 20px;
    font-weight: 100;
}

/* Kindness Display */
#kindness-display {
    min-height: 150px;
    font-size: 20px;
    margin-bottom: 32px;
    padding: 20px;
    border: 2px dashed red;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}



/* Animation */
.spinning {
    animation: spin 0.1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.plus-margin {
    margin-top: 32px;
}

/* Marker Styles */
marker.azmark,
marker.azmarkf {
    display: block;
    width: fit-content;
    padding: 5px 40px;
    background-color: red;
    margin: 2px auto;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.28);
    transform: rotate(4deg);
}

marker.azmark.mm2,
marker.azmarkf.mm2 {
    transform: rotate(-5deg);
}

.support-content {
    text-align: left;
    width: fit-content;
}

/* AZ Section */
.az-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    min-height: calc(100% - 32px);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.background-icon {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    font-size: 30rem;
    color: red;
    z-index: 1;
    width: fit-content;
}

.background-icon-kind {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    font-size: 26rem;
    color: red;
    z-index: 1;
    width: fit-content;
}

.az-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.az-title {
    margin-bottom: 2rem;
}

.azmark {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
    color: #00a19c;
}

/* Course Slider Styles */
.courses-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-scrollbar: none;
}

.courses-slider::-webkit-scrollbar {
    display: none;
}

.course-card {
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 24px;
    overflow: hidden;
    min-width: 280px;
    padding: 24px;
}

/* Responsive adjustments for course cards */
@media (max-width: 1200px) {
    .course-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .course-card {
        width: calc(100% - 20px);
    }
}

.course-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 24px;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    color: #000;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.course-progress-container {
    position: relative;
}

.progress {
    height: 12px;
    border-radius: 999px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: red;
    border-radius: 3px;
}

.progress-text {
    position: absolute;
    top: 18px;
    left: 0;
    font-size: 12px;
    font-weight: 500;
}

.progress-percentage {
    position: absolute;
    top: 18px;
    right: 0;
    font-size: 12px;
    font-weight: 500;
}

.course-details {
    padding: 0;
    margin-top: 48px;
}

.course-info {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #6c757d;
}

.course-info i {
    margin-right: 4px;
    color: red;
}

.course-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 32px;
    color: #333;
}

.course-btn {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.continue-btn {
    background-color: #19978f;
    color: #fff;
}

.start-btn {
    background-color: #19978f;
    color: #fff;
}

.slider-navigation {
    display: flex;
    gap: 10px;
}

.slider-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background-color: #f8f9fa;
}

.view-all-link {
    color: red;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    background-color: #fff;
    border-radius: 999px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.view-all-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.view-all-link:hover i {
    transform: translateX(3px);
}

/* Tracker Slider Styles */
.trackers-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-scrollbar: none;
}

.trackers-slider::-webkit-scrollbar {
    display: none;
}

.tracker-card {
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 24px;
    overflow: hidden;
    min-width: 280px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.tracker-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #333;
}

.tracker-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.circular-progress-container {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.circular-progress {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(closest-side, white 79%, transparent 80% 100%), conic-gradient(red 0%, #e9ecef 0);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-progress::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: white;
    z-index: 1;
}

.circular-progress-value {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    z-index: 2;
}

/* Tracker-specific styles for mood, reading, and sleep trackers */
.tracker-card:nth-child(1) .circular-progress:nth-child(1),
.tracker-card:nth-child(1) .circular-progress:nth-child(2),
.tracker-card:nth-child(2) .circular-progress:nth-child(1),
.tracker-card:nth-child(2) .circular-progress:nth-child(2),
.tracker-card:nth-child(4) .circular-progress:nth-child(1),
.tracker-card:nth-child(4) .circular-progress:nth-child(2) {
    background: radial-gradient(closest-side, white 79%, transparent 80% 100%), conic-gradient(red 50%, #e9ecef 0);
}

/* Run Tracker */
.run-tracker-icon {
    font-size: 64px;
    color: red;
    margin-bottom: 16px;
}

.tracker-description {
    font-size: 16px;
    color: #666;
}

.tracker-action {
    margin-top: auto;
}

.tracker-btn {
    width: 100%;
}

/* Responsive adjustments for tracker cards */
@media (max-width: 1200px) {
    .tracker-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .tracker-card {
        width: calc(100% - 20px);
    }
}

/* Workout Video Slider Styles */
.workouts-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-scrollbar: none;
}

.workouts-slider::-webkit-scrollbar {
    display: none;
}

.workout-card {
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 24px;
    overflow: hidden;
    min-width: 280px;
    padding: 24px;
    position: relative;
}

.workout-video-container {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 32px;
}

.workout-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workout-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #fff;
    color: #333;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.workout-duration {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: #fff;
    font-size: 24px;
    margin-left: 4px;
}

.play-button:hover {
    background-color: red;
    transform: translate(-50%, -50%) scale(1.1);
}

.workout-title {
    margin: 0 16px 16px;
    font-size: 16px;
    color: #333;
}

/* Responsive adjustments for workout cards */
@media (max-width: 1200px) {
    .workout-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .workout-card {
        width: calc(100% - 20px);
    }
}

/* Message Styles */
.message-alert {
    background-color: #ffcccb;
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.message-alert p {
    color: #333;
    margin: 0;
    font-size: 16px;
}

.message-item {
    display: flex;
    padding: 16px 24px;
    border-bottom: 1px solid #ccc;
}

.message-icon {
    background-color: #ccc;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #fff;
}

.message-icon-teal {
    background-color: red;
}

.message-content {
    flex: 1;
}

.message-content p {
    margin: 0;
    font-size: 14px;
}

.message-date {
    font-size: 12px;
    color: #777;
}

/* Special Dates Styles */
.special-dates-container {
    border-radius: 8px;
    overflow: hidden;
}

.special-date-item {
    display: flex;
    padding: 16px 24px;
    border-bottom: 1px solid #ccc;
    background-color: #f0f8ff;
    /* Light blue background to distinguish from regular messages */
    transition: background-color 0.3s ease;
}

.special-date-item:hover {
    background-color: #e6f2ff;
}

.special-date-icon {
    background-color: #4682b4;
    /* Steel blue for calendar icon */
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #fff;
}

.special-date-content {
    flex: 1;
}

.special-date-content h5 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.special-date-description {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

/* Welcome Text */
.welcome-text {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.welcome-text-sub {
    color: #fff;
    font-size: 16px;
    font-weight: 200;
    z-index: 2;
}

.quote span {
    font-family: "Loved by the King", cursive;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.5;
    padding: 0 24px;
    margin: 0;
    z-index: 2;
}

span.author {
    display: block;
    font-size: 16px;
    font-family: unset;
    font-weight: 100;
    color: #fff;
    z-index: 2;
}

.welcome-quote {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    width: fit-content;
    margin-top: 64px;
    z-index: 2;
}

.courses-menu {
    max-width: 650px !important;
}

.courses-menu .mega-menu-section {
    width: 250px !important;
    flex: 0 0 250px !important;
}

.courses-menu .mega-menu-item {
    width: 250px !important;
}

.courses-menu .mega-menu-content {
    display: flex;
    justify-content: space-between;
}

/* Custom Checkbox List */
.fa-checklist {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fa-checklist li {
    position: relative;
    margin-bottom: 24px;
    flex: 1 1 30%;
}

.fa-checklist li i {
    background-color: red;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
    /* Prevent the icon from shrinking if space is tight */
}



/* Navigation Styles */
.navbar {
    background-color: #ffffff;
    padding: 15px 0;
    border-radius: 0 0 24px 24px;
    margin: 0 0 24px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 1400px;
    padding: 0 12px;
    ;
    justify-content: space-between;
}

.navbar-brand {
    padding: 0;
    margin-right: 20px;
}

.logo {
    max-height: 60px;
    max-width: 150px;
}

/* Desktop Menu */
.desktop-menu {
    margin-left: 20px;
}

.desktop-menu .navbar-nav {
    display: flex;
    flex-direction: row;
}

.nav-item {
    position: relative;
    margin: 0 5px;
}

.nav-item.dropdown {
    position: static;
}

/* Nav Icons */
.nav-icons {
    display: flex;
    align-items: center;
    margin-left: auto;
    justify-content: flex-end;
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0;
    font-size: 1.5rem;
    margin-left: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Mobile Menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        margin-top: 15px;
        animation: fadeInPlace 0.3s ease;
    }

    .nav-icons .dropdown.d-none.d-lg-block,
    .nav-icons .icon-link.d-none.d-lg-block {
        display: none !important;
    }

    .navbar .container {
        justify-content: space-between;
        padding: 0 15px;
    }

    .navbar-brand {
        flex: 0 0 auto;
    }

    .nav-icons {
        flex: 0 0 auto;
        margin-left: 0;
        width: unset;
    }

    .icon-link {
        margin: 0 5px;
    }
}

/* Main Menu Links */
.main-menu {
    margin-right: 20px;
}

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: red;
}

.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 24px 0;
    min-width: 200px;
    margin-top: 10px;
}

.dropdown-menu.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 20px auto 0;
    max-width: fit-content !important;
    transform: none;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    animation: fadeInPlace 0.3s ease;
}

@keyframes fadeInPlace {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar>.container {
    position: relative;
}

.dropdown-item {
    padding: 8px 20px;
    color: #333;
    font-weight: 400;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: red;
}

a.dropdown-item {
    margin-bottom: 12px;
}

.nav-icons i {
    font-size: 18px;
}

button.btn.btn-link.p-0.border-0.icon-link.show {
    color: red;
}

.icon-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: red;
    margin-left: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.icon-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 18px;
}

.icon-link:hover {
    background-color: #ccc;
    color: #fff;
}

/* Mega Menu */
.mega-menu {
    width: 100%;
    max-width: 1000px;
    padding: 20px 0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
    top: 100%;
    z-index: 1000;
    background-color: #fff;
}

.dropdown-header {
    padding: 0 20px 15px;
    margin-bottom: 15px;
}

.dropdown-header-link {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f4f4f4;
    color: red;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-header-link:hover {
    background-color: #e4e4e4;
    color: red;
}

.mega-menu-content {
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px;
    justify-content: space-between;
}

.mega-menu-section {
    flex: 0 0 22%;
    width: 22%;
    padding: 0 10px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mega-menu-section h6 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #666;
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: 2px solid #f0f0f0;
    width: 100%;
}

span.mega-mian-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
    transition: all 0.2s ease;
    width: 100%;
    /* Make the item fill the width of its container */
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    /* Show pointer cursor to indicate clickable */
    text-decoration: none;
    /* Remove underline from links */
    color: inherit;
    /* Inherit text color */
}

.mega-menu-item:hover {
    transform: translateX(5px);
    background-color: #f8f9fa;
    /* Add a subtle background on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* Add subtle shadow on hover */
    color: inherit;
    /* Maintain text color on hover */
    text-decoration: none;
    /* Ensure no underline appears on hover */
}

.mega-menu-item .icon {
    flex: 0 0 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: red;
    font-size: 18px;
}

.mega-menu-item .content {
    flex: 1;
    width: 100%;
    /* Ensure content takes full width */
}

.mega-menu-item h5 {
    margin: 0 0 5px;
    font-weight: 500;
    font-size: 15px;
    color: #333;
}

.mega-menu-item p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.mega-menu-section a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Additional Mega Menu Improvements */
.navbar-nav .dropdown:hover .mega-menu {
    display: block;
}

/* Responsive Mega Menu */
@media (max-width: 1200px) {
    .mega-menu {
        max-width: 900px;
    }

    .mega-menu-section {
        flex: 0 0 25%;
        width: 25%;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav .dropdown:hover .mega-menu {
        display: none;
    }

    .navbar-nav .dropdown.show .mega-menu {
        display: block;
    }

    .mega-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none;
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .mega-menu-section {
        flex: 0 0 100%;
        width: 100%;
    }

    .mega-menu-content {
        padding: 0 10px;
    }

    .dropdown-header {
        padding: 0 10px 10px;
    }
}

@media (max-width: 991.98px) {
    .mega-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none;
        box-shadow: none;
        padding: 10px 0;
    }

    .dropdown-header {
        padding: 10px 15px;
    }

    .mega-menu-content {
        flex-direction: column;
        padding: 0 15px;
    }

    .mega-menu-section {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }

    .mega-menu-item {
        margin-bottom: 15px;
    }

    .mega-menu-item .icon {
        flex: 0 0 30px;
        height: 30px;
        font-size: 14px;
    }

    .mega-menu-item h5 {
        font-size: 14px;
    }

    .mega-menu-item p {
        font-size: 12px;
    }

    a.nav-link.dropdown-toggle {
        margin-bottom: 24px;
    }
}

/* Mobile Menu Fixes */
@media (max-width: 991.98px) {
    .dropdown-menu.mega-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        padding: 0;
        animation: none;
    }

    .mega-menu-content {
        padding: 0;
    }

    .mega-menu-section {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 20px;
    }

    .navbar-nav .dropdown:hover .mega-menu {
        display: none;
    }

    .navbar-nav .dropdown.show .mega-menu {
        display: block;
    }

    .dropdown-header {
        padding: 10px 0;
    }

    .dropdown-toggle::after {
        float: right;
        margin-top: 10px;
    }
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    pointer-events: auto;
}

.menu-overlay.show {
    /* display: block; */
}

/* Override Bootstrap hover behavior */
.navbar .dropdown:hover .dropdown-menu,
.navbar-nav .dropdown:hover .dropdown-menu,
.nav-item.dropdown:hover .dropdown-menu,
.dropdown:hover .dropdown-menu {
    display: none !important;
}

.dropdown-menu.show,
.navbar .dropdown-menu.show,
.navbar-nav .dropdown-menu.show,
.nav-item.dropdown .dropdown-menu.show {
    display: block !important;
}

.dropdown-menu.mega-menu {
    display: none !important;
}

.dropdown-menu.mega-menu.show {
    display: block !important;
    z-index: 1000;
}

/* User Dropdown Menu Styles */
.user-dropdown {
    position: relative;
}

.user-dropdown:hover .dropdown-menu,
.user-dropdown:hover .user-dropdown-menu {
    display: none;
}

.user-dropdown-menu,
.dropdown-menu.user-dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    min-width: 240px;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    z-index: 1001;
    animation: fadeInPlace 0.3s ease;
}

.user-dropdown-menu.show,
.dropdown-menu.user-dropdown-menu.show {
    display: block;
    pointer-events: auto;
}

.user-dropdown-menu .dropdown-item {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    color: #444;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.user-dropdown-menu .dropdown-item:hover {
    background-color: #f5f5f5;
    color: red;
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    color: red;
}

.user-dropdown-menu .dropdown-divider {
    margin: 8px 0;
    border-top: 1px solid #eee;
}

/* Mobile styles for user dropdown */
@media (max-width: 991.98px) {
    .user-dropdown-menu {
        position: absolute;
        right: 0;
        width: 240px;
    }

    @media (max-width: 480px) {
        .user-dropdown-menu {
            right: -10px;
        }
    }
}


@media (max-width: 991.98px) {
    .row>[class*="col-"] {
        /* Select any column that's a direct child of a row */
        /* margin-bottom: 32px; */

    }

}

/* Les mills flips */
.bodypump,
.balance,
.grit,
.combat,
.cxw,
.attack,
.cycling,
.stretch,
.conditioning,
.yoga,
.meditation {
    padding: 53px 30px;
    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url(https://www.app.socialvaluecompany.com/assets/img/body-pump.jpg);
    background-size: cover;
    background-position: center center;
    margin-left: 0;
    margin-right: 0;
    border-radius: 24px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    font-weight: 200;
    margin-bottom: 32px;
}

.flip-card {
    background-color: transparent;
    min-height: 300px;
    perspective: 1000px;
    margin: 32px 0;

}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;

}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: red;
    color: #ffffff;
    border-radius: 24px;
}

.flip-card-back {
    background-color: red;
    color: white;
    transform: rotateY(180deg);
    padding: 32px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    min-height: 300px;
    font-size: 1.2rem;

}

.balance {

    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url('https://www.app.socialvaluecompany.com/assets/img/balance.jpg');
    background-size: cover;

}

.grit {

    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url('https://www.app.socialvaluecompany.com/assets/img/grit.jpg');
    background-size: cover;

}

.combat {

    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url('https://www.app.socialvaluecompany.com/assets/img/combat.jpg');
    background-size: cover;

}

.cxw {

    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url('https://www.app.socialvaluecompany.com/assets/img/cxw.jpg');
    background-size: cover;

}

.attack {

    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url('https://www.app.socialvaluecompany.com/assets/img/attack.jpg');
    background-size: cover;

}

.cycling {

    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url('https://www.app.socialvaluecompany.com/assets/img/cycling.jpg');
    background-size: cover;

}

.conditioning {

    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url('https://www.app.socialvaluecompany.com/assets/img/kids.jpg');
    background-size: cover;

}

.stretch {

    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url('https://www.app.socialvaluecompany.com/assets/img/stretch.jpg');
    background-size: cover;

}

.yoga {

    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url('https://www.app.socialvaluecompany.com/assets/img/yoga.jpg');
    background-size: cover;

}

.meditation {

    background: linear-gradient(0deg, rgba(127, 53, 156, 0.4) 0%, rgba(64, 22, 80, 0.4) 100%), url('https://www.app.socialvaluecompany.com/assets/img/meditation.jpg');
    background-size: cover;

}

.breadcrumbs-user {
    font-size: 14px;
    color: #444;
    margin-bottom: 16px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;

}

.breadcrumbs-user a {
    color: #444;
    text-decoration: none;
    margin: 0 6px;
}

.breadcrumbs-user a:hover {
    color: red;
}

@media (max-width: 1024px) {
    .breadcrumbs-user {

        margin-bottom: 12px;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.video-heart,
.video-heart-selected {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 24px;
    color: #fff;
    opacity: 0.7;
    z-index: 1;
}

.guide-next,
.guide-prev {
    background-color: #f4f4f4;
    padding: 2px 16px;
    border-radius: 8px;
    font-size: 1.6rem;
    box-shadow: none;
    border: none;
    margin-left: 8px;
}

.guide-next,
.guide-prev {
    background-color: #f4f4f4;
    padding: 2px 16px;
    border-radius: 8px;
    font-size: 1.6rem;
    box-shadow: none;
    border: none;
    margin-left: 8px;
}

.chapter-title-guide-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.item-reels {
    border-radius: 16px;
    overflow: hidden;
    margin-right: 24px;
    margin-bottom: 32px;
}

.portrait-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.video-container {
    position: relative;
    padding-top: 177.78%;
    max-height: 100%;
    overflow: hidden;
}

.weight-acheivements img {
    max-height: 150px;
    margin-right: 32px;
    margin-bottom: 32px;
}

#runTrackerTabs .nav-link,
#weightTrackerTabs .nav-link,
#aiChatTabs .nav-link,
#moodTrackerTabs .nav-link,
#goalTab .nav-link,
#yogaTabs .nav-link,
#budgetManagerTabs .nav-link,
#budgetSummaryTabs .nav-link,
#moduleNavTabs .nav-link,
#hobbySuggestionTabs .nav-link,
#readingTrackerTabs .nav-link,
#cycleTrackerTabs .nav-link,
#courseTabs .nav-link,
#educationTabs .nav-link,
#favouritesTabs .nav-link,
#kidsCornerTabs .nav-link,
#sleepTrackerTabs .nav-link,
#whitelabelTabs .nav-link,
#usersTabs .nav-link,
#addUsersSubTabs .nav-link,
#messageUsersSubTabs .nav-link,
#marketingTabs .nav-link,
#staffQuestionnaireTabs .nav-link,
#blogTabs .nav-link,
#contentSubTabs .nav-link,
#billingTabs .nav-link,
#addBookTabs .nav-link,
#libraryFilterTabs .nav-link,
#courseProgressTabs .nav-link,
#staffQuestionnaireEditTabs .nav-link,
#printMaterialsSubTabs .nav-link,
#domainSubTabs .nav-link,
#analysis-tabs .nav-link,
#statement-tabs .nav-link,
#kpiTrackerTabs .nav-link,
#cvBuilderTabs .nav-link,
#cvBuilderSubTabs .nav-link,
#skillAnalysisSubTabs .nav-link,
#coverLetterSubTabs .nav-link,
#badges-tab .nav-link,
#points-tab .nav-link,
#main-tabs .nav-link,
#rewards-tab .nav-link {
    border-radius: 50px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    color: #495057;
    margin-right: 5px;
    border: 1px solid transparent;
}

#runTrackerTabs .nav-link:hover,
#weightTrackerTabs .nav-link:hover,
#aiChatTabs .nav-link:hover,
#moodTrackerTabs .nav-link:hover,
#goalTab .nav-link:hover,
#yogaTabs .nav-link:hover,
#budgetManagerTabs .nav-link:hover,
#budgetSummaryTabs .nav-link:hover,
#moduleNavTabs .nav-link:hover,
#hobbySuggestionTabs .nav-link:hover,
#readingTrackerTabs .nav-link:hover,
#cycleTrackerTabs .nav-link:hover,
#courseTabs .nav-link:hover,
#educationTabs .nav-link:hover,
#favouritesTabs .nav-link:hover,
#kidsCornerTabs .nav-link:hover,
#sleepTrackerTabs .nav-link:hover,
#whitelabelTabs .nav-link:hover,
#usersTabs .nav-link:hover,
#addUsersSubTabs .nav-link:hover,
#messageUsersSubTabs .nav-link:hover,
#marketingTabs .nav-link:hover,
#staffQuestionnaireTabs .nav-link:hover,
#blogTabs .nav-link:hover,
#contentSubTabs .nav-link:hover,
#billingTabs .nav-link:hover,
#addBookTabs .nav-link:hover,
#libraryFilterTabs .nav-link:hover,
#courseProgressTabs .nav-link:hover,
#staffQuestionnaireEditTabs .nav-link:hover,
#printMaterialsSubTabs .nav-link:hover,
#domainSubTabs .nav-link:hover,
#analysis-tabs .nav-link:hover,
#statement-tabs .nav-link:hover,
#kpiTrackerTabs .nav-link:hover,
#cvBuilderTabs .nav-link:hover,
#cvBuilderSubTabs .nav-link:hover,
#skillAnalysisSubTabs .nav-link:hover,
#coverLetterSubTabs .nav-link:hover,
#badges-tab .nav-link:hover,
#points-tab .nav-link:hover,
#main-tabs .nav-link:hover,
#rewards-tab .nav-link:hover {
    background-color: transparent;

}

#runTrackerTabs .nav-link.active,
#weightTrackerTabs .nav-link.active,
#aiChatTabs .nav-link.active,
#moodTrackerTabs .nav-link.active,
#goalTab .nav-link.active,
#yogaTabs .nav-link.active,
#budgetManagerTabs .nav-link.active,
#budgetSummaryTabs .nav-link.active,
#moduleNavTabs .nav-link.active,
#hobbySuggestionTabs .nav-link.active,
#readingTrackerTabs .nav-link.active,
#cycleTrackerTabs .nav-link.active,
#courseTabs .nav-link.active,
#educationTabs .nav-link.active,
#favouritesTabs .nav-link.active,
#kidsCornerTabs .nav-link.active,
#sleepTrackerTabs .nav-link.active,
#whitelabelTabs .nav-link.active,
#usersTabs .nav-link.active,
#addUsersSubTabs .nav-link.active,
#messageUsersSubTabs .nav-link.active,
#marketingTabs .nav-link.active,
#staffQuestionnaireTabs .nav-link.active,
#blogTabs .nav-link.active,
#contentSubTabs .nav-link.active,
#billingTabs .nav-link.active,
#addBookTabs .nav-link.active,
#libraryFilterTabs .nav-link.active,
#courseProgressTabs .nav-link.active,
#staffQuestionnaireEditTabs .nav-link.active,
#printMaterialsSubTabs .nav-link.active,
#domainSubTabs .nav-link.active,
#analysis-tabs .nav-link.active,
#statement-tabs .nav-link.active,
#kpiTrackerTabs .nav-link.active,
#cvBuilderTabs .nav-link.active,
#cvBuilderSubTabs .nav-link.active,
#skillAnalysisSubTabs .nav-link.active,
#coverLetterSubTabs .nav-link.active,
#badges-tab .nav-link.active,
#points-tab .nav-link.active,
#main-tabs .nav-link.active,
#rewards-tab .nav-link.active {

    color: white;

}

#runTrackerTabContent,
#weightTrackerTabContent,
#goalTabContent {
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    #goalTabContent {
        padding: 0;
    }

    .opt-btns {
        display: flex !important;
        flex-direction: row;
        column-gap: 16px;
        justify-content: flex-start !important;
        flex-wrap: wrap;
        row-gap: 16px;
    }
}

.goal-weight {
    font-size: 1.8rem;
    background-color: #f4f4f4;
    border-radius: 12px;
    padding: 16px 48px;
    color: red;
}

.weight-history-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 16px;
    margin-bottom: 24px !important;
    border: 2px dashed #e4e4e4;

}

.history-date {
    background-color: red;
    border-radius: 12px;
    min-height: 70px;
    min-width: 70px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

span.history-weight-no img {
    background-color: red;
    border-radius: 100px;
    max-height: 50px;
    max-width: 50px;
    text-align: center;
    margin: 0 auto;
}

.emoji-no {
    background-color: red;
    border-radius: 100%;
    max-height: 50px;
    max-height: 50px;
    font-size: 3rem !important;
    display: inline-flex;
    min-width: 50px;
    text-align: center;
    margin-left: 12px;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.history-date-no {
    margin: 0 0 -10px 0;
    font-size: 1.6rem;
    font-weight: bold;
}

.history-date-month {
    margin: 0;
    padding: 0;
    color: #ffffff;

}

.history-weight-desc,
.history-loss-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    color: #666;
}

span.history-weight-no {
    font-size: 1.6rem;
}

.history-weight {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.history-edit i {
    padding: 16px;
}

.weight-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;

}

.weight-display h5 {
    display: block !important;
    font-size: unset !important;
}

.weight-acheivements img {
    max-height: 150px;
    margin-right: 32px;
    margin-bottom: 32px;
}

.weight-waiting {
    max-height: 120px !important;
    margin-right: 32px;
    filter: blur(1px) grayscale(100%);
}

.emoji-no i {
    color: #fff;
    font-size: 1.6rem;
}

.outline-button,
.outline-button-lg,
.outline-button-sm,
.primary-button {

    border-radius: 50px;
    padding: 8px 16px;
    width: fit-content;
    margin: 24px auto 0;
    display: block;
    background-color: transparent;
    text-align: center;
}

.outline-button:hover,
.outline-button-lg:hover,
.outline-button-sm:hover,
.primary-button:hover {

    color: #fff;
}

.outline-button:active {

    color: #fff !important;
}

a.outline-button {
    text-decoration: none;
    ;
}

.outline-button.active,
.outline-button-lg.active,
.outline-button-sm.active {

    color: #fff !important;
}

.red {
    color: red;
}

.weight-settings-popup .weight-input {
    padding: 16px;
    border-radius: 12px;
}

.weight-settings-popup label {
    margin-bottom: 16px;
}

.fav-image img {
    border: 5px solid red;
    border-radius: 50%;
    width: 20vw;
    height: 20vw;
    object-fit: cover;
    max-width: 200px;
    max-height: 200px;
    box-shadow: 2px 2px 4px #e4e4e4;
    padding: 2px;
    margin-bottom: 24px;
}

.heart-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.heart-container i {
    font-size: 24px;
    color: #ccc;
}

.heart-container-selected i {
    color: red;
}

.article-wrap .category {
    background-color: red;
    color: #fff;
    padding: 8px;
    margin: 16px 0;
    border-radius: 8px;
    width: fit-content;
}

.mw-blog {
    max-width: 900px;
    margin: auto;
}

.article-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    margin-bottom: 24px;
}

.blog-article-badge,
.change-type-badge {
    font-size: 0.8rem;
    padding: 4px 8px;
    color: #666;
    text-align: center;
    width: auto;
    display: inline-block;
    margin-right: 24px;
    border-radius: 50px;
    background-color: #f5f5f5;
}

.change-type-badge {
    color: #888;
    border: 1px dotted #ccc;
    text-align: center;
    padding: 2px 8px;
    width: 60px;
    flex-shrink: 0;
    justify-content: center;
}

.article-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    margin-bottom: 24px;
}

.blog-card-text {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 8px;
}

.art-header-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;

}

.lmimg {
    max-width: 300px;
}

.afrec h2 {
    font-size: 6rem;
    font-weight: 900;
    color: red;
    line-height: 5rem;
    margin: 0;
}

.afrec p {
    font-size: 4.5rem;
    line-height: 4rem;
    font-weight: 900;
    margin: 0;
}

.afrec {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 700px;

}

.airimg {
    max-height: 250px;
}

.h-auto {
    min-height: unset;
}


a:has(.smles) {
    text-decoration: none !important;
}

.aff-text {
    font-size: 1.2rem;
    margin: 0 auto;
    height: 100%;
}

ul.mood-list {
    padding: 0;

}

.mood-list li {
    list-style-type: none;
    display: inline-block;
    margin: 0 16px 16px 0;
}

.mood-btn,
.mood-btn a {
    transition: background-color 0.3s ease;
    border: 1px solid #e4e4e4;
    border-radius: 50px;
    padding: 12px 32px;
    cursor: pointer;
    font-weight: normal;
    text-decoration: none;
    color: red;
}

.custom-datepicker.mood-journal-subheader input {
    width: fit-content;
    margin: 12px 0 24px;
}

label.mood-btn {
    font-size: unset;
}

.hidden-checkbox {
    display: none;
}

.hidden-checkbox:checked+.mood-btn {
    background-color: red;
    color: white;
}

.aff-text {
    padding: 32px;
}

.p32 {
    padding: 32px;
}

span#score-display {
    font-size: 2rem;
    border: 1px dashed red;
    padding: 12px 24px;
    border-radius: 50px;
    margin-top: 16px;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: red;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 red;
}

ul.support-quick-links {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

ul.support-quick-links li {
    display: flex;
    margin-right: 16px;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

ul.support-quick-links li a {
    text-decoration: underline;
    text-transform: capitalize;
    color: #666;
}

.support-search {
    margin-bottom: 16px;
    height: 60px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    border: 3px solid red;
    border-radius: 12px 0 0 12px;
}

.support-search-icon {
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    border-radius: 0px 12px 12px 0;
    color: #fff;
}

.progress {
    height: 1rem;
    background: #eeeeee;
    border-radius: 30px;
    box-shadow: none;
    margin-bottom: 30px;
    overflow: visible;
}

.progress .progress-bar {
    border-radius: 30px;
    box-shadow: none;
    position: relative;
    color: white;
    background-color: red;
    /* Added default background color */
}

.guide-day-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f4f4f4;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 32px;
    flex-direction: row;
}

.guide-complete {
    background-color: red;
    color: #fff;
}

.guide-date {
    background-color: #ccc;
    border-radius: 50px;
    min-height: 70px;
    min-width: 70px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    display: inline-flex;
    font-size: 1.6rem;
    font-weight: bold;
}

.guide-complete-status {
    font-size: 2rem;
    color: #999;
}

.guide-date-container {
    display: flex;
    align-items: center;
}

span.guide-day-title {
    margin-left: 24px;
    display: flex;
    flex-wrap: wrap;
}

.guide-complete .guide-date {
    background-color: unset;
}

.guide-complete i {
    font-size: 2rem;
    color: #fff;
}

.challenge-unit-container {
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.challenge-unit-container ol li {
    margin-bottom: 24px;
}

.back-button-ch {
    border: 1px solid #e4e4e4;
    border-radius: 50px;
    padding: 8px 12px;
    width: fit-content;
    margin: 48px auto 16px;
}

.single-challenge-text {
    margin-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.challenge-unit-container {
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.challenge-unit-container ol li {
    margin-bottom: 24px;
}

.filled {
    background-color: red;
    color: #fff;
}

.outline-button-outer {
    display: flex;
}

.outline-button-outer a {
    text-decoration: none;
}

/*Goal Styles*/

.goal-add-container {
    border: 1px solid #e4e4e4;
    border-radius: 24px;
    padding: 32px;
    background-color: #f4f4f4;
    margin: 32px 0;
}

.goal-measurement,
.goal-measurement-date {
    background-color: #fff;
    border: 2px solid red;
    border-radius: 50px;
    padding: 6px 16px;
    margin: 0 0 32px 0;
    display: inline-block;
    color: #666;
    font-size: 0.9rem;

}

.goal-measurement-date {
    display: flex;
    flex-wrap: nowrap;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.habit-term {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 32px 0;
}

.date-difference {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-content: center;
}

.date-difference hr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: -15px;
    border-color: #e4e4e4;
    border: 2px solid red;
}

.goal-days-container {
    display: inline-flex;
}

.goal-add-container p {
    font-size: 1.2rem;
}

.dropdown-menu.show i {
    max-width: 30px;
    min-width: 30px;
}

.drop-butt {
    margin-right: 24px;
}

.goal-container {
    border: 1px solid #e4e4e4;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #f4f4f4;
    position: relative;
    width: 100%;
    height: 90px;
    margin: 16px 0;
    color: #444;

}

.goal-progress-bar {
    position: absolute;
    background-color: red;
    width: 24%;
    height: 100%;
    border-radius: 8px 0 0 8px;
}

.pc40 {
    width: 40%;
}

.pc90 {
    width: 90%;
}

.pc100 {
    width: 100%;
}

.goal-content {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    align-items: center;
}

.goal-container-name {
    padding-left: 32px;
}

.goal-container-amount {
    padding-right: 32px;
}

.goal-container-add i {
    font-size: 1.8rem;
}

.goal-day {
    text-align: center;
}

.goal-date {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.goal-date-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;

}

p.goal-time-headers {
    font-size: 1.2rem;
    margin-top: 64px;
}

.goal-add-data {
    border: 1px solid #e4e4e4;
    border-radius: 24px;
    padding: 32px;
    width: 90%;
    margin: 0 auto;
}

.goal-edit {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.goals-not-set {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 24px 0 32px;
}

.goals-not-set i {
    font-size: 1.8rem;
    margin-left: 12px;
}

.goal-add-data {
    border: 1px solid #e4e4e4;
    border-radius: 24px;
    padding: 32px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

span.goal-entry-no {
    font-size: 2rem;
    font-weight: 600;
    padding: 0 12px;
}

p.goal-entry-no-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reading Tracker Styles */
.streak-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.bg-light-blue {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-light-green {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-light-purple {
    background-color: rgba(111, 66, 193, 0.1);
}

.text-purple {
    color: #6f42c1;
}

#stats-tab-pane h2 {
    font-size: 2rem;
    font-weight: 600;
}

#stats-tab-pane h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

#stats-tab-pane .card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

#stats-tab-pane .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#stats-tab-pane .card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
}

/* Chart styles */
#daily-reading-chart,
#genre-distribution-chart {
    position: relative;
}

.chart-container {
    position: relative;
    padding-bottom: 50%;
    height: 0;
    margin-top: -32px;
}

.circular-chart {
    display: block;
    max-width: 80%;
    max-height: 150px;
    margin: 50px auto;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 2;
}

.circle {
    fill: none;
    stroke: red;
    stroke-width: 2;
    stroke-dasharray: 0, 100;
}

.start-circle,
.end-circle {
    fill: red;
    stroke: red;
}

.circle-text {
    fill: red;
    font-size: 0.5em;
    text-anchor: middle;
    margin-top: 20px;
}

/* End of Reading Tracker Styles */

.mood-list {
    padding: 12px 0;
}

li.outline-button a {
    text-decoration: none;
    color: unset;
}

li.outline-button a.active {
    text-decoration: none;
    color: unset;
    background-color: red;
    color: white;
}

.xo-text {
    background-color: red30;
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    margin-top: 16px;

}

.table-container {
    overflow-x: auto;
    /* This will allow horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
    width: 100%;
    /* Take the full width */
}

/* Optional: You can also set a max-width for better control on larger screens */
@media (max-width: 768px) {

    /* Adjust the breakpoint as needed */
    .table-container {
        max-width: 100%;
    }


}

@media (max-width: 1024px) {
    .goal-icons {
        display: flex;
        flex-direction: column;
        row-gap: 12px;
        justify-content: center;
        align-items: center;
        margin-left: 12px;
    }
}

.calc-input {
    display: inline-block;
    border: none;
    border-bottom: 3px solid #333;
    font-size: 24px;
    margin-bottom: 32px;
}

label.calc-label {
    color: #666;
    font-weight: normal;
}

#comparison-table thead th,
#interest-rate-change-table thead th,
#rate-change-table thead th,
#amortization-table thead th {
    padding: 16px;
}

#comparison-table th,
#interest-rate-change-table th,
#comparison-table td,
#interest-rate-change-table td,
#rate-change-table th,
#rate-change-table td,
#amortization-table th,
#amortization-table td {
    width: 25%;
    padding: 16px;
    border-bottom: 1px solid #f4f4f4;
}

#comparison-table,
#interest-rate-change-table {
    width: 100%;
}

.input-group {
    margin-bottom: 10px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 5px;
}

#results,
#results span {
    margin-top: 10px;
    font-weight: bold;
    font-size: 2.6rem;
    font-weight: bold;
}

.calc-input {
    display: inline-block;
    border: none;
    border-bottom: 3px solid #333;
    font-size: 24px;
    margin-bottom: 32px;

}

.calc-butt {
    margin: 24px 0;
    padding: 24px 72px;
}

#yield-table {
    width: 100%;
}

#yield-table thead {
    background-color: lightgray;
    padding: 10px;
    height: 60px;
}

#yield-table tbody tr {
    padding: 24px;
}

#yield-table th,
#yield-table td {
    width: 25%;
    padding: 16px;
    border-bottom: 1px solid #f4f4f4;
}

#yield-table thead th {
    padding: 16px;
}

.monthly-payment-output span {
    color: #333;
    font-size: 2.8rem;
    display: block;
}

.monthly-payment-output {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

label.calc-label {
    color: #666;
    font-weight: normal;
}


/* Create a custom checkbox */
.calc-input[type="checkbox"]+label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
}

.calc-input[type="checkbox"]+label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #000;
    background: #fff;
}

/* Style the checkbox when checked */
.calc-input[type="checkbox"]:checked+label:before {
    background-color: red;
    /* Choose a color that matches your theme */
}

.well-bg {
    background-color: red;
    border-radius: 16px;
    color: white;
    padding: 32px;
}

#amortization-table thead th,
#rate-change-table thead th,
#mortgage-table thead th,
#bands thead th,
#yield-table thead th {
    padding: 16px;
}

#amortization-table,
#rate-change-table,
#mortgage-table,
#bands {
    width: 100%;
}

#mortgage-table th,
#mortgage-table td,
#bands th,
#bands td,
#yield-table th,
#yield-table td {
    width: 25%;
    padding: 16px;
    border-bottom: 1px solid #f4f4f4;
}

.result {
    margin-top: 10px;
    font-weight: bold;
    font-size: 3rem;
    font-weight: bold;
}

.additional-property-table {
    width: 100%;
    border-collapse: collapse;
}

.additional-property-table th,
.additional-property-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.additional-property-table th {
    background-color: lightgray;
}

.additional-property-table td {
    padding: 10px 0;
}

.opt-btns {
    display: flex !important;
    flex-direction: row;
    column-gap: 16px;
    justify-content: center;

}

.option-buttons {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
}

.monthly-payment-output-result {
    color: #333;
    font-size: 2.8rem;
    display: block;
    margin: 2rem 0 1rem 0;
}

#bands th,
#bands td {
    width: 25%;
    padding: 16px;
    border-bottom: 1px solid #f4f4f4;
    background-color: #e4e4e4;
}

.student-card-black {
    background: url(../img/student-card-bg.jpg) no-repeat;
    background-size: cover;
    border-radius: 16px;
    padding: 32px;
}

.st-card-logo {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.st-card-logo img {
    max-width: 40%;
    margin-bottom: 48px;
}

.st-card-logo img.st-profile {
    border-radius: 90px;
    display: block;
    margin-left: 50px;
}

.st-card-number {
    color: #ffffff;
    font-size: 35px;
    letter-spacing: 2px;
}

.st-card-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 400;
}

.st-card-footer h4 {
    margin-bottom: 0;
    line-height: 1;
    font-size: 0.9rem;
    margin-top: 32px;
}

.insurance-icon {
    color: red;
    font-size: 3rem;
}


.insuranceIcon i {
    font-size: 3.6rem;
    color: #fff;
    position: absolute;
    bottom: 8px;
    right: 16px;
}

.insurance-container h4 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
}

.insurance-container p {
    color: #fff;
}

.insurance-container {
    background-color: red;
    color: #fff;
    text-align: center;
    min-height: 200px;
}

.support-search-icon {
    background-color: red;

}

.support-search {
    border-color: red;
}

.support-open,
.support-closed {
    background-color: red;
    border-radius: 50px;
    padding: 6px 12px;
    color: #ffffff;
    margin-right: 24px;
}

.support-link-section {
    background-color: red;
}

.support-link-section div {
    color: red;
}

.all-bg-support {
    padding-bottom: 100px;
    position: Relative;
}

.support-link-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: red;
    border-radius: 0 0 24px 24px;
    padding: 32px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-call i,
.support-chat i,
.support-text-message i {
    color: red;
    background-color: #fff;
    padding: 16px;
    border-radius: 50px;
    font-size: 26px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-verified-badge {
    font-size: 1.4rem;
}

.support-co-name {
    font-size: 1.6rem;
}

.support-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.support-header,
.support-body {
    border-bottom: 2px dotted #e4e4e4;
    padding: 16px 0;
    margin-bottom: 32px;
}

.support-opening-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.budget-display {
    border-radius: 24px;
    min-height: 80px;
    padding: 24px;
    text-align: center;
    margin-bottom: 32px;
}

div#balanceYearly,
div#balanceMonthly,
div#balanceWeekly,
div#totalYearlyIncome,
div#totalYearlyOutgoings,
div#weeklySavings,
div#goalAmount {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;

}

span.value-budg,
span.total-annual-amount-value {
    font-size: 1.3rem;
    font-weight: 600;
}

.border-primary-wl {
    border: 2px dashed red;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 32px;
}

.border-primary-main {
    border: 1px solid red;
}

.settings-option-budget {
    display: block;
    min-width: 100%;
    justify-content: flex-end;
    margin-bottom: 32px;
}

input#savingsGoal,
input#goalDate {
    padding: 16px;
    margin: 12px 0 24px;
}

.count {
    border: 2px dashed red;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
}

.conversation-container {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.assistant-message {
    background-color: #e9ecef;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    align-self: flex-start;
}

.user-message {
    background-color: red;
    color: white;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px;
    align-self: flex-end;
    margin-left: auto;
}

.welcome-message {
    background-color: red;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.suggestion-message {
    background-color: red;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
}

.response-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.response-option {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.response-option:hover {
    background-color: #5a6268;
}

.hobby-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.hobby-card h5 {
    margin-bottom: 10px;
}

.hobby-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #f8f9fa;
}

.hobby-card .hobby-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.hobby-card .hobby-meta span {
    background-color: #f8f9fa;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 5px;
}

.hobby-card .hobby-meta i {
    margin-right: 5px;
}

/* .tab-content {
    padding: 20px;
} */



.low-cost {
    background-color: #28a745;
    color: white;
}

.medium-cost {
    background-color: #ffc107;
    color: #212529;
}

.high-cost {
    background-color: #dc3545;
    color: white;
}

.hobby-suggestions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.see-details {
    cursor: pointer;
    color: #007bff;
    display: inline-block;
    margin-top: 10px;
}

.hobby-details {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
}

span.badge.bg-info {
    border: 1px dashed red;
    background-color: white !important;
    color: #666;
    font-size: 14px;
    font-weight: 200;
}

input#bookSearchInput {
    border-radius: 50px 0 0 50px;
    border: 1px solid red;
    text-align: left;
    padding: 0 24px 0;
}

.list-group-item.search-result {
    padding: 32px;
}

.list-group-item {
    border: 1px solid #e4e4e4 !important;
    border-radius: 24px;
    margin-bottom: 24px;
}

.list-group-item:first-child {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.book-cover {
    height: 150px;
    width: 100px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.book-card {
    border-radius: 8px;
    transition: transform 0.3s ease;
    height: 100%;
}

.book-card:hover {
    transform: translateY(-5px);
}

.progress-container {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin: 10px 0;
}

.progress-bar {
    height: 100%;
    border-radius: 4px;
}

.stats-card {
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px dashed red;
}

.stats-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: red;
}

.stats-card h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: red;
}

.search-result {
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result:hover {
    background-color: #f8f9fa;
}

.book-tags span {
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: #e9ecef;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
}

.streak-flame {
    color: #ff7700;
}

.book-notes {
    max-height: 100px;
    overflow-y: auto;
}

/* Hobby Suggestion Tool Styles */
.hobby-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.hobby-card {
    flex: 1 1 300px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.hobby-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.hobby-card h5 {
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.hobby-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.hobby-meta span {
    font-size: 0.85rem;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hobby-meta i {
    color: #4a6da7;
}

.see-details {
    color: #4a6da7;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.see-details:hover {
    color: #2c4a7c;
}

.hobby-details {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.hobby-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.detail-item h6 {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-item h6 i {
    color: #4a6da7;
}

.detail-item p {
    font-size: 0.9rem;
    margin: 0;
    color: #666;
}

.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 5px;
}

.low-cost {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.medium-cost {
    background-color: #fff8e1;
    color: #ff8f00;
}

.high-cost {
    background-color: #ffebee;
    color: red;
}

.module-card {
    background-color: #ffffff;
    border-radius: 24px !important;
    margin-bottom: 24px;
    padding: 12px 24px;
}

.moudle-area img,
.module-area p img,
.moduleContents img {
    max-width: 100%;
    height: auto;
}

/* FAQ Accordion Styles */
.faq-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: #444444;
}

.faq-title i {
    transition: transform 0.3s ease;
}

.faq-title.collapsed i {
    transform: rotate(0deg);
}

.faq-title:not(.collapsed) i {
    transform: rotate(180deg);
}

/* Module Toggle Button Styles */
.module-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: #444444;
    background-color: transparent;
    border: none;
    text-align: left;
    padding: 12px 0;
    font-weight: 500;
}

.module-toggle:hover,
.module-toggle:focus {
    text-decoration: none;
    color: #444444;
    box-shadow: none;
}

.module-icon {
    transition: transform 0.3s ease;
}

.module-toggle.collapsed .module-icon {
    transform: rotate(0deg);
}

.module-toggle:not(.collapsed) .module-icon {
    transform: rotate(180deg);
}

.card-header {
    background-color: transparent;
    border-bottom: none;
    padding: 0;
}

.cycle-history-container {
    display: flex;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px !important;
    border: 2px dashed #e4e4e4;
    flex-direction: column;
}

/* Achievement Badge Styling */
.badge-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: scale(1.05);
}

.badge-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
}

.badge-icon.locked {
    background-color: #cccccc;
    color: #ffffff;
    opacity: 0.7;
}

.badge-icon.unlocked {
    background-color: red;
    color: #ffffff;
}

.badge-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
}

.impact-icon {
    background-color: red !important;
}

.text-primary {
    color: red !important;
}

button.btn.btn-link.module-toggle {
    font-weight: 700;
}

.btn-approx {
    border: 1px solid #e4e4e4;
    border-radius: 6px;
}

footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
}

.heart-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.heart-container i {
    z-index: 100000;
    margin-right: 12px;
}

.meditation-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.inspiration img {
    transition: all 0.5s ease;
    max-width: 100%;
    border-radius: 6px;
}

/* General pagination styles */
.pagination .page-link {
    background-color: #e4e4e4;
    color: red;
    border: none;
    border-radius: 50px;
    /* Rounded pill style */
    margin: 0 3px;
    padding: 6px 12px;
    transition: all 0.3s ease;
}

/* Hover effect */
.pagination .page-link:hover {
    background-color: #ffcccc;
    /* Optional: light red hover */
    color: red;
}

/* Active page style */
.pagination .page-item.active .page-link {
    background-color: red;
    color: white;
    border: none;
}

/* Focused state (keyboard accessibility) */
.pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.3);
    outline: none;
}

.pagination {
    margin: 32px auto;
    width: fit-content;
}

.all-bg-support {
    padding-bottom: 100px;
    position: Relative;
}

.all-bg-support {
    background-color: #fff;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    box-sizing: border-box;
    height: calc(100% - 32px);
    border: 1px solid #f4f4f4;
}

ul.support-categories li {
    border: 1px solid red;
    list-style-type: none;
    width: fit-content;
    padding: 6px 16px;
    border-radius: 24px;
    margin: 0 5px 6px 0;
    display: inline-block;
    font-size: 13px;
}

.support-description a {
    font-weight: 500;
    text-decoration: underline;
    color: red;
}

.support-link-section a {
    text-decoration: none;
}

.contact-nos a {
    color: red;
}

.myprogress-box {
    padding-top: 225px;
    border-radius: 24px;
    margin-bottom: 32px;
    background-position: bottom center;
    /* object-fit: scale-down; */
}

.course_text_box1 {
    border-radius: 0 0 24px 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.1);
}

.progress-bar-course {
    background-color: red;
    color: #fff;
}

a.edit-icon {
    background-color: #e4e4e4;
    padding: 8px;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    margin: 24px 0;
}

.video-heart,
.video-heart-selected,
.audio-heart,
.audio-heart-selected,
.blog-heart,
.blog-heart-selected,
.favourite_popup {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 24px;
    color: #fff;
    opacity: 0.7;
    z-index: 1;
}

i.fa-heart.heart-red {
    color: red;
}

.badge-menu {
    background-color: red;
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    vertical-align: middle;
    border-radius: 50px;
}

.page-image {
    border-radius: 24px;
    border: 3px solid red;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
    z-index: 10;
}

.page-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-text h2 {
    font-weight: 700;
}

/* Target the link specifically using its new class */
a.message-alert-link,
a.message-alert-link:visited,
a.message-alert-link:hover {
    color: #333;
    text-decoration: none;
}

.badge-activity {
    font-size: 13px;
    background-color: red;
    width: fit-content;
    padding: 2px 10px;
    border-radius: 50px;
    color: #ffffff;
    position: absolute;
    right: 24px;
}

div#historyData {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
}

.keep-right {
    position: absolute;
    right: 24px;
    top: 24px;
}

.row {
    margin-left: 0;
    margin-right: 0;

}

a.navbar-brand img {
    max-width: 180px;
    max-height: 60px;
}

.zfront {
    z-index: 2;
}

.setting-form input {
    display: block;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    padding: 16px 8px;
    min-width: 100%;
    margin-bottom: 16px;
}

#snav li span {
    background-color: red;
    border-radius: 0 0 12px 12px;
}

#snav li span {
    font-size: 0.7rem;
    height: 35px;
    line-height: 35px;
    width: auto;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    padding: 0px 14px 0px 30px;
    position: absolute;
    top: 0;
    z-index: 3;
    letter-spacing: 1.5px;
    font-weight: 400;
}

#snav {
    position: fixed;
    top: 60%;
    z-index: 9999;
    font-family: 'Open Sans', sans-serif;
    right: -75px;
    border: none;
    border-radius: 0px 0px 10px 10px;
    transform: rotate(90deg);
}

#snav ul {
    list-style: none;
}

#snav li a {
    width: 190px;
    text-decoration: none;
    color: #fff;
    display: block;
    position: relative;
}

#snav .fa {
    vertical-align: middle;
    font-size: 0.8rem;
    height: 35px;
    line-height: 35px;
    text-align: center;
    position: relative;
    z-index: 4;
    padding-left: 7px;
}

#snav li span {
    background-color: red;
    border-radius: 0 0 12px 12px;
}

.megawidth_1 {
    max-width: 550px;
}

.list-unstyled a {
    text-decoration: none;
}

.list-unstyled a:hover,
.list-unstyled a:focus {
    text-decoration: none;
}

.list-unstyled a {
    text-decoration: none;
}

.list-unstyled a:hover,
.list-unstyled a:focus {
    text-decoration: none;
}

span.tree-number.sus-text {
    display: flex;
    justify-content: center;
    color: red;
    font-size: 28px;
}

.total-users {
    color: unset;
    font-size: 15px;
    text-align: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    z-index: 2;
    color: #ffffff !important;
    background: red;
    border-color: red;
    cursor: default;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #ffffff;
    background: red;
    border-color: red;
}

#blog_visitors,
#user_loggedin,
#user_activity {
    width: 100%;
    height: 500px;
}

.form-group .gj-textbox-md {
    border: 1px solid rgba(0, 0, 0, .42);
    padding: 8px 0px 8px 10px;
}

.form-group .gj-datepicker-md [role=right-icon] {
    right: 8px;
    top: 8px;
}

.dt_1,
.dt_2,
.dt_m {
    float: left;
}

.dt_m {
    padding: 5px 15px 0 15px
}

.n_data {
    width: 100%;
    text-align: center;
}

.gj-datepicker-md [role=right-icon] {
    top: 18px !important;
}

/* #tblCoupon_filter {
            display: none;
        } */

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 2px 15px
}


table.dataTable.no-footer {
    border-bottom: none;
    border-top: none;
}

tr {
    border: 1px solid #ced4da
}

span.feat-img-text {
    font-size: 0.8rem;
    color: #666;
}

div#tblCoupon_info,
div#tblCoupon_paginate {
    margin-top: 20px;
}

div#tblLoginActivity_info,
div#tblLoginActivity_paginate {
    margin-top: 20px;
}

.dataTables_wrapper .dataTables_filter input {
    display: inherit;
}

label {
    padding-bottom: 0px;
}

#tblSent_filter {
    display: none
}

circle {
    background-color: red;
}

.n_data {
    background-color: red;
}

input {
    display: inherit
}

.close {
    color: red;
    border: beige;
    font-size: 24px;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    color: red;
}

.containerLabel:hover input~.checkmark {
    background-color: #ccc;
}

.containerLabel input:checked~.checkmark {
    background-color: red;
}

.form-check-input:checked {
    background-color: red;
    border-color: red;
    width: 25px;
    height: 25px;
}

.plan-item {
    border: 1px solid #e4e4e4;
    width: 100%;
    border-radius: 6px;
    padding: 24px;
    margin: 16px 0;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.plan-active {
    border: 4px solid red;
}

.plan-members {
    padding: 12px 0;
    font-size: 1.2rem;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: red;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #444;
}

.plan-per ul {
    margin: 0 0 16px 0;
    list-style-type: none;
    padding: 10px 0;
}

.plan-per ul li {
    padding: 0;
    margin: 0;
    border-bottom: 1px dashed #e4e4e4;
    padding: 12px 0;
}

.plan-per {
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.plan-button .button {
    width: 100%;
    display: block;
    background-color: red;
    border-radius: 6px;
    color: white;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
}

.chapter-title-guide-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.guide-prev,
.guide-next {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 5px;
}

/* Bootstrap Carousel Customization */
.carousel-item {
    padding: 20px 0;
}

.input-container.subd {
    display: inline;
}

.nav-tabs {
    border: none;
}

input.form-control.bnone {
    border: none;
}

.form-control:focus {

    box-shadow: none;
    border: none;
}

.custom-dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 0.25rem;
}

.custom-dropdown-menu.show {
    display: block;
}

.goal-category-container {
    position: relative;
}

.goal-types-container {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 0.25rem;
    padding: 10px;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.goal-add-container {
    border: 1px solid #e4e4e4;
    border-radius: 24px;
    padding: 32px;
    background-color: #f4f4f4;
    margin: 32px 0;
}

.goal-measurement,
.goal-measurement-date {
    background-color: #fff;
    border: 2px solid red;
    border-radius: 50px;
    padding: 6px 16px;
    margin: 0 0 32px 0;
    display: inline-block;
    color: #666;
    font-size: 0.9rem;

}

.goal-measurement-date {
    display: flex;
    flex-wrap: nowrap;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.habit-term {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 32px 0;
}

.date-difference {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-content: center;
}

.date-difference hr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: -15px;
    border-color: #e4e4e4;
    border: 2px solid red;
}

.goal-days-container {
    display: inline-flex;
}

.goal-add-container p {
    font-size: 1.2rem;
}

.dropdown-menu.show i {
    max-width: 30px;
    min-width: 30px;
    text-align: center;
}

.drop-butt {
    margin-right: 24px;
}

.goal-container {
    border: 1px solid #e4e4e4;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #f4f4f4;
    position: relative;
    width: 100%;
    height: 90px;
    margin: 16px 0;
    color: #444;

}

.goal-progress-bar {
    position: absolute;
    background-color: red;
    width: 24%;
    height: 100%;
    border-radius: 8px 0 0 8px;
}

.pc40 {
    width: 40%;
}

.pc90 {
    width: 90%;
}

.pc100 {
    width: 100%;
}

.goal-content {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    align-items: center;
}

.goal-container-name {
    padding-left: 32px;
}

.goal-container-amount {
    padding-right: 32px;
}

.goal-container-add i {
    font-size: 1.8rem;
}

.goal-day {
    text-align: center;
}

.goal-date {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.goal-date-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;

}

p.goal-time-headers {
    font-size: 1.2rem;
    margin-top: 64px;
}

.goal-add-data {
    border: 1px solid #e4e4e4;
    border-radius: 24px;
    padding: 32px;
    width: 90%;
    margin: 0 auto;
}

.goal-edit {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.goals-not-set {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 24px 0 32px;
}

.goals-not-set i {
    font-size: 1.8rem;
    margin-left: 12px;
}

.goal-add-data {
    border: 1px solid #e4e4e4;
    border-radius: 24px;
    padding: 32px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

span.goal-entry-no {
    font-size: 2rem;
    font-weight: 600;
    padding: 0 12px;
}

p.goal-entry-no-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger to X icon transformation */
.navbar-toggler {
    border: none;
    padding: 0;
    outline: none;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: none;
    position: relative;
    transition: all 0.3s ease;
    width: 24px;
    /* Reduced width */
    height: 24px;
    /* Reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #444444;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler .navbar-toggler-icon::before {
    top: 0;
    transform: translateY(7px);
    /* Reduced spacing */
}

.navbar-toggler .navbar-toggler-icon::after {
    bottom: 0;
    transform: translateY(-7px);
    /* Reduced spacing */
}

.navbar-toggler .navbar-toggler-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #444444;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

/* X icon when expanded */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    transform: translateY(-50%) scale(0);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: translateY(0) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: translateY(0) rotate(-45deg);
}

.button-wrapper {
    display: flex;
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 12px;
}

ul.dropdown-menu.dropdown-menu-end.show {
    max-width: fit-content;
}

.progress.quiz.success .progress-bar {
    background-color: red;
}

.quizSuccessText {
    color: red;
    font-size: 30px !important;
    font-weight: 600 !important;
    margin-bottom: 26px;
}

.helpVideos h3 {
    color: red;
    font-size: 24px;
    font-weight: 400;
}

.quiz-timer h4 {
    font-size: 17px;
    color: #333;
}

.footer-border {
    border-radius: 24px 24px 0 0;
}

.dataTables_wrapper .dataTables_filter input {
    display: inherit;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 2px 15px
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    z-index: 2;
    color: #ffffff !important;
    background: red;
    border-color: red;
    cursor: default;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #ffffff;
    background: red;
    border-color: red;
}

div#data_tbl_info,
div#data_tbl_paginate {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.dataTables_wrapper .dataTables_length {
    display: inline-flex;
    width: 50%;
    align-content: center;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.dataTables_wrapper .dataTables_filter {
    display: inline-flex;
    width: 50%;
    justify-content: flex-end;
    align-items: center;
}

pre.language-markup {
    background-color: #222;
    color: #e378e3;
    border-radius: 4px;
}

.event-info-icon {
    color: red;
    /* Change this to your desired icon color */
    cursor: pointer;
    transition: color 0.2s;
}

.event-info-icon:hover,
.event-info-icon:focus {
    color: #e4e4e4;
    /* Example hover/focus color */
}

.special-date-bg {
    background-color: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    color: #444;
}

.special-date-bg ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    padding: 0;
}

.special-date-bg ul li {
    border: 1px dashed #e4e4e4;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 6px;
}

input#uniqueTermsCheckbox {
    width: 50px;
    height: 50px;
    padding: 5px;
    margin-right: 16px;
    display: none;
    /* Hide the actual checkbox */
}

/* Style the label to show a light grey checked square icon by default */
#uniqueTermsCheckbox+label::before {
    content: "\f14a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: lightgrey;
    margin-right: 10px;
    font-size: 40px;
    vertical-align: middle;
}

/* Style the label to show a green checked square icon when the checkbox is checked */
#uniqueTermsCheckbox:checked+label::before {
    color: red;
}

.logo_dis {
    background-color: #f4f4f4;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.instructions-list li {
    margin-bottom: 12px;
    border: 1px dashed #e4e4e4;
    padding: 12px;
}

ul.support-list li {
    margin-bottom: 12px;
}

ul.support-list li a {
    text-decoration: underline;
}

ul.support-list {
    list-style: none;
    padding-left: 0;
}

ul.support-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

ul.support-list li::before {
    content: "\f15c";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    margin-right: 10px;

}

.chat-message {
    margin-bottom: 20px;
    max-width: 80%;
    clear: both;
}

.system-message {
    margin-left: 0;
}

.user-message {
    float: right;
    text-align: right;
    margin-left: auto;
}

.message-content {
    padding: 15px;
    border-radius: 10px;
    background-color: red;
    display: inline-block;
}

.system-message .message-content {
    background-color: #f4f4f4;
    border-left: 4px solid red;
}

.user-message .message-content {
    background-color: red;
    border-right: 4px solid red;
}

.option-button {
    margin-right: 10px;
    margin-bottom: 10px;
    margin: 0;

}

#option-buttons {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 16px;
    background-color: #f4f4f4;
    padding: 24px;
    border-radius: 16px;
}

.message-content p {
    font-weight: 300;
    font-size: 18px;
}

/* Typing indicator animation */
.typing-indicator {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 30px;
    padding: 8px 0;
}

.typing-indicator span {
    height: 10px;
    width: 10px;
    margin: 0 3px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.7;
    animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0% {
        transform: translateY(0px);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-5px);
        opacity: 0.9;
    }

    100% {
        transform: translateY(0px);
        opacity: 0.4;
    }
}

.message-content h5 {
    font-size: unset;
    font-weight: 700;
}

.kpi-border {
    border: 1px dashed #e4e4e4;
    border-radius: 16px;
    padding: 24px;
}

/* Leaderboard Styles */
.leaderboard-container {
    width: 100%;
}

.leaderboard-row {
    background-color: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.leaderboard-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.top-position {
    background-color: #fff9e6;
    border: 1px solid #ffeeba;
}

.current-user {
    background-color: white;
    border: none;
    position: relative;
    z-index: 1;
}

.current-user::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    opacity: 0.1;
    z-index: -1;
}

.current-user::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid red;
    opacity: 0.3;
    z-index: -1;
    border-radius: 12px;
}

.position-shield {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.position-icon {
    font-size: 2.2rem;
    color: red;
}

.position-number {
    position: absolute;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
}

.user-name {
    font-weight: 500;
}

.user-points {
    font-size: 1.1rem;
    color: #444;
}

.leaderboard-divider {
    height: 1px;
    background-color: #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .position-icon {
        font-size: 1.8rem;
    }

    .position-number {
        font-size: 0.8rem;
    }

    .user-points {
        font-size: 1rem;
    }
}

/* Points Cards Styles */
.points-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.points-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.points-card.current-month,
.points-card.all-time {
    background-color: white;
    position: relative;
    z-index: 1;
    border: none;
}

.points-card.current-month::before,
.points-card.all-time::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    opacity: 0.1;
    z-index: -1;
}

.points-card.current-month::after,
.points-card.all-time::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid red;
    opacity: 0.3;
    z-index: -1;
    border-radius: 12px;
}

.points-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #444;
}

.points-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.points-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    opacity: 0.6;
    z-index: 100
}

.current-month .points-icon {
    color: red;
}

.all-time .points-icon {
    color: red;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .points-value {
        font-size: 2rem;
    }

    .points-label {
        font-size: 1rem;
    }

    .points-icon {
        font-size: 2rem;
    }
}

/* Badge Card Styles */
.badge-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.achieved .badge-icon {
    color: red;
    /* Using the site's primary color */
}

.unachieved {
    opacity: 0.6;
    filter: grayscale(1);
}

.badge-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.badge-description {
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .badge-icon {
        font-size: 2rem;
    }

    .badge-name {
        font-size: 1rem;
    }
}

/* New styles for responsive */

#cvFormTabs .nav-link {
    color: #495057;
    margin-right: 5px;

}

#cvFormTabs .nav-link:hover {
    background-color: transparent;
    color: red;
}

#cvFormTabs .nav-link.active {
    color: red;
    background-color: transparent;

}

/* Style for the achievement member since icon and text */
.d-flex.justify-content-end>i.fa-crown {
    line-height: 1.6;
    margin-right: 0.4em;
    /* Adds a bit of space next to the icon */
}

/* Base styles for all reward icons */
.reward-icon {
    font-size: 1.1rem;
}

/* Type-specific styles */
.reward-icon-voucher {
    color: red;

}

.reward-icon-points {
    color: red;

}

.reward-icon-badge {
    color: red;
}

.reward-icon-default {
    color: red;
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    background-color: white;
    /* Or your desired background color */
    z-index: 1000;
    /* Ensure it's above other content */
    padding-top: 10px;
    /* Optional: Add some padding when sticky */
    padding-bottom: 10px;
    /* Optional: Add some padding when sticky */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Optional: Add a subtle shadow */
}

.letter-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #444;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.letter-link:hover:not(.disabled) {
    background-color: red;
    color: white;
}

.letter-link.disabled {
    opacity: 0.4;
    cursor: default;
}

.glossary-section {
    margin-bottom: 40px;
    padding-top: 20px;
}

.section-letter {
    color: red;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    border: 2px solid red;
    grid-column: 1 / -1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glossary-term {
    margin-bottom: 30px;
}

.glossary-term h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.glossary-term p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .alphabet-nav {
        gap: 5px;
    }

    .letter-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .section-letter {
        font-size: 2rem;
    }
}

.glossary-section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .glossary-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .glossary-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

.col-megamenu h6 {
    font-size: unset;
    border-bottom: 1px solid #e4e4e4;
    line-height: 2;
    margin-left: 12px;
}

.page-title {
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.changelog-entry .card-header h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

.changelog-entry .badge {
    font-size: 0.8em;
}

ul.changelog-changes {
    list-style: none;
    padding: 0 !important;
    margin: 0;
}

.changelog-changes li {
    display: flex;
    align-items: flex-start;
    /* Aligns icon with the start of the text */
    margin-bottom: 16px;
}

.changelog-changes li span {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

/* Using .change-type-badge instead of .badge */

.changelog-changes li i {
    font-size: 1.1em;
    /* Slightly larger icon */
    margin-top: 0.15em;
    /* Adjust vertical alignment of icon if needed */
}

.channel-changes-bg {
    background-color: #f4f4f4;
    padding: 32px;
    border-radius: 16px;
    margin: 16px 0 32px;
}

.mh-unset {
    min-height: unset;
}

.version-badge {
    background-color: #e4e4e4;
}