.woocommerce-MyAccount-content {
	padding: 20px!important;
}

.fs-account-mobile-header {
width: 100%;
display: flex;
}

.fs-course-enroll-button.completed {
    background-color: #009838;
    border-color: #009838;
    color: #ffffff;
    }

    .fs-course-enroll-button.completed:hover {
        background-color: #16a34a;
        border-color: #16a34a;
        color: #ffffff;
    }

 .fs-account-breadcrumb-wrapper {
    display: flex;
    padding: 15px 22px;
    align-items: center;
	border-bottom: 2px solid #e0dbdb;
}

.fs-dashboard-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 25px;
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .fs-dashboard-page {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 38px;
        height: 38px;
        padding: 0 11px;
        border: 1px solid #dfe5ed;
        border-radius: 7px;
        background: #ffffff;
        color: #374151 !important;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none !important;
        cursor: pointer;
        transition:
            background 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease;
    }

    .fs-dashboard-page:hover {
        background: #f1f5f9 !important;
        border-color: #cbd5e1;
        color: #1C3677 !important;
    }

    .fs-dashboard-page.active {
        background: #1C3677;
        border-color: #1C3677;
        color: #ffffff !important;
        font-weight: 600;
    }

    .fs-dashboard-page.disabled {
        cursor: default;
        pointer-events: none;
        color: #9ca3af !important;
        background: #f8fafc;
    }

    .fs-dashboard-page.prev,
    .fs-dashboard-page.next {
        padding-left: 14px;
        padding-right: 14px;
    }

    .fs-dashboard-page.dots {
        border: 0;
        background: transparent;
        pointer-events: none;
        min-width: 25px;
        padding: 0;
    }

    @media (max-width: 600px) {

        .fs-dashboard-pagination {
            gap: 5px;
        }

        .fs-dashboard-page {
            min-width: 35px;
            height: 35px;
            padding: 0 9px;
            font-size: 12px;
        }

    }

    .fs-account-page {

        width: 100%;
        min-height: 720px;
        display: flex;
        background: #f7f9fc;
        margin: 0;
        padding: 0;
        box-sizing: border-box;

    }

    .fs-account-page *,
    .fs-account-page *::before,
    .fs-account-page *::after {

        box-sizing: border-box;

    }

    .fs-account-sidebar {

        width: 280px;
        min-width: 280px;
        height: 100vh!important;
        background: #ffffff;
        border-right: 1px solid #e5e7eb;
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 0;

    }

    .fs-sidebar-brand {

        padding: 22px 20px 18px;
        border-bottom: 1px solid #eef0f3;

    }

    .fs-sidebar-brand-title {

        font-size: 22px;
        font-weight: 700;
        color: #111827;
        margin: 0;

    }

    .fs-account-menu-scroll {

        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 18px 12px 15px;

    }

    .fs-account-menu-scroll::-webkit-scrollbar {

        width: 6px;

    }

    .fs-account-menu-scroll::-webkit-scrollbar-track {

        background: transparent;

    }

    .fs-account-menu-scroll::-webkit-scrollbar-thumb {

        background: #d1d5db;
        border-radius: 10px;

    }

    .fs-account-menu {

        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;

    }

    .fs-account-menu li {

        list-style: none !important;
        margin: 0 0 5px !important;
        padding: 0 !important;

    }

    .fs-account-menu li a {

        display: flex;
        align-items: center;
        gap: 13px;
        width: 100%;
        min-height: 48px;
        padding: 11px 14px;
        border-radius: 10px;
        text-decoration: none !important;
        color: #374151 !important;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.2s ease;

    }

    .fs-account-menu li a:hover {

        background: #f1f5f9 !important;
        color: #1565ff !important;

    }

    .fs-account-menu li.is-active a {

        background: #eef4ff !important;
        color: #1565ff !important;
        font-weight: 600;

    }

    .fs-menu-icon {

        width: 21px;
        min-width: 21px;
        height: 21px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;

    }

    .fs-account-logout {

        padding: 14px 12px 18px;
        border-top: 1px solid #eef0f3;
        background: #ffffff;

    }

    .fs-account-logout a {

        display: flex;
        align-items: center;
        gap: 13px;
        min-height: 48px;
        padding: 11px 14px;
        border-radius: 10px;
        color: #dc2626 !important;
        text-decoration: none !important;
        font-size: 15px;
        font-weight: 600;

    }

    .fs-account-logout a:hover {

        background: #fef2f2;

    }

    .fs-account-main {

        flex: 1;
        min-width: 0;

    }

    .fs-account-user {

        display: flex;
        align-items: center;
        gap: 12px;

    }

    .fs-account-user-details {

        text-align: right;

    }

    .fs-account-user-name {

        font-size: 15px;
        font-weight: 700;
        color: #111827;
        margin: 0;
        line-height: 1.3;

    }

    .fs-account-user-role {

        font-size: 13px;
        color: #6b7280;
        margin-top: 2px;

    }

    .fs-account-avatar {

        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #1565ff;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        font-weight: 700;

    }

    .fs-dashboard-welcome {

        margin-bottom: 28px;

    }

    .fs-dashboard-welcome h1 {

        margin: 0 0 7px;
        color: #111827;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.2;

    }

    .fs-dashboard-welcome p {

        margin: 0;
        color: #64748b;
        font-size: 15px;

    }

    .fs-dashboard-summary {

        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        margin-bottom: 70px;

    }

    .fs-summary-card {

        background: #ffffff;
        border: 1px solid #dfe5ed;
        border-radius: 10px;
        min-height: 105px;
        padding: 20px;

    }

    .fs-summary-top {

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;

    }

    .fs-summary-title {

        color: #334155;
        font-size: 12px;
        font-weight: 500;

    }

    .fs-summary-icon {

        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;

    }

    .fs-summary-icon.course {

        color: #1565ff;

    }

    .fs-summary-icon.completed {

        color: #00c781;

    }

    .fs-summary-icon.pending {

        color: #ff9800;

    }

    .fs-summary-icon.participants {

        color: #9b35ff;

    }

    .fs-summary-number {

        margin-top: 10px;
        color: #111827;
        font-size: 44px;
        font-weight: 600;
        line-height: 1;

    }

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

        /* IMPORTANT */
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .fs-course-card {

        background: #ffffff;
        border: 1px solid #dfe5ed;
        border-radius: 10px;
        overflow: hidden;
        min-width: 0;
        display: flex;
        flex-direction: column;

    }

    .fs-course-card-content {

        padding: 20px;
        flex: 1;

    }

    .fs-course-card-header {

        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;

    }

    .fs-course-title-area {

        min-width: 0;
        flex: 1;

    }

    .fs-course-title {

        padding-top: 20px;
        color: #111827;
        font-size: 16px;
        font-weight: 600;
        line-height: 26px;

    }

    .fs-course-order {

        color: #64748b;
        font-size: 13px;

    }

    .fs-course-status {

        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
        border-radius: 999px;
        padding: 5px 10px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1;

    }

    .fs-course-status.completed {

        color: #008f67;
        background: #ecfdf5;
        border: 1px solid #9ee7cc;

    }

    .fs-course-status.pending {

        color: #c45b00;
        background: #fff8eb;
        border: 1px solid #ffd56b;

    }

   

    .fs-course-details {

        margin-top: 18px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 15px;
        row-gap: 10px;

    }

    .fs-course-detail {

        min-width: 0;

    }

    .fs-course-detail-label {

        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 4px;
        color: #64748b;
        font-size: 12px;

    }

    .fs-course-detail-label-icon {

        width: 17px;
        color: #8ba2c4;
        font-size: 15px;

    }

    .fs-course-detail-value {

        color: #111827;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.4;
        word-break: break-word;

    }

    .fs-course-footer {

        border-top: 1px solid #e8edf3;
        padding: 20px;

    }

    .fs-course-progress {

        width: 100%;
        height: 8px;
        background: #e1e7ef;
        border-radius: 20px;
        overflow: hidden;

    }

    .fs-course-progress-bar {

        height: 100%;
        background: #009838;
        border-radius: 20px;
        transition: width 0.3s ease;

    }

    .fs-course-slots {

        margin-top: 7px;
        color: #5273a5;
        font-size: 12px;

    }

    .fs-course-enroll-button {

        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        margin-top: 15px;
        padding: 0 15px;
        background: #09347A;
        border: 0;
        border-radius: 9px;
        color: #ffffff !important;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none !important;
        cursor: pointer;
        transition: background 0.2s ease,
            transform 0.2s ease;

    }

    .fs-course-enroll-button:hover {

        background: #E51A24;
        color: #ffffff !important;
        transform: translateY(-1px);

    }

    .fs-dashboard-empty {

        background: #ffffff;
        border: 1px solid #dfe5ed;
        border-radius: 10px;
        padding: 45px 25px;
        text-align: center;
        color: #64748b;

    }

    .fs-dashboard-empty-title {

        margin: 0 0 8px;
        color: #111827;
        font-size: 18px;
        font-weight: 600;

    }

    .fs-dashboard-empty-text {

        margin: 0;
        font-size: 14px;

    }

    @media (max-width: 1200px) {

        .fs-dashboard-courses {

            grid-template-columns: repeat(2, minmax(0, 1fr));

        }

    }

    @media (max-width: 900px) {

        .fs-account-page {

            flex-direction: column;

        }

        .fs-account-sidebar {

            width: 100%;
            min-width: 100%;
            height: auto;
            position: relative;

        }

        .fs-account-menu-scroll {

            max-height: 300px;

        }

        .fs-account-logout {

            position: relative;

        }


        .fs-account-topbar {

            min-height: auto;

        }

        .fs-dashboard-summary {

            grid-template-columns: repeat(2, minmax(0, 1fr));

        }

    }

    @media (max-width: 650px) {

        .fs-dashboard-courses {

            grid-template-columns: 1fr;

        }

        .fs-dashboard-summary {

            grid-template-columns: 1fr 1fr;
            gap: 12px;

        }

        .fs-summary-card {

            padding: 16px;

        }

        .fs-summary-title {

            font-size: 12px;

        }

        .fs-summary-number {

            font-size: 24px;

        }

        .fs-course-card-content {

            padding: 22px 20px;

        }

        .fs-course-footer {

            padding-left: 20px;
            padding-right: 20px;

        }

    }


    @media (max-width: 450px) {

        .fs-dashboard-summary {

            grid-template-columns: 1fr;

        }

        .fs-account-user-details {

            display: none;

        }

        .fs-dashboard-welcome h1 {

            font-size: 26px;

        }

        .fs-course-header {

            flex-direction: column;

        }

    }

    .fs-course-filter-bar {

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 22px;

    }

    .fs-course-search {

        position: relative;
        width: 100%;
        max-width: 390px;

    }

    .fs-course-search svg {

        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        pointer-events: none;

    }

    .fs-course-search input {

        width: 100%;
        height: 44px;
        padding: 0 15px 0 42px;
        background: #ffffff;
        border: 1px solid #dfe5ed;
        border-radius: 9px;
        color: #111827;
        font-size: 14px;
        outline: none;
        transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;

    }

    .fs-course-search input::placeholder {

        color: #94a3b8;

    }

    .fs-course-search input:focus {

        border-color: #2463ff;
        box-shadow: 0 0 0 3px rgba(36, 99, 255, 0.08);

    }

    .fs-course-status-filter {

        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px;
        background: #f1f5f9 !important;
        border-radius: 9px;
        flex-shrink: 0;

    }

    .fs-filter-button {

        height: 36px;
        padding: 0 16px;
        border: 0;
        border-radius: 7px;
        background: transparent;
        color: #64748b;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition:
            background 0.2s ease,
            color 0.2s ease,
            box-shadow 0.2s ease;

    }

    .fs-filter-button:hover {

        color: white;
background: #09347A;

    }

    .fs-filter-button.active {
        background: #ffffff;
        color: #09347A;
        font-weight: 600;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);

    }

    .fs-course-card.fs-course-hidden {

        display: none;

    }

    .fs-course-no-results {

        display: none;
        width: 100%;
        grid-column: 1 / -1;
        padding: 45px 25px;
        background: #ffffff;
        border: 1px solid #dfe5ed;
        border-radius: 10px;
        text-align: center;
        color: #64748b;

    }

    .fs-course-no-results.show {

        display: block;

    }

    .fs-course-no-results-title {

        margin: 0 0 8px;
        color: #111827;
        font-size: 18px;
        font-weight: 600;

    }

    .fs-course-no-results-text {

        margin: 0;
        font-size: 14px;

    }

    @media (max-width: 800px) {

        .fs-course-filter-bar {

            flex-direction: column;
            align-items: stretch;

        }

        .fs-course-search {

            max-width: none;

        }

        .fs-course-status-filter {

            width: 100%;
        }

        .fs-filter-button {

            flex: 1;

        }

    }