/*

 Theme Name:     Movability Center Theme

 Theme URI:      https://www.elegantthemes.com/gallery/divi/

 Description:    Divi Child Theme for Movability Center.

 Author:         Elegant Themes

 Author URI:     https://www.elegantthemes.com

 Template:       Divi

 Version:        1.0.0

*/





/* =Theme customization starts here

------------------------------------------------------- */
nav.woocommerce-MyAccount-navigation.custom-account-nav {
    width: calc(25% - 30px);
    padding: 15px;
    margin: 15px;
    border: 2px solid #cdcdcd;
    transition: ease 0.5s;
}

a.custom_menu_trigger i {
    background: #31b052;
    font-size: 18px;
    color: #000;
    padding: 7px;
    border-radius: 5px;
}

.custom-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.custom-top-bar .left,
.custom-top-bar .right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-top-bar i {
    font-size: 20px;
    color: #000;
    cursor: pointer;
}

.custom-top-bar img.avatar {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 5px;
}

.custom-top-bar .left {
    width: 100%;
    max-width: 65%;
}

.custom_dash_filters_box {
    display: block;
    width: 100%;
    max-width: 800px;
    position: relative;
}

.custom-top-bar input[type="text"] {
    padding: 10px;
    border: 2px solid #cdcdcd;
    border-radius: 5px;
    width: 100%;
}

