/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
    height: 64px;
}

.dark-style .menu .app-brand.demo {
    height: 64px;
}

.app-brand-logo.demo {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    width: 34px;
    height: 24px;
}

.app-brand-logo.demo svg {
    width: 35px;
    height: 24px;
}

.app-brand-text.demo {
    font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}
.layout-navbar-fixed
    .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu)
    .layout-page {
    padding-top: 78px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
    display: block !important;
}

.demo-inline-spacing > * {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir="rtl"] .rtl-only {
    display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
    #dropdown-variation-demo .btn-group .text-truncate {
        width: 254px;
        position: relative;
    }
    #dropdown-variation-demo .btn-group .text-truncate::after {
        position: absolute;
        top: 45%;
        right: 0.65rem;
    }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}
.layout-demo-placeholder img {
    width: 900px;
}
.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

div:where(.swal2-container) {
    z-index: 1100 !important;
}
.table-heading-image {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    outline: 3px solid white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.table-preview-image {
    width: 150px;
    height: 100px;
    border-radius: 10px;
    outline: 3px solid white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.table-preview-video {
    width: 170px;
    height: 150px;
    border-radius: 10px;
    outline: 3px solid white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.product-pricing-input {
    width: 150px;
}
.product-pricing-input:focus {
    outline: none;
    box-shadow: none;
}

.product-pricing-input::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0; /* Remove default margin */
}

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

    15% {
        transform: rotate(14deg);
    }

    30% {
        transform: rotate(-8deg);
    }

    40% {
        transform: rotate(14deg);
    }

    50% {
        transform: rotate(-4deg);
    }

    60% {
        transform: rotate(10deg);
    }

    70% {
        transform: rotate(0deg);
    }

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

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

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

.text-heading {
    color: #1a1a1a;
}

.stat-card {
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    flex-shrink: 0;
}

.welcome-card {
    background: linear-gradient(109.95deg, #6b46c1 0%, #32215b 100%);
    border-radius: 25px;
    padding: 30px;
    position: relative;
    color: white;
    overflow: visible;
}

.welcome-text h2 {
    font-weight: 700;
    font-size: 2.5rem;
    color: white;
}

.welcome-text p {
    font-size: 1.2rem;
    margin: 0;
}

/* Star animation */
.star {
    position: absolute;
    color: white;
    font-size: 30px;
    opacity: 0.8;
    animation: fly 10s linear infinite;
}

@keyframes fly {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-200px) translateX(200px) rotate(360deg);
        opacity: 0;
    }
}

.character {
    width: 220px;
    position: absolute;
    right: 30px;
    bottom: 0;
    transform: translateY(-5px);
}

.progress-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.stat-card {
    background: linear-gradient(109.95deg, #6b46c1 0%, #32215b 100%);
    border-radius: 25px;
    padding: 20px;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 130px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.emoji {
    font-size: 1.5rem;
}

@media (max-width: 767px) {
    .stat-card {
        margin-bottom: 15px;
    }
}
.progress-container {
    border: 1px solid #00000066;
    border-radius: 25px;
}
.next-card {
    background: linear-gradient(109.95deg, #f59e0b 0%, #815100 100%);
    border-radius: 25px;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
}

.next-card img {
    border-radius: 20px;
    width: 220px;
    height: 200px;
    object-fit: cover;
}

.next-content {
    flex: 1;
    padding: 20px;
}

.next-content h4 {
    font-weight: 700;
    font-size: 1.6rem;
    color: white;
}

.next-content p {
    font-size: 1.1rem;
    color: #e2e2e2;
}

.progress {
    height: 9px;
    border-radius: 10px;
    background: #b9b9b9;
    margin-bottom: 10px;
}

.progress-bar {
    background: linear-gradient(90deg, #8b5cf6, #6b46c1);
}

.percentage {
    font-weight: 600;
    font-size: 1rem;
    color: #aeefff;
    margin-bottom: 15px;
}

.btn-continue {
    background: linear-gradient(109.95deg, #6b46c1 0%, #32215b 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    padding: 10px 25px;
    transition: 0.3s ease;
}

.btn-continue:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .next-card {
        flex-direction: column;
        text-align: center;
    }

    .next-content {
        padding: 15px 0;
    }

    .next-card img {
        width: 100%;
        max-width: 300px;
    }
}
.journey-card {
    background: linear-gradient(109.95deg, #6b46c1 0%, #32215b 100%);
    border-radius: 25px;
    padding: 25px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid #00000066;
}

.journey-card h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.journey-card .course-box {
    background: #fff;
    color: black;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.journey-card .course-box p {
    margin: 0;
    font-weight: 600;
}

.journey-card .course-box small {
    color: #8a0078;
    font-weight: 500;
}

.journey-card .btn-continue {
    background: linear-gradient(109.95deg, #6b46c1 0%, #32215b 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 6px 18px;
    font-weight: 600;
    transition: 0.3s ease;
}

.journey-card .btn-continue:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.locked-course {
    background: #e9e9e9;
    color: #555;
    border-radius: 15px;
    padding: 15px 20px;
    opacity: 0.8;
}

.locked-course small {
    display: block;
    color: #999;
    font-size: 0.9rem;
}

.achievements-card {
    background: #e5d9ff;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid #00000066;
}

.achievements-card h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.achievement-item {
    background: #6b46c1;
    color: white;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-style: solid;
    border-color: #f59e0b;
    border-width: 1px, 1px, 1px, 5px;
}

.achievement-item small {
    color: #b5c7e0;
    display: block;
    margin-top: 4px;
}

.view-link {
    color: #052a60;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #052a60;
    padding-bottom: 2px;
    transition: 0.3s ease;
}

.view-link:hover {
    opacity: 0.8;
}

/* Progress Card */
.progress-card {
    background: #e5d9ff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #00000066;
}

.progress-card .progress {
    height: 10px;
    border-radius: 10px;
    background-color: #e5d9ff;
}

.progress-card .progress-bar {
    background: #6b46c1;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-weight: 600;
}

.streak-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.timeline-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-card h3 {
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 30px;
    color: #2d3748;
}

.week-section {
    margin-bottom: 40px;
}

.week-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2d3748;
}

.day-card {
    border-radius: 15px;
    padding: 18px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.day-card-wrapper {
    display: flex;
    height: 100%;
}

.day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.day-card.completed {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: white;
}

.day-card.current {
    background: linear-gradient(109.95deg, #6b46c1 0%, #32215b 100%);
    color: white;
}

.day-card.locked {
    background: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
}

.day-card .check-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.day-card .play-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.day-card .lock-icon {
    font-size: 28px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.day-number {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.day-time {
    font-size: 15px;
    font-weight: 500;
}

.completion-text {
    font-size: 16px;
    color: #6c757d;
    margin-top: 15px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .day-card {
        margin-bottom: 15px;
    }
}

.video-container {
    position: relative;
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-section {
    margin-bottom: 20px;
}

.content-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.affirmation-box {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.affirmation-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3748;
}

.affirmation-box p {
    font-size: 18px;
    margin: 0;
    color: #2d3748;
    line-height: 1.6;
}

.btn-play-video {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-play-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-complete {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-complete:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.section-card {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.section-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2d3748;
}

.reflection-textarea {
    width: 100%;
    min-height: 200px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    resize: vertical;
    margin-bottom: 15px;
    background: white;
    color: #2d3748;
}

.reflection-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.btn-save {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.community-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    margin-bottom: 15px;
}

.discussion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.discussion-item i {
    font-size: 24px;
}

.btn-view-posts {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-view-posts:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

@media (max-width: 768px) {
    .bottom-section {
        grid-template-columns: 1fr;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .video-container {
        height: 200px;
    }
}

.course-module-accordian {
    background: linear-gradient(109.95deg, #6b46c1 0%, #32215b 100%);
}

.active-accordion {
    background-color: #e5d9ff;
    color: #6b46c1;
}
.btn-purple{
    background: linear-gradient(109.95deg, #6B46C1 0%, #32215B 100%);
    color: white;
}

.btn-gold{
    background: linear-gradient(109.95deg, #F59E0B 0%, #815100 100%);
    color: white;
}