.dashboard-sidebar {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    padding: 25px;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}

.dashboard-user-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.dashboard-user h6 {
    font-size: 15px;
}

.dashboard-user span {
    font-size: 18px;
    color: #222;
    font-weight: bold;
}

.dashboard-account-date {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #777;
}

.dashboard-menu {
    padding-top: 10px;
}

.dashboard-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 12px;
    margin-bottom: 3px;
    border-radius: 5px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s ease;
}

.dashboard-menu-item span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-menu-item i {
    font-size: 17px;
}

.dashboard-menu-item:hover, .dashboard-menu-item.active {
    background: #f5f5f5;
    color: #111;
}

.dashboard-menu-divider {
    height: 1px;
    background: #eeeeee;
    margin: 15px 0;
}

.dashboard-logout {
    color: #777;
}

.dashboard-welcome h4 {
    font-size: 26px;
    font-weight: 600;
}

.dashboard-welcome p {
    color: #777;
    font-size: 14px;
}

.dashboard-stat-card {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.dashboard-stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.dashboard-stat-card span {
    display: block;
    color: #777;
    font-size: 13px;
    margin-bottom: 3px;
}

.dashboard-stat-card h4 {
    margin: 0;
    font-size: 24px;
}

.dashboard-section {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 25px;
}

.dashboard-content-loader {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-main-panel {
    width: 100%;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .dashboard-main-panel {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .dashboard-course-card {
        flex-direction: column;
    }
    .dashboard-course-image {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .dashboard-sidebar {
        padding: 20px;
    }
    .dashboard-section {
        padding: 20px;
    }
    .dashboard-welcome h4 {
        font-size: 22px;
    }
}

.dashboard-dashboard-courses {
    margin-top: 10px;
}

.dashboard-dashboard-courses-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.dashboard-dashboard-courses-view-all:hover {
    color: #198754;
}

.dashboard-recent-activity {
    margin-top: 35px;
}

.dashboard-recent-activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-recent-activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.dashboard-recent-activity-item:hover {
    background: #fafafa;
    border-color: #dcdcdc;
}

.dashboard-recent-activity-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0faf5;
    color: #198754;
}

.dashboard-recent-activity-icon i {
    font-size: 16px;
}

.dashboard-recent-activity-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-recent-activity-info strong {
    color: #333;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

.dashboard-recent-activity-info span {
    color: #888;
    font-size: 12px;
}

.dashboard-recent-activity-meta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.dashboard-recent-activity-meta strong {
    color: #333;
    font-size: 12px;
    font-weight: 500;
}

.dashboard-recent-activity-meta span {
    color: #888;
    font-size: 11px;
}

.dashboard-recent-activity-empty {
    padding: 30px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-align: center;
    color: #888;
}

.dashboard-recent-activity-empty i {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
}

.dashboard-course-progress {
    margin-top: 20px;
}

.dashboard-recent-video-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0px;
}

.dashboard-recent-video-progress-bar {
    width: 120px;
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: #eeeeee;
}

.dashboard-recent-video-progress-fill {
    height: 100%;
    border-radius: 10px;
    background: #198754;
}

.dashboard-recent-video-progress-text {
    color: #777;
    font-size: 10px;
    white-space: nowrap;
}

.dashboard-course-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
}

.dashboard-course-progress-header span {
    color: #777;
    font-size: 12px;
}

.dashboard-course-progress-header strong {
    color: #198754;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-course-progress-bar {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 10px;
    background: #eeeeee;
}

.dashboard-course-progress-fill {
    height: 100%;
    border-radius: 10px;
    background: #198754;
    transition: width 0.3s ease;
}

@media (max-width: 767px) {
    .dashboard-recent-activity-item {
        align-items: flex-start;
        padding: 14px;
    }
    .dashboard-recent-activity-meta {
        align-items: flex-start;
        text-align: left;
    }
    .dashboard-recent-activity-info strong {
        font-size: 13px;
    }
    .dashboard-recent-activity-meta strong {
        font-size: 11px;
    }
}

.dashboard-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.dashboard-order-count {
    color: #1f1f1f;
    font-size: 14px;
    white-space: nowrap;
}

.dashboard-order-card {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 20px;
    background: #fff;
    margin-bottom: 15px;
}

.dashboard-order-card:last-child {
    margin-bottom: 0;
}

.dashboard-order-main {
    display: flex;
    gap: 20px;
}

.dashboard-order-image {
    width: 240px;
    height: 160px;
    flex: 0 0 240px;
    padding: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dashboard-order-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.dashboard-order-info {
    flex: 1;
    min-width: 0;
}

.dashboard-order-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.dashboard-order-title-area {
    min-width: 0;
}

.dashboard-order-title-area h5 {
    color: #444;
    line-height: 1.45;
    word-break: break-word;
}

.dashboard-course-label {
    display: block;
    color: #222;
    font-size: 12px;
    margin-bottom: 0px;
}

.dashboard-order-details {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 5px;
}

.dashboard-order-detail {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.dashboard-order-detail span {
    color: #777;
    font-size: 12px;
}

.dashboard-order-detail strong {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.dashboard-order-actions {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .dashboard-section-header {
        align-items: flex-start;
    }
    .dashboard-order-count {
        margin-top: 3px;
    }
    .dashboard-order-card {
        padding: 15px;
    }
    .dashboard-order-main {
        flex-direction: column;
        gap: 15px;
    }
    .dashboard-order-image {
        width: 100%;
        height: 180px;
    }
    .dashboard-order-heading {
        gap: 10px;
    }
    .dashboard-order-title-area h5 {
        font-size: 17px;
    }
    .dashboard-order-details {
        gap: 18px 30px;
        margin-top: 20px;
    }
    .dashboard-order-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.dashboard-certificate-card {
    background-color: #fff;
}

.dashboard-certificate-image {
    width: 220px;
    height: 140px;
    padding: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dashboard-certificate-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 4px;
}

.dashboard-certificate-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.dashboard-certificate-image-placeholder i {
    font-size: 35px;
}

.dashboard-certificate-card .dashboard-course-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
}

.dashboard-certificate-purchased {
    font-size: 15px;
    color: #777;
}

.dashboard-certificate-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.certificate-action-btn {
    white-space: nowrap;
}

.certificate-preview {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #f8f8f8;
}

.certificate-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.certificate-preview-frame {
    width: 100%;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.certificate-preview-frame iframe {
    display: block;
    width: 100%;
    height: 700px;
    border: none;
}

@media (max-width: 767px) {
    .dashboard-certificate-image {
        width: 100%;
        height: 180px;
    }
    .dashboard-certificate-course-title {
        font-size: 20px;
    }
    .dashboard-certificate-action-row {
        flex-direction: column;
        align-items: stretch;
    }
    .dashboard-certificate-action-row .certificate-status {
        align-self: flex-start;
    }
    .certificate-action-btn {
        width: 100%;
    }
    .certificate-preview {
        padding: 10px;
    }
    .certificate-preview-header {
        flex-direction: column;
        align-items: stretch;
    }
    .certificate-preview-header .btn {
        width: 100%;
    }
    .certificate-preview-frame iframe {
        height: 500px;
    }
}

.dashboard-course-module {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #fff;
}

.dashboard-course-module-header {
    min-height: 65px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.dashboard-course-module-header > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-course-module-number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    font-size: 13px;
}

@media (max-width: 767px) {
    .dashboard-course-detail-card {
        display: block;
    }
    .dashboard-course-detail-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        min-height: 230px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f7f7f7;
        border-radius: 8px;
        overflow: hidden;
    }
}

.dashboard-course-module-header {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
}

.dashboard-course-module-header:hover {
    background-color: #fafafa;
}

.dashboard-course-module-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.dashboard-course-module-title {
    display: block;
    color: #333;
    line-height: 1.4;
}

.dashboard-course-module-info {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 13px;
}

.dashboard-course-module-arrow {
    flex: 0 0 auto;
    transition: transform 0.25s ease;
}

.dashboard-course-module-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid #e5e5e5;
}

.dashboard-course-module.open
.dashboard-course-module-content {
    overflow: visible;
}

.dashboard-course-lesson {
    min-height: 70px;
    padding: 14px 20px 14px 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.dashboard-course-lesson-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dashboard-course-lesson-icon,
.dashboard-course-sublesson-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding-left: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f5f5;
}

.dashboard-course-lesson-info {
    min-width: 0;
}

.dashboard-course-lesson-title {
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}

.dashboard-course-lesson-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
    color: #888;
    font-size: 12px;
}

.dashboard-course-lesson-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dashboard-course-free {
    color: #198754;
    font-weight: 500;
}

.dashboard-course-paid {
    color: #888;
    font-weight: 500;
}

.dashboard-course-lesson-action {
    flex: 0 0 auto;
}

.dashboard-course-watch-btn {
    border: 0;
    border-radius: 5px;
    padding: 2px 8px;
    background-color: #222;
    color: #fff;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dashboard-course-locked-label {
    color: #999;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dashboard-course-sublessons {
    background-color: #fafafa;
}

.dashboard-course-sublesson {
    min-height: 60px;
    padding: 12px 20px 12px 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #eeeeee;
}

.dashboard-course-sublesson-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
}

.dashboard-course-empty {
    padding: 30px;
    text-align: center;
    color: #888;
}

@media (max-width: 767px) {
    .dashboard-course-lesson {
        padding-left: 20px;
        align-items: flex-start;
    }
    .dashboard-course-sublesson {
        padding-left: 45px;
        align-items: flex-start;
    }
    .dashboard-course-lesson-action {
        margin-top: 3px;
    }
    .dashboard-course-watch-btn {
        padding: 7px 10px;
    }
    .dashboard-course-module-header {
        padding: 15px;
    }
}

.dashboard-video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dashboard-video-modal.active {
    display: flex;
}

.dashboard-video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.dashboard-video-modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.dashboard-video-modal-header {
    min-height: 60px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.dashboard-video-modal-header h5 {
    color: #333;
    font-size: 16px;
    line-height: 1.4;
}

.dashboard-video-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dashboard-video-close:hover {
    background: #e9e9e9;
}

.dashboard-video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding-top: 0;
    background: #000;
    overflow: hidden;
}

.dashboard-video-player iframe,
.dashboard-video-player video {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0;
    object-fit: contain;
    background: #000;
}

@media (max-width: 767px) {
    .dashboard-video-modal {
        padding: 10px;
    }
    .dashboard-video-modal-dialog {
        border-radius: 6px;
    }
    .dashboard-video-modal-header {
        min-height: 55px;
        padding: 12px 15px;
    }
    .dashboard-video-modal-header h5 {
        font-size: 14px;
    }
}

.dashboard-courses-page {
    width: 100%;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .dashboard-courses-page {
        padding: 20px;
    }
}

.dashboard-courses-heading {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 500;
    color: #323232;
}

.dashboard-courses-subheading {
    font-size: 14px;
    color: #888;
}

.dashboard-courses-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.dashboard-course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dashboard-course-card:hover {
    transform: translateY(-3px);
    border-color: #dedede;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.dashboard-course-card-image {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f5f5f5;
    overflow: hidden;
}

.dashboard-course-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dashboard-course-card:hover
.dashboard-course-card-image img {
    transform: scale(1.03);
}


.dashboard-course-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 40px;
}

.dashboard-course-card-status {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0px 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.96);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.dashboard-course-card-status.purchased {
    color: #198754;
}

.dashboard-course-card-status.available {
    color: #555;
}

.dashboard-course-card-body {
    flex: 1;
    padding: 24px;
}

.dashboard-course-card-title {
    margin: 0 0 10px;
    color: #333;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
}

.dashboard-course-card-description {
    margin: 0;
    color: #888;
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dashboard-course-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
}

.dashboard-course-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #777;
    font-size: 12px;
}