.custom_dash_filters_box a {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.custom_dash_filters_box a i {
    color: #31b052;
}

.custom-top-bar .right {
    width: 100%;
    max-width: 35%;
    justify-content: flex-end;
}

ul.custom_top_bar_menu_list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

ul.custom_top_bar_menu_list>li {
    margin-left: 10px;
    position: relative;
}

ul.sub_custom_menu {
    position: absolute;
    list-style: none;
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
    right: 0;
    width: 100%;
    min-width: max-content;
}

ul.sub_custom_menu>li>a i {
    font-size: 16px;
}

ul.sub_custom_menu>li>a {
    color: #000;
    text-align: center;
    display: inline-block;
    width: 100%;
    font-size: 16px;
}

ul.custom_top_bar_menu_list>li>a {
    display: inline-block;
    padding: 10px;
    position: relative;
}

span.custom_notification_counter {
    position: absolute;
    background: #f00;
    display: inline-block;
    padding: 5px;
    line-height: 1em;
    text-align: center;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    font-size: 8px;
    font-weight: bold;
    color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 75%;
    padding: 15px;
    transition: ease 0.5s;
}

.woocommerce-account .woocommerce-MyAccount-content>h2 {
    font-weight: bold;
}

ul.custom_top_bar_menu_list>li>a.custom_bar_user_link {
    display: inline-flex;
    color: #000;
    align-items: center;
    font-size: 16px;
}

nav.woocommerce-MyAccount-navigation.custom-account-nav.collepsed {
    opacity: 0;
    width: 0;
    /* left: -100%; */
    /* position: relative; */
    /* height: 0; */
    padding: 0;
    margin: 0;
    border: 0;
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-content.collepsed {
    width: 100%;
}

.custom-account-nav ul li>a {
    position: relative;
    display: flex;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--course>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--subscriptions>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--eshop>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--invoices>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--clients>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--employees>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--admin-subscriptions>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--rooms>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--admin-course>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--marketing>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--synchronization>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--professors>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--settings>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--customer-logout>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--my-subscriptions>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--next-sessions>a::before,
.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--my-agenda>a::before {
    content: "";
    display: block;
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
    height: 30px;
    width: 30px;
    margin-right: 10px;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--course>a::before {
    background: url(images/icon-course.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--subscriptions>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--eshop>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--invoices>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--clients>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--employees>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--professors>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--admin-subscriptions>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--rooms>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--admin-course>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--marketing>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--synchronization>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--settings>a::before {
    background: url(images/icon-settings.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--customer-logout>a::before {
    background: url(images/icon-home.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--my-subscriptions>a::before {
    background: url(images/icon-subscriptions.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--next-sessions>a::before {
    background: url(images/icon-class.png) no-repeat;
    background-size: contain;
}

.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--my-agenda>a::before {
    background: url(images/icon-class.png) no-repeat;
    background-size: contain;
}



.custom-account-nav ul li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--my-subscriptions>a::before {}

/*****HOME DASHBOARD UI*******START****/
.ak-client-container {
    font-family: Arial, sans-serif;
    /* padding: 20px; */
}

.ak-client-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.ak-client-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ak-btn-green {
    background-color: #28a745;
    color: #fff;
    padding: 6px 10px;
    font-size: 13px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ak-btn-green i {
    font-size: 14px;
}

.ak-client-search {
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex-grow: 1;
}
.ak_center_align {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ak-client-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ak-client-table th,
.ak-client-table td {
    border: 1px solid #ccc;
    padding: 8px 6px;
    text-align: left;
}

.ak-client-table th {
    background-color: #eee;
    white-space: nowrap;
}

.ak-client-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.ak-icon-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 4px;
}

.ak-icon-btn i {
    font-size: 14px;
}

.ak-action-view {
    color: #007bff;
}

.ak-action-invoice {
    color: #28a745;
}

.ak-action-delete {
    color: #dc3545;
}

.ak-action-edit {
    color: #fd7e14;
}

.ak-contact-link {
    color: #007bff;
    text-decoration: none;
}

.ak-contact-icon {
    font-size: 16px;
    margin-right: 4px;
}

.ak-status-client {
    color: green;
    font-weight: bold;
}

.ak-status-ancient {
    color: #555;
}

.ak-status {
    white-space: nowrap;
}

/*****HOME DASHBOARD UI*******End****/
.info-icon-box:before {
    content: "";
    width: 35px;
    height: 35px;
    background: url(images/icon-info.png) no-repeat;
    display: block;
    position: absolute;
    background-size: contain;
    left: 10px;
    top: 15px;
}

.info-icon-box.validity-box:before {
    background: url(images/icon-validity.png) no-repeat;
    background-size: contain;
}

.info-icon-box.credits-box:before {
    background: url(images/icon-credits.png) no-repeat;
    background-size: contain;
}

.info-icon-box.status-box:before {
    background: url(images/icon-status.png) no-repeat;
    background-size: contain;
}

.info-icon-box.invoice-box:before {
    background: url(images/icon-invoices.png) no-repeat;
    background-size: contain;
    top: 10px;
}

.subscription-header.info-icon-box:before {
    top: 10px;
}

.entry-content tr td.week-day-table {
    border: 1px solid #eee;
    padding: 0px;
}

td.week-day-table .icons {
    text-align: right;
}

.agenda-date-navigation,
.ak-week-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    background: #eee;
    padding: 10px;
    text-align: center;
}

/* Modal overlay */
#classBookingModal,
#addBookingModal {
    display: none;
    /* hide by default */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6);
    /* dark overlay */
}

/* Modal box */
#classBookingModal .modal-content,
#addBookingModal .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Close button */
#classBookingModal .close,
#addBookingModal .close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

#classBookingModal .close:hover,
#addBookingModal .close:hover {
    color: #000;
}

/* Booking info text */
#classBookingModal #classBookingInfo p,
#addBookingModal #classBookingInfo p {
    margin: 10px 0;
    font-size: 16px;
}

/* Confirm button */
.booking-modal {
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.booking-modal .modal-content {
    background: #fff;
    animation: fadeIn 0.3s ease-in-out;
}

span.select2-container {
    z-index: 999999;
}

.modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}

.booking-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.bp_booking_datetime {
    font-weight: bold;
}

.booking-info-grid div {
    background: #f7f7f7;
    padding: 10px 15px;
    border-radius: 5px;
    color: #444;
}

.bp_booking_price {
    font-size: 30px;
    padding-left: 10px;
}

.booking-confirm-msg {
    text-align: center;
    margin: 20px 0 10px;
    color: #555;
    font-weight: bold;
}

.bp_booking_success {
    color: green;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

form.woocommerce-form.woocommerce-form-login.login,
form.woocommerce-ResetPassword.lost_reset_password {
    max-width: 400px;
    margin: 20px auto;
}

.et_pb_code_inner>.woocommerce>h2 {
    text-align: center;
    margin-top: 30px;
}

div#et-info {
    width: 100%;
}

.notes_form_block {
    padding: 15px;
    border: 1px solid #ccc;
    margin-top: 15px;
    max-width: 600px;
}

#top-header .et-social-icons {
    float: right;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-center {
    text-align: center;
}

@media(min-width:981px) {
    .my-account-header-link.menu-item a {
        font-size: 0;
        width: 28px;
        height: 28px;
    }

    .my-account-header-link.menu-item a:after {
        content: "\f007";
        font-family: var(--fa-style-family, "Font Awesome 6 Free");
        font-weight: var(--fa-style, 900);
        font-style: normal;
        border: 2px solid;
        border-radius: 50%;
        padding: 4px;
        font-size: 16px;
    }
}

.desktop-date {
    display: inline;
}

.mobile-date {
    display: none;
}

@media(max-width: 980px) {

    .mobile_menu_bar:before,
    .mobile_menu_bar:after {
        color: #31b052;
    }
}

@media (max-width: 768px) {
    .desktop-date {
        display: none;
    }

    .mobile-date {
        display: inline-block;
        text-align: center;
    }

    tbody>tr>th.week-day {
        white-space: normal;
        line-height: 1em;
    }

    p.ai_class_time,
    .class_type_ .tag.green,
    p.ai_class_title>small {
        display: none !important;
    }

    .agenda-item {
        text-align: center;
        padding: 5px;
        min-width: 100px;
    }

    .agenda-day-schedule .ak_class_progress {
        padding-left: 0 !important;
    }

    .agenda-day-schedule-block .agenda-item {
        max-width: 100px;
    }

    nav.woocommerce-MyAccount-navigation.custom-account-nav {
        width: calc(100% - 30px);
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
    }

    header#main-header .container {
        width: 90%;
    }
}

@media(max-width:767px) {
    ul.custom_top_bar_menu_list>li>a.custom_bar_user_link {
        font-size: 0;
        padding: 10px 0;
    }
}