/* ==========================================================================
   My Account Dashboard: Active Courses & Zoom Hub
   ========================================================================== */
.extra-recommended-title,
.extra-courses-title {
    font-size: 28px !important;
    color: #2C2C2C;
    text-align: center;
    margin-bottom: 22px;
}

/* Zoom Lesson Banner styling */
.extra-zoom-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin: 0 auto 35px auto;
    gap: 20px;
    max-width: 600px;
}

.extra-zoom-banner-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.extra-zoom-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #FFF0ED;
    border-radius: 50%;
    flex-shrink: 0;
}

.extra-zoom-icon-circle svg {
    color: #F15A48;
}

.extra-zoom-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.extra-zoom-subtitle {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a1a;
}

.extra-zoom-meta {
    font-size: 13px;
    color: #777;
}

.extra-zoom-join-btn {
    background-color: #F15A48;
    color: #ffffff !important;
    border: 1px solid #F15A48;
    border-radius: 12px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    box-shadow: 0 4px 6px rgba(241, 90, 72, 0.2);
}

.extra-zoom-join-btn:hover {
    background-color: #ffffff;
    color: #F15A48 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Course Grid and Cards styling */
.extra-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    justify-content: center;
}

.extra-course-card {
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.extra-course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.extra-course-card-top {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.extra-course-image-wrapper {
    width: 80px;
    height: 80px;
    background: #fafafa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

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

.extra-course-info-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.extra-course-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.extra-course-category {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.extra-course-badge {
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    line-height: 1;
}

.extra-course-badge.active {
    background-color: #E2F6EC;
    color: #10B981;
}

.extra-course-badge.new {
    background-color: #FFF2E6;
    color: #F59E0B;
}

.extra-course-badge.completed {
    background-color: #F3F4F6;
    color: #6B7280;
}

.extra-course-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 8px 0;
    text-align: right;
}

.extra-course-date-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.extra-course-date-row svg {
    color: #F15A48;
    flex-shrink: 0;
}

/* Progress bar styling */
.extra-course-progress-container {
    margin-top: auto;
    padding-top: 15px;
}

.extra-course-progress-bar {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.extra-course-progress-fill {
    height: 100%;
    background: #F15A48;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.extra-course-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

/* Footer / Action row */
.extra-course-footer-row {
    margin-top: 15px;
    display: flex;
    justify-content: flex-start;
}

.extra-course-details-btn {
    background-color: #F15A48;
    color: #ffffff !important;
    border: 1px solid #F15A48;
    border-radius: 12px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 6px rgba(241, 90, 72, 0.15);
}

.extra-course-details-btn:hover {
    background-color: #ffffff;
    color: #F15A48 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .extra-zoom-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        text-align: center;
    }

    .extra-zoom-banner-right {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .extra-zoom-info {
        align-items: center;
    }

    .extra-zoom-join-btn {
        width: 100%;
    }

    .extra-course-card {
        padding: 15px;
    }
}

/* ==========================================================================
   My Account Dashboard: Recommended Courses Section
   ========================================================================== */
.extra-recommended-section {
    margin-top: 80px;
    text-align: right;
}

.extra-recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    justify-content: center;
}

.extra-recommend-card {
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.extra-recommend-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.extra-recommend-badge-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.extra-recommend-badge {
    font-size: 11px;
    font-weight: bold;
    padding: 4px 14px;
    background-color: #FFF2E6;
    color: #F59E0B;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.extra-recommend-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.extra-recommend-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.extra-recommend-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 6px 0;
}

.extra-recommend-category {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
}

.extra-recommend-subtext {
    font-size: 11px;
    color: #777;
    line-height: 1.4;
}

.extra-recommend-image-wrapper {
    width: 65px;
    height: 65px;
    background: #FFF9E6;
    /* Light yellow background */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.extra-recommend-image-wrapper img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.extra-recommend-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
}

.extra-recommend-buy-btn {
    background-color: #F15A48;
    color: #ffffff !important;
    border: 1px solid #F15A48;
    border-radius: 12px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 6px rgba(241, 90, 72, 0.15);
}

.extra-recommend-buy-btn:hover {
    background-color: #ffffff;
    color: #F15A48 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .extra-recommend-card {
        padding: 15px;
    }
}

/* ==========================================================================
   My Account: My Courses Endpoint Page
   ========================================================================== */
.extra-my-courses-header {
    margin-bottom: 30px;
    direction: rtl;
    text-align: right;
}

.extra-my-courses-header h2 {
    font-size: 42px !important;
    color: #2C2C2C;
    margin: 0 0 8px 0;
}

.extra-my-courses-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

/* Stats counter grid */
.extra-courses-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px !important;
}

.extra-stat-box {
    background: #F0F0F0;
    border: none;
    border-radius: 20px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
}

.extra-stat-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.extra-stat-label {
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

.extra-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.extra-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    width: 48px;
    height: 48px;
}

.extra-stat-icon .green-dot {
    width: 22px;
    height: 22px;
    background: radial-gradient(circle, #10B981 0%, #059669 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

/* White Table Container */
.extra-courses-table-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
}

/* Search Box wrapper */
.extra-courses-search-bar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 25px;
}

.extra-search-wrapper {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.extra-search-wrapper input {
    width: 100%;
    height: 46px;
    background: #F0F0F0 !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 0 45px 0 20px !important;
    font-size: 14px !important;
    color: #1a1a1a !important;
    outline: none !important;
    transition: all 0.2s ease;
    text-align: right;
    box-shadow: none !important;
}

.extra-search-wrapper input::placeholder {
    color: #9ca3af;
}

.extra-search-wrapper input:focus {
    background: #ffffff !important;
    border-color: #F15A48 !important;
    box-shadow: 0 0 0 3px rgba(241, 90, 72, 0.15) !important;
}

.extra-search-wrapper .search-icon {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

/* Main Courses Table */
.extra-courses-table-scroll {
    overflow-x: auto;
    width: 100%;
}

.extra-courses-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    text-align: right;
}

.extra-courses-table thead {
    background-color: #F8F8F8;
}

.extra-courses-table th {
    font-size: 14px;
    font-weight: bold;
    color: #2C2C2C;
    padding: 18px 12px 15px;
    border-bottom: none;
}

.extra-courses-table td {
    font-size: 14px;
    color: #4a4a4a;
    padding: 20px 12px;
    border-bottom: 1px solid #f2f2f2;
    vertical-align: middle;
}

.extra-courses-table tbody tr:last-child td {
    border-bottom: none;
}

.extra-courses-table tbody tr:nth-child(even) td,
.extra-courses-table tbody tr:hover td {
    background-color: #fafafa;
}

.extra-courses-table .course-name-cell {
    font-weight: bold;
    color: #1a1a1a;
    font-size: 15px;
    max-width: 220px;
}

.extra-courses-table .course-price-cell {
    color: #F15A48;
    font-weight: bold;
}

/* Badges */
.extra-status-badge {
    font-size: 11px;
    font-weight: bold;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    line-height: 1;
    text-align: center;
}

.extra-status-badge.active {
    background-color: #E2F6EC;
    color: #10B981;
}

.extra-status-badge.completed {
    background-color: #F3F4F6;
    color: #6B7280;
}

.extra-status-badge.soon {
    background-color: #FFF2E6;
    color: #F59E0B;
}

/* Actions Button */
.extra-course-action-btn {
    background-color: #F15A48;
    color: #ffffff !important;
    border: 1px solid #F15A48;
    border-radius: 12px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 6px rgba(241, 90, 72, 0.15);
}

.extra-course-action-btn:hover {
    background-color: #ffffff;
    color: #F15A48 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .extra-courses-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .extra-courses-table-container {
        padding: 15px;
    }

    .extra-search-wrapper {
        max-width: 100%;
    }
}

.wd-my-acc-dashboard {
    --wd-my-acc-nav-icon: "\f122";
}

.wd-my-acc-my-courses {
    --wd-my-acc-nav-icon: "\f104";
}

.wd-my-acc-orders {
    --wd-my-acc-nav-icon: "\f116";
}

.wd-my-acc-edit-account {
    --wd-my-acc-nav-icon: "\f124";
}

.wd-my-acc-customer-logout {
    --wd-my-acc-nav-icon: "\f108";
}

.myaccount-sidebar {
    position: sticky;
    top: 100px;
}

/* ==========================================================================
   Zoom Player Card (Single Course Page)
   ========================================================================== */
.extra-course-single-content {
    margin-top: 30px;
}

.zoom-player-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
    max-width: 950px;
}

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

.zoom-player-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zoom-live-badge {
    background: #FFF4F3;
    border: 1px solid #FDDDD9;
    color: #F15B47;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zoom-live-dot {
    width: 6px;
    height: 6px;
    background: #FF4444;
    border-radius: 50%;
    display: inline-block;
}

.zoom-player-title {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.zoom-iframe-wrapper {
    border-radius: 12px;
    overflow: hidden;
    /* background: #111; */
    aspect-ratio: 3/2;
    position: relative;
}

.zoom-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.zoom-player-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.zoom-footer-info {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    text-align: right;
}

.zoom-footer-subtitle {
    font-weight: 500;
    color: #444;
}

.zoom-footer-date {
    color: #888;
    font-size: 13px;
    margin-top: 4px;
}


.extra-zoom-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.extra-zoom-btn .wd-btn-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.marathon-dates-title {
    margin-bottom: 20px;
}

.extra-course-action-btn.marathon-table-btn {
    padding: 5px 15px;
    font-size: 14px;
}