.dashboard-course-card-meta-item i {
    font-size: 14px;
}

.dashboard-course-card-divider {
    height: 1px;
    margin: 20px 0;
    background: #eeeeee;
}

.dashboard-course-card-footer {
    width: 100%;
}

.dashboard-course-card-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dashboard-course-card-button.purchased {
    background: #222;
    color: #fff;
    border: 1px solid #222;
}

.dashboard-course-card-button.purchased:hover {
    background: #111;
    color: #fff;
}

.dashboard-course-card-button.available {
    background: #fff;
    color: #333;
    border: 1px solid #dcdcdc;
}

.dashboard-course-card-button.available:hover {
    background: #f7f7f7;
    color: #222;
}

.dashboard-courses-empty {
    padding: 70px 30px;
    text-align: center;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
}

.dashboard-courses-empty-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: #777;
    font-size: 24px;
}

@media (max-width: 991px) {
    .dashboard-courses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .dashboard-courses-heading {
        font-size: 26px;
    }
    .dashboard-courses-subheading {
        font-size: 13px;
    }
    .dashboard-course-card-body {
        padding: 20px;
    }
    .dashboard-course-card-title {
        font-size: 18px;
    }
    .dashboard-course-card-meta {
        gap: 12px;
    }
}

.dashboard-course-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.dashboard-course-detail-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    border-radius: 8px;
    overflow: hidden;
}

.dashboard-course-detail-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-course-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.dashboard-course-status.purchased {
    color: #198754;
    background: #f0faf5;
}

.dashboard-course-status.available {
    color: #555;
    background: #f5f5f5;
}

.dashboard-course-detail-body h3 {
    margin-top: 12px;
    margin-bottom: 25px;
    color: #2f2f2f;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 500;
}

.dashboard-course-detail-body > p {
    max-width: 650px;
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

.dashboard-course-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 24px;
    width: 100%;
}

.dashboard-course-detail-meta > div {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #777;
    font-size: 13px;
    white-space: nowrap;
}

.dashboard-course-detail-meta i {
    font-size: 15px;
}

@media (max-width: 991px) {
    .dashboard-course-detail-card {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .dashboard-course-detail-image {
        max-width: 600px;
    }
}

@media (max-width: 767px) {
    .dashboard-course-detail-card {
        display: block;
        padding: 18px;
        border-radius: 10px;
    }
    .dashboard-course-detail-image {
        margin-bottom: 22px;
    }
    .dashboard-course-detail-body h3 {
        font-size: 25px;
    }
    .dashboard-course-detail-meta {
        flex-wrap: wrap;
        gap: 12px 18px;
    }
}

.dashboard-course-introduction {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.dashboard-course-introduction img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.dashboard-course-introduction-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.dashboard-course-introduction-play i {
    margin-left: 3px;
    font-size: 20px;
}

.dashboard-course-introduction-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(0, 0, 0, 0.9);
}

@media (max-width: 767px) {
    .dashboard-course-detail-image {
        min-height: 0;
        padding: 15px;
    }
    .dashboard-course-introduction {
        min-height: 0;
    }
    .dashboard-course-introduction img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 300px;
    }
    .dashboard-course-detail-body h3 {
        font-size: 25px;
    }
}

.dashboard-course-introduction-info {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eeeeee;
}

.dashboard-course-introduction-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.dashboard-course-introduction-label i {
    font-size: 16px;
}

.dashboard-course-introduction-info p {
    margin: 8px 0 16px;
    color: #888;
    font-size: 13px;
    line-height: 1.6;
}

.dashboard-course-introduction-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #222;
    border-radius: 5px;
    background: #222;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.dashboard-course-introduction-btn:hover {
    background: #111;
    color: #fff;
    transform: translateY(-1px);
}

.dashboard-access-message {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    padding: 30px 32px;
    background: linear-gradient(135deg, #f5fff8 0%, #ffffff 100%);
    border: 1px solid #bfe8ce;
    border-left: 4px solid #198754;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(25, 135, 84, 0.06);
}

.dashboard-access-icon {
    position: relative;
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e2f7e9;
    color: #198754;
}

.dashboard-access-icon > i {
    font-size: 30px;
}

.dashboard-access-check {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    border: 2px solid #fff;
}

.dashboard-access-check i {
    font-size: 11px;
}

.dashboard-access-content {
    flex: 1;
    min-width: 0;
}

.dashboard-access-label {
    margin-bottom: 5px;
    color: #198754;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.dashboard-access-title {
    margin: 0 0 6px;
    color: #222;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}

.dashboard-access-description {
    margin: 0;
    color: #6f6f6f;
    font-size: 14px;
    line-height: 1.6;
}

.dashboard-access-features {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.dashboard-access-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 20px;
    background: #e7f7ec;
    color: #198754;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.dashboard-access-features i {
    font-size: 13px;
}

.dashboard-access-premium {
    width: 150px;
    min-width: 150px;
    min-height: 120px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #cfeedd;
    background: #e9f9ef;
    border-radius: 10px;
    text-align: center;
}

.dashboard-access-premium > i {
    margin-bottom: 8px;
    color: #198754;
    font-size: 25px;
}

.dashboard-access-premium strong {
    color: #187a4b;
    font-size: 17px;
    font-weight: 600;
}

.dashboard-access-premium span {
    margin-top: 4px;
    color: #198754;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .dashboard-access-message {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 25px 20px;
    }
    .dashboard-access-content {
        width: 100%;
    }
    .dashboard-access-title {
        font-size: 22px;
    }
    .dashboard-access-description {
        font-size: 13px;
    }
    .dashboard-access-features {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .dashboard-access-features span {
        white-space: normal;
    }
    .dashboard-access-premium {
        width: 100%;
        min-width: 0;
        min-height: auto;
        padding: 15px;
        border-left: 0;
        border-top: 1px solid #cfeedd;
    }
}

.dashboard-course-content {
    width: 100%;
}

.dashboard-course-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.dashboard-course-content-heading {
    flex: 1;
    min-width: 0;
}

.dashboard-course-content-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-course-content-title-row > i {
    margin-top: 4px;
    flex: 0 0 auto;
    color: #198754;
    font-size: 20px;
    line-height: 1;
}

.dashboard-course-content-title-row > div {
    min-width: 0;
}

.dashboard-course-content-title-row h4 {
    margin: 0;
    color: #17213a;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
}

.dashboard-course-content-subtitle {
    margin-top: 2px !important;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.dashboard-course-content-separator {
    display: inline-block;
    margin: 0 2px;
    color: #98a2b3;
}

.dashboard-course-total-duration {
    min-width: 185px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1fbf5;
    border: 1px solid #d6efdf;
    border-radius: 10px;
}

.dashboard-course-total-duration-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e0f5e8;
    color: #198754;
}

.dashboard-course-total-duration-icon i {
    font-size: 18px;
}

.dashboard-course-total-duration span {
    display: block;
    color: #777;
    font-size: 11px;
}

.dashboard-course-total-duration strong {
    display: block;
    color: #198754;
    font-size: 16px;
    font-weight: 600;
}

.dashboard-course-modules {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-course-module {
    width: 100%;
    background: #fff;
    border: 1px solid #e3e7e5;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-course-module:hover {
    border-color: #c8ddd0;
    box-shadow: 0 5px 18px rgba(25, 135, 84, 0.05);
}

.dashboard-course-module-header {
    width: 100%;
    min-height: 78px;
    padding: 16px 18px;
    border: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
}

.dashboard-course-module-header:hover {
    background: #fcfefd;
}

.dashboard-course-module-left {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.dashboard-course-module-number {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e6f7ed;
    color: #198754;
    font-size: 20px;
    font-weight: 600;
}

.dashboard-course-module-main {
    min-width: 0;
}

.dashboard-course-module-title {
    display: block;
    color: #222;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
}

.dashboard-course-module-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 6px;
    color: #888;
    font-size: 12px;
}

.dashboard-course-module-info span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dashboard-course-module-info i {
    font-size: 12px;
    color: #999;
}

.dashboard-course-module-separator {
    color: #c4c4c4;
}

.dashboard-course-module-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}

.dashboard-course-module-duration {
    width: 80px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 5px;
    border-radius: 5px;
    background: #eaf8ef;
    color: #198754;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.dashboard-course-module-duration i {
    font-size: 13px;
}

.dashboard-course-module-arrow {
    flex: 0 0 auto;
    color: #333;
    font-size: 15px;
    transition: transform 0.25s ease;
}

.dashboard-course-module.open {
    border-color: #cfe5d7;
}

.dashboard-course-module.open
.dashboard-course-module-arrow {
    transform: rotate(180deg);
}

.dashboard-course-module-content {
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid #eeeeee;
    transition: max-height 0.3s ease;
}

.dashboard-course-empty {
    padding: 30px;
    text-align: center;
    color: #888;
}

@media (max-width: 767px) {
    .dashboard-course-content-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
    .dashboard-course-content-title-row h4 {
        font-size: 22px;
    }
    .dashboard-course-total-duration {
        width: 100%;
        min-width: 0;
    }
    .dashboard-course-module-header {
        min-height: 72px;
        padding: 14px;
        gap: 12px;
    }
    .dashboard-course-module-left {
        gap: 11px;
    }
    .dashboard-course-module-number {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 13px;
    }
    .dashboard-course-module-title {
        font-size: 14px;
    }
    .dashboard-course-module-info {
        font-size: 11px;
        gap: 5px;
    }
    .dashboard-course-module-right {
        gap: 8px;
    }
    .dashboard-course-module-duration {
        padding: 6px 8px;
        font-size: 10px;
    }
    .dashboard-course-module-duration i {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .dashboard-course-content-title-row {
        gap: 12px;
    }
    .dashboard-course-content-title-row > i {
        margin-top: 4px;
        font-size: 18px;
    }
    .dashboard-course-content-title-row h4 {
        font-size: 22px;
    }
    .dashboard-course-content-subtitle {
        font-size: 13px;
        line-height: 1.55;
    }
}

.dashboard-course-module.module-accessible {
    border-color: #c8e8d5;
}

.dashboard-course-module.module-locked {
    border-color: #f1d0d0;
}

.dashboard-course-module.module-locked .dashboard-course-module-number {
    background-color: #fff0f0;
    color: #dc3545;
}

.dashboard-course-module.module-locked .dashboard-course-module-duration {
    background-color: #fff0f0;
    color: #dc3545;
}

.dashboard-course-materials {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
}

.dashboard-course-materials-header {
    margin-bottom: 16px;
}

.dashboard-course-materials-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-course-materials-title > i {
    font-size: 20px;
}

.dashboard-course-materials-title > div {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dashboard-course-materials-title strong {
    font-size: 15px;
}

.dashboard-course-materials-title span {
    font-size: 12px;
    color: #777;
}

.dashboard-course-material-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-course-material {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    background: #fafafa;
}

.dashboard-course-material-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.dashboard-course-material-icon i {
    font-size: 17px;
}

.dashboard-course-material-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dashboard-course-material-info strong {
    font-size: 13px;
    line-height: 1.4;
    color: #222;
}

.dashboard-course-material-info span {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}

.dashboard-course-material-action {
    flex: 0 0 auto;
}

.dashboard-course-material-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #222;
    border-radius: 7px;
    background: #fff;
    color: #222;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dashboard-course-material-download:hover {
    background: #222;
    color: #fff;
}

.dashboard-course-material-download i {
    font-size: 14px;
}

.dashboard-course-material-locked {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #999;
}

.dashboard-course-material-locked i {
    font-size: 14px;
}

.dashboard-course-module-materials {
    padding: 5px 20px 10px;
    border-bottom: 1px solid #eeeeee;
    background: #fff;
}

.dashboard-course-module-materials-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 5px;
    margin-bottom: 2px;
    font-size: 14px;
}

.dashboard-course-module-materials-title i {
    font-size: 16px;
}

.dashboard-course-lesson-materials {
    margin: 0;
    padding: 5px 110px 14px 110px;
    border-top: 0;
    border-bottom: 1px solid #eeeeee;
}

.dashboard-course-lesson-materials .dashboard-course-material {
    width: 100%;
    padding: 9px 12px;
}

.dashboard-course-lesson:has(+ .dashboard-course-lesson-materials) {
    border-bottom: 0 !important;
}

.dashboard-course-sublesson:has(+ .dashboard-course-sublesson-materials) {
    border-bottom: 0 !important;
}

.dashboard-course-sublesson-materials {
    width: 100%;
    margin: 0;
    padding: 10px 110px 14px 135px;
    border-bottom: 1px solid #eeeeee;
}

.dashboard-course-sublesson-materials .dashboard-course-material {
    width: 100%;
    box-sizing: border-box;
}

.dashboard-course-lesson-materials .dashboard-course-material,
.dashboard-course-sublesson-materials .dashboard-course-material {
    padding: 9px 12px;
}

.dashboard-course-material + .dashboard-course-material {
    margin-top: 8px;
}

.dashboard-course-lesson-materials .dashboard-course-material-icon,
.dashboard-course-sublesson-materials .dashboard-course-material-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

.dashboard-course-lesson-materials .dashboard-course-material-info strong,
.dashboard-course-sublesson-materials .dashboard-course-material-info strong {
    font-size: 12px;
}

.dashboard-course-lesson-materials .dashboard-course-material-download,
.dashboard-course-sublesson-materials .dashboard-course-material-download {
    min-height: 32px;
    padding: 0 11px;
    font-size: 11px;
}

@media (max-width: 767px) {
    .dashboard-course-material {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .dashboard-course-material-info {
        padding-top: 2px;
    }
    .dashboard-course-material-action {
        width: 100%;
        margin-left: 54px;
    }
    .dashboard-course-material-download {
        width: calc(100% - 54px);
    }
    .dashboard-course-module-materials {
        padding: 16px;
    }
    .dashboard-course-lesson-materials {
        margin: -2px 0 14px 20px;
    }
    .dashboard-course-sublesson-materials {
        margin: 10px 0 4px 20px;
    }
}

.dashboard-video-language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    margin-right: 10px;
}

.dashboard-video-language-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 78px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background-color: #ffffff;
    color: #333333;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dashboard-video-language-button:hover {
    border-color: #168b5b;
    color: #168b5b;
}

.dashboard-video-language-button.active {
    background-color: #168b5b;
    border-color: #168b5b;
    color: #ffffff;
    font-weight: 600;
}

.dashboard-video-language-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.dashboard-course-module-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 14px;
}

.dashboard-course-module-progress-bar {
    flex: 1;
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: #eeeeee;
}

.dashboard-course-module-progress-fill {
    height: 100%;
    border-radius: 10px;
    background: #198754;
}

.dashboard-course-module-progress-value {
    min-width: 34px;
    color: #198754;
    font-size: 11px;
    font-weight: 500;
    text-align: right;
}

#registerMobile {
    width: 100% !important;
}

.iti {
    width: 100% !important;
}

.iti input.iti__tel-input {
    width: 100% !important;
}

#googleRegisterBtn {
    width: 100% !important;
}

#googleRegisterBtn > div {
    width: 100% !important;
}

#googleRegisterBtn iframe {
    width: 100% !important;
    max-width: 100% !important;
}