#wpadminbar .ab-top-secondary {
    display: none;
}

.dashboard-footer {
    text-align: center;
    padding: 36px 0 0;
    opacity: 0.7;
    font-size: var(--fs-small);
}

.jws-dropdown-hover {
    position: relative;

    .dropdown-content {
        position: absolute;
        top: calc(100% + 18px);
        right: 0;
        width: 285px;
        border-radius: 10px;
        z-index: 20;
        pointer-events: none;
        transition: all 0.3s;
        transform: translateY(10px);
        opacity: 0;
        background: #fff;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07000000000000001);

        &:before {
            content: '';
            position: absolute;
            top: -18px;
            height: 18px;
            width: 100%;
            left: 0;
        }
    }

    .item-content {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .dropdown-body {
        max-height: 300px;
        overflow-y: auto;

        .not_found {
            text-align: center;
            padding: 20px 0;
            margin: 0;
            border-bottom: 1px solid var(--border-cl);
        }
    }

    .dropdown-footer {
        text-align: center;
        padding: 10px;
        font-weight: 600;
    }


    &:hover,
    &.hover-active {
        .dropdown-content {
            pointer-events: auto;
            transform: translateY(0);
            opacity: 1;
        }
    }
}


.jws-dropdown-hover .dropdown-item {
    position: relative;
    font-size: var(--fs-small);
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-cl);

    &.unread {
        background-color: #f0f0ff;
    }

    p {
        margin-bottom: 5px;
    }

    .not-h {
        margin-bottom: 6px;
    }

    .link-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .item-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .notification-delete {
        border: 0;
        background: transparent;
        position: relative;
        z-index: 2;
        font-size: 18px;
        color: #a74242;
    }

    .item-date {
        font-style: italic;
    }
}


.dashboard-header {
    display: flex;
    align-items: center;
    padding: 20px 20px;
    background: #FFFFFF;

    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.07);



    .flex-1 {
        width: 286px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .flex-2 {
        flex: 1;
        margin: 0 20px;
        width: 50%;
    }

    .flex-3 {
        width: 50%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 15px;
        flex: 1;

        .dashboard-toggle {
            display: none;
        }
    }

    .dashboard-toggle button {
        font-size: 24px;
        color: var(--heading);
        border: 0;
        background: transparent;
        padding: 0;
    }


    .add-property {
        padding: 15px 20px;
    }

    .dash-setting {
        position: relative;

        >i {
            font-size: 24px;
        }

        .count {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #000000;
            color: #fff;
            font-size: 12px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }

}

.search-form:not(.media-toolbar-primary) {
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--bg-light);
    border-radius: 8px;
    background: rgba(225, 224, 228, 0.2);
    border: 1px solid rgba(225, 224, 228, 0.2);
    border-radius: 10px;
    max-width: 343px;

    input {
        border: 0;
        background: transparent;
        min-height: 42px;
    }

    .search-submit {
        background: transparent;
        border: 0;
        padding: 0;
        top: 0px;
        left: 3px;
    }
}


.dashboard-page {
    background-color: #F3F3F4;


    &.click-toggle {
        .sidebar-menu {
            transform: translateX(-286px);
            width: 0;
            /* scale: 0; */
            padding: 0;
        }

        .content-area {
            width: 100%;
        }
    }

    .sidebar-menu {
        width: 286px;
        background: #ffffff;
        padding: 20px;
        min-height: 100vh;
        transition: 0.3s all;
        overflow-y: auto;

        .user-info {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 28px;

            img {
                border-radius: 100%;
                width: 42px;
                height: 42px;
                object-fit: cover;
            }
        }

        .sidebar-title {
            margin-bottom: 20px;
            padding: 0px 25px;
        }

        nav {
            >ul>li {
                >a {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    padding: 11px 25px;
                    border-radius: 8px;
                    font-size: var(--fs-small);
                    font-weight: 500;
                    white-space: nowrap;

                    i {
                        font-size: 24px;
                        color: var(--body3);
                    }

                    &:hover,
                    &.active {
                        background: var(--bg-light);
                        color: var(--heading);
                    }
                }

                &.active>a {
                    background: var(--third);
                    color: var(--light);

                    i {
                        color: var(--light);
                    }
                }
            }

            .submenu {
                display: none;
                margin-inline-start: 45px;
                margin-block-start: 15px;
                margin-block-end: 20px;

                li {
                    border-left: 4px solid color-mix(in srgb, var(--third) 10%, transparent);
                    font-size: var(--fs-smallc);

                    &.active {
                        border-color: var(--third);
                    }

                    a {
                        padding: 5px 14px;
                        display: block;
                    }
                }
            }

            .has-submenu.open .submenu {
                display: block;
            }
        }
    }

    .dashboard-content {
        display: flex;
    }

    .content-area {
        width: calc(100% - 286px);
        padding: 30px 60px;
        transition: 0.3s all;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .widget-box {
        position: relative;

        .widget-inner {
            padding: 25px;
            background: #FFFFFF;
            border-radius: 10px;
        }

        .widget-tabs {

            display: flex;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: #ccc #fff;
            gap: 0;

            &::-webkit-scrollbar {
                height: 4px;
                background: #fff;
            }

            &::-webkit-scrollbar-thumb {
                background: #ccc;
                border-radius: 2px;
            }

            a {
                background: transparent;
                border: 0;
                padding: 10px 30px;
                font-size: var(--fs-smallc);
                transition: 0.2s all;
                border-top-left-radius: 10px;
                border-top-right-radius: 10px;
                text-align: center;
                white-space: nowrap;

                &.active {
                    background-color: #ffffff;
                    color: var(--third);
                    text-decoration: underline;
                }

                &:hover {
                    color: var(--heading);
                }
            }
        }

        &.has-tabs {
            .widget-inner {
                border-top-left-radius: 0;
            }
        }
    }



    .page-heading {
        margin-bottom: 20px;

        h5 {
            font-family: var(--body-font);
            margin-bottom: 5px;
        }

        >div:first-child {
            flex: 1;
        }

        &.flex {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }

        .button-default {
            padding: 14px 25px;
            background: var(--third);
        }

        .cancel-properties,
        .cancel-profile,
        .cancel-agent,
        .back-button,
        .view-properties {
            background: var(--light);
            color: var(--heading);
            border: 1px solid var(--border-cl);
        }
    }

    .widget-header {
        margin-bottom: 20px;
    }

    .widget-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;

        .page-query {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: var(--fs-small);

            select {
                max-width: 100px;
            }
        }

        .jws-pagination-number ul {
            margin-top: 0;
        }
    }

    .group-left {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .group-right {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;

        .filter-item {
            display: flex;
            align-items: center;

            label {
                margin: 0;
                margin-inline-end: 10px;
                font-size: var(--fs-small);
            }
        }
    }

    .widget-filter-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;

        .group-left {
            flex: 1;
        }
    }

    .button-action {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;

        a {
            border: 1px solid var(--border-cl);
            width: 40px;
            height: 40px;
            text-align: center;
            line-height: 36px;
            font-size: 24px;
            border-radius: 8px;
            position: relative;

        }
    }

    .action-group {
        display: flex;
        justify-content: flex-end;
        position: relative;

        >button {
            border: 0;
            font-size: 24px;
            background: #e7e7e7;
            width: 35px;
            height: 35px;
            border-radius: 100%;
            font-weight: bold;
        }

        .action-list {
            position: absolute;
            top: 100%;
            display: flex;
            flex-direction: column;
            min-width: 144px;
            background-color: #ffffff;
            background: #FFFFFF;
            box-shadow: 0px 8px 29px 2px rgba(0, 0, 0, 0.15);
            border-radius: 10px;
            right: 0;
            padding: 10px 10px;
            font-size: var(--fs-small);
            z-index: 1;
            margin-top: 8px;
            width: max-content;
            display: none;
            animation: fadeIn 0.3s ease forwards;

            &::before {
                content: '';
                position: absolute;
                top: -8px;
                right: 15px;
                width: 0;
                height: 0;
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-bottom: 8px solid #ffffff;
                filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
            }

            .loader {
                left: 10px;
            }
        }

        a {
            padding: 5px 0px;
            display: flex;
            align-items: center;
            position: relative;

            &:not(:last-child) {
                border-bottom: 1px solid var(--border-cl);
            }

            i {
                font-size: 24px;
                margin-inline-end: 10px;
                vertical-align: middle;
                color: var(--body3);
            }
        }

        &.open {
            .action-list {
                display: block;
            }
        }
    }

    .deal-due-date-input {
        min-height: 33px;
        border-radius: 5px;
    }
}

.btn-icon {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: var(--border-cl);

    i {
        font-size: 24px;
    }
}

#properties-table {
    .property-item {
        display: flex;
        align-items: center;
    }

    .property-media {
        width: 90px;
        height: 60px;
        border-radius: 5px;
        overflow: hidden;
        margin-inline-end: 15px;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .property-info {
        flex: 1;


        .property-title {
            color: var(--third);
        }

        .property-address {
            font-size: var(--fs-smallc);
            color: var(--body3);
            max-width: 320px;
        }
    }
}

#dashboard-status+.dropdown-toggle,
.deal-next-action-select+.dropdown-toggle,
.deal-stage-select+.dropdown-toggle,
#dashboard-sortby+.dropdown-toggle,
#posts-per-page-select+.dropdown-toggle {
    width: 100%;
    height: 33px;
    padding: 0px 20px 0px 15px;
    border-radius: 5px;
}



.widget-inquiries-details {
    margin-bottom: 30px;

    ul {
        font-size: var(--fs-smallc);
        margin-bottom: 40px;

        li {
            margin-bottom: 10px;
        }
    }

    .inquiries-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;

        button {
            font-size: var(--fs-small);

            i {
                font-size: 16px;
            }
        }
    }
}

.table-responsive {
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;


    th.actions {
        text-align: right;
    }

    table tr:last-child {
        td {
            border-bottom: 0;
        }
    }

}

/* Inquiry Form Popup Styles */

#jws-inquiries-form-popup {
    max-width: 600px !important;
    padding: 30px;
    background: #fff;
    border-radius: 8px;

}

.jws-main-popup {
    &.popup-right {
        .mfp-content {
            position: initial;
        }
    }
}

#jws-leads-form-popup,
#jws-deals-form-popup {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 506px;
    border-radius: 0;
    min-height: 100%;
    width: 100%;
    margin: 0;
}

.form-step {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc #fff;

    &.properties-steps {
        position: sticky;
        top: 0;
        z-index: 10;
        background: #ffffff;
        padding-top: 10px;
    }
}

.form-step>div {
    position: relative;
    text-align: center;
    white-space: nowrap;
    font-size: var(--fs-small);
    flex: 1;
}

.form-step>div span {
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    border: 2px solid var(--border-cl);
    margin: 0 auto 10px;
    cursor: pointer;
    transition: 0.3s all;
}

.form-step>div.active span {
    border-color: var(--main);
}

.form-step>div.completed span {
    background: #38A594;
    border-color: #38A594;
    color: #fff;
    font-size: 0;
    text-indent: -30px;
    overflow: hidden;

    &::after {
        content: '\e803';
        font-family: "jws_icon";
        font-size: 14px;
        text-indent: -0px;
    }
}

.form-step>div:not(:last-child)::after {
    content: '';
    position: absolute;
    left: calc(50% + 20px);
    top: 12px;
    width: calc(100% - 32px);
    height: 2px;
    background: var(--border-cl);
    transform: translateY(-50%);
    z-index: 0;
}

.form-step>div.completed:not(:last-child)::after {
    background: #38A594;
}

.form-navigation {
    justify-content: space-between;
    margin-top: 30px;

    &.type2 {
        display: flex;
        justify-content: space-between;

        .btn {
            width: auto;
        }

        .btn-save {
            background: var(--third);
        }

        .btn-back {
            padding: 0;
        }

        .btn-next,
        .btn-submit {
            padding: 14px 34px;
        }
    }

    .cancel-bottom {
        background: var(--light);
        color: var(--heading);
        border: 1px solid var(--border-cl);
    }
}

.form-navigation .btn {
    padding: 14px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;

    &.btn-back {
        background: transparent;
        border: 0;

        i {
            margin-inline-end: 10px;
        }
    }
}

.jws-form {
    .form-row {
        margin-right: -7.5px;
        margin-left: -7.5px;

        >label {
            width: 100%;
        }

        .form-col>label {
            display: flex;
            margin-bottom: 8px;
            font-weight: bold;
            gap: 5px;

            &.feature-parent-label {
                margin-bottom: 12px;
            }
        }



    }

    .form-col {
        margin-bottom: 20px;
        padding-right: 7.5px;
        padding-left: 7.5px;
    }

    .form-col-label {
        margin-bottom: 0;
    }



    .form-col input,
    .form-col textarea {
        &.error {
            border-color: #dc3545 !important;
            background-color: #fff5f5;
        }
    }

    .form-col select {
        &.error+.dropdown-toggle {
            border-color: #dc3545 !important;
            background-color: #fff5f5;
        }
    }



    .feature-checkbox-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;

        .feature-checkbox-wrapper {
            flex: 0 0 calc(33.33% - 10px);
            display: flex;
            align-items: center;
            cursor: pointer;

            input {
                margin-right: 8px;
                width: auto;
            }
        }

        .feature-checkbox-label {
            display: flex;
            align-items: flex-start;
        }
    }
}

.enable-featured-radio {
    display: flex;
    align-items: center;
    gap: 20px;

    .radio-label {
        display: flex !important;
        gap: 5px;
        align-items: center;
    }
}



.form-inquiries-popup {


    .contact-selection {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .contact-selection label {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .contact-selection input[type="radio"] {
        margin-right: 8px;
        width: auto;
    }

    .amenities-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        margin-top: 10px;
    }

    .amenities-grid label {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .amenities-grid input[type="checkbox"] {
        margin-right: 8px;
        width: auto;
    }

    .no-contacts-message {
        color: #666;
        font-style: italic;
        margin-top: 10px;
        padding: 10px;
        background: #f8f9fa;
        border-radius: 4px;
    }

    .contact-preview {
        margin-top: 15px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 4px;
        border-left: 4px solid var(--third);
    }

    .contact-preview h6 {
        font-family: var(--body-font);
        font-weight: bold;
    }

    .contact-info p {
        margin: 5px 0;
        font-size: 14px;
    }

    .contact-info strong {
        color: #333;
        min-width: 50px;
        display: inline-block;
    }

    #contact_select {
        min-height: 40px;
    }

    .form-step-content {
        >h6 {
            margin-bottom: 15px;
            font-weight: 700;
            font-family: var(--body-font);
            font-size: var(--fs-small);
            text-transform: uppercase;
        }
    }
}

.form-inquiries-popup .title {
    margin-bottom: 21px;
    font-weight: 700;
    font-family: var(--body-font);
    font-size: var(--fs-medium);
}




/* End Inquiry Form Popup Styles */


/* Property Create Form Styles */

.jws-properties-form {
    .step-title {
        margin-bottom: 20px;
    }

    .map-instructions {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
    }

    #property-map {
        width: 100%;
        height: 270px;
        background-color: #eaeaea;
    }
}



/* End Property Create Form Styles */

.additional-details-container {
    .additional-details-list {
        .detail-item {
            display: flex;
            align-items: flex-end;
            gap: 10px;
            margin-bottom: 15px;


        }

        .detail-content {
            display: flex;
            align-items: center;
            gap: 15px;
            flex: 1;
        }

        .detail-field {
            flex: 1;

            label {
                display: block;
                margin-bottom: 8px;
                font-weight: bold;
            }
        }

        .detail-actions {
            display: flex;
            gap: 10px;

            .btn {
                border: 1px solid var(--border-cl);
                width: 50px;
                height: 50px;
                text-align: center;
                line-height: 45px;
                font-size: 24px;
                border-radius: 8px;
                position: relative;
                background: #fff;
            }
        }
    }
}

/* End Property Create Form Styles */




/* Profile Page Styles */

.profile-form {
    .form-title {
        margin-bottom: 17px;
        margin-top: 35px;
    }
}

.profile-photo-row {
    display: flex;

    .form-col {
        flex: 1;
    }

    &.type-agencies {

        .profile-photo-upload {
            flex-direction: column;
            align-items: center;
            text-align: center;
            border: 1px solid var(--border-cl);
            padding: 20px;
            border-radius: 10px;
            height: 100%;
            justify-content: center;

            .photo-title {
                margin-bottom: 0;
            }

            .photo-actions {
                justify-content: center;
            }

            .photo-details {
                flex: unset;
            }
        }
    }
}

.profile-photo-upload {
    display: flex;
    align-items: center;
    gap: 25px;

    .photo-details {
        flex: 1;
    }

    .photo-preview {
        width: 138px;
        height: 138px;
        border-radius: 100%;
        overflow: hidden;

        &.type-agencies {
            img {
                object-fit: contain;
            }
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        &.company-logo-preview {
            height: auto;
            border-radius: 0;
            overflow: hidden;

            img {
                width: 100%;
                height: auto;
            }
        }
    }

    .photo-title {
        margin-bottom: 18px;
    }

    .photo-des {
        opacity: 0.7;
        margin-bottom: 15px;
    }

    .photo-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;

        button {
            padding: 15px 15px;
        }

        .upload-photo,
        .upload-company-logo {
            background: color-mix(in srgb, var(--third) 10%, transparent);
            color: var(--third);
        }

        .delete-photo,
        .delete-company-logo {
            background: #f9f9fa;
            color: var(--heading);
            border: 1px solid var(--border-cl);
        }
    }
}

.widget-box.widget-profile {


    .widget-inner {
        display: flex;
        flex-wrap: wrap;
    }

    .profile-menu {
        width: 242px;

        a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 11px 25px;
            border-radius: 8px;
            font-size: var(--fs-small);
            font-weight: 500;

            i {
                font-size: 24px;
                color: var(--body3);
            }

        }

        li.active a {
            background: color-mix(in srgb, var(--third) 10%, transparent);
            color: var(--third);

            i {
                color: var(--third);
            }
        }
    }

    .profile-content {
        flex: 1;


        .page-heading {
            border-bottom: 1px solid var(--border-cl);
            padding-bottom: 7px;
            margin-bottom: 30px;
            gap: 10px;

            .page-title {
                font-size: 20px;
                margin-bottom: 7px;
            }

            .view-profile {
                color: var(--third);
                text-decoration: underline;
                font-weight: 600;
                text-underline-offset: 4px;
            }
        }
    }

    .profile-form {}
}

input[readonly] {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f0f0f0;
    border: 1px solid var(--border-cl) !important;

    &:focus {
        border-color: var(--border-cl) !important;
        box-shadow: none;
    }
}

.account-form {
    margin-bottom: 40px;

    .form-title {
        margin-bottom: 17px;
        margin-top: 35px;
    }
}

.special-section {
    border: 1px solid var(--border-cl);
    background: #f9f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;

    .section-title {
        margin-bottom: 12px;
    }

    .become-agent,
    .become-agency,
    .generate-code {
        background:
            color-mix(in srgb, var(--third) 10%, transparent);
        color: var(--third);
    }
}

#invite-agent-form,
#change-email-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

    input {
        max-width: 372px;
        flex: 1;
    }
}

#change-password-form {
    margin-bottom: 40px;

    .form-title {
        margin-bottom: 17px;
        margin-top: 35px;
    }
}

.section-delete-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;

    .form-title {
        margin-bottom: 15px;
    }

    >div {
        flex: 1;
        max-width: 700px;
    }

    button {
        background: #E4291A;
    }
}

.member-dashboard {
    #pmpro_account-orders {
        .pmpro_section_title {
            font-size: var(--fs-medium);
            font-family: var(--body);
        }
    }

    --pmpro--color--border--variation: var(--border-cl);

    .pmpro {
        .pmpro_card {
            border: 0;
            box-shadow: none;
            border-bottom: 1px solid var(--border-cl);
            border-radius: 0;
        }

        .pmpro_card_content {
            padding: 0;
        }

        & .pmpro_table {

            th,
            td {
                padding: 10px 0;
            }
        }


    }

}


/* End Profile Page Styles */



/* Style Alert */

.jws_alert {

    border-radius: 5px;
    padding: 16px 15px;
    margin-bottom: 20px;
    background: #ffffff;
    border-left: 5px solid;

    &.error {
        background: #f8d7da;
        color: #842029;
        border: 1px solid #f5c2c7;
    }

    &.success {
        color: #0f5132;
        border-color: #badbcc;
        background: #d1e7dd;
    }

    &.info {
        color: #4D2F04;
        border-color: #FFC119;
        background: #ffffec;
    }
}


/* End Style Alert */

.notifications-settings {
    .notifications-item {
        display: flex;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-cl);
        gap: 10px;

        &:last-child {
            border-bottom: 0;
        }
    }

    .heading-left {
        div {
            margin-bottom: 15px;
        }
    }

    .option-right {
        display: flex;
        flex-direction: column;
        gap: 15px;
        min-width: 220px;
    }
}

table .search-parameters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 600px;

    strong {
        margin-inline-end: 5px;
    }
}

#agents-table {
    .user-item {
        display: flex;
        align-items: center;

        .user-name {
            color: var(--third);
            font-weight: 600;
        }

        img {
            width: 60px;
            height: 60px;
            border-radius: 5px;
            object-fit: cover;
            margin-inline-end: 15px;
        }
    }
}


/* Dashboard Cards Layout */
.dashboard-overview {


    .dashboard-card-icon {
        border-radius: 50%;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 4px;
    }

    .dashboard-card-icon-purple {
        background: #ede7f6;
        color: #8e6fff;
    }

    .dashboard-card-icon-green {
        background: #e8f5e9;
        color: #6fcf97;
    }

    .dashboard-card-icon-orange {
        background: #fff3e0;
        color: #f2994a;
    }

    .dashboard-card-title {
        color: #333;
    }

    .dashboard-card-value {
        margin-top: 7px;
        font-size: 24px;
        line-height: 32px;
    }

    .dashboard-card-meta {
        margin-top: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        flex-wrap: wrap;
    }

    .dashboard-card-meta-up {
        color: #27ae60;
        font-weight: 600;
    }

    .dashboard-card-meta-down {
        color: #e74c3c;
        font-weight: 600;
    }

    .dashboard-card-meta-date {
        color: #3f51b5;
        font-weight: 600;
    }

    .dashboard-card-meta-text {
        color: #888;
    }

    .dashboard-card-body {
        display: flex;
        gap: 20px;

        .dashboard-card-content {
            flex: 1;
        }
    }
}

.dashboard-cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 30px;

    .dashboard-widget {
        height: auto;
        margin-bottom: 0;
    }
}

.dashboard-widget {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-cl);
    margin-bottom: 30px;
    height: calc(100% - 30px);

    .dashboard-widget-header {
        margin-bottom: 20px;
    }
}

.membership-widget {
    .membership-header {
        color: var(--light);
        padding: 30px 25px;
        margin-bottom: 20px;

        .button-default {
            background: var(--light);
            color: var(--heading);
            font-size: var(--fs-small);
            padding: 10px 36px;
        }
    }

    .membership-details {
        >div {
            display: flex;
            justify-content: space-between;
            margin-bottom: 18px;
        }
    }

    .membership-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;

        .button-default {
            padding: 10px 36px;
            font-size: var(--fs-small);
            background: var(--third);
        }
    }


}

.activities-list {
    margin: 0;
    padding: 0;
    max-height: 600px;
    overflow: auto;

    .activity-item {
        position: relative;
        padding-left: 35px;
        margin-bottom: 20px;

        &:last-child:after {
            display: none;
        }
    }

    .activity-item:before {
        content: '';
        position: absolute;
        left: 0;
        top: 7px;
        width: 12px;
        height: 12px;
        border: 2px solid var(--third);
        border-radius: 50%;
    }

    .activity-item:after {
        content: '';
        position: absolute;
        left: 6px;
        top: 25px;
        border-left: 1px solid var(--border-cl);
        height: calc(100% - 5px);
    }

    .activity-time {}

    .activity-description {
        font-size: var(--fs-smallc);
    }

    .lead-activity {
        margin-top: 6px;
        margin-left: 0;
        font-size: var(--fs-small);
    }

    .lead-activity .activity-meta {
        margin-bottom: 7px;
    }

    .lead-activity .activity-meta strong {
        margin-right: 1.5em;
    }

    .lead-activity .activity-meta a,
    .lead-activity .activity-meta .email {
        color: #3D5AFE;
        text-decoration: underline;
        font-weight: 500;
        word-break: break-all;
    }

    .lead-activity .activity-meta:last-child {
        margin-bottom: 0;

    }

}

.properties-dashboard-widget {
    overflow-y: auto;
    max-height: 600px;

    .post-inner {
        flex-direction: row;
        align-items: center;
        display: flex;
        gap: 25px;

    }

    .post-top {
        width: 120px;
    }

    .post-media {
        border-radius: 10px;
        overflow: hidden;

        img {
            height: 90px;
        }
    }

    .post-price {
        font-size: 18px;
    }

    .post-title {
        font-size: var(--fs-body);
    }

    .post-bottom {
        flex: 1;
    }
}

#dashboard-chart-range+.dropdown-toggle {
    border: 0;
    padding: 0;
    color: var(--heading);
}

.field-autocomplete {
    position: relative;

    .loader {
        right: 10px;
        left: inherit;
    }
}

#dashboard-review-table {
    .comment {
        max-width: 500px;
    }
}

.insight-properties {
    margin-bottom: 30px;
    max-width: 500px;

    .bootstrap-select>button {
        background: var(--light);
    }
}


/* Media customization for Dashboard */

/* Popup overlay */
.custom-media-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: none;
    padding: 10px;
}

.custom-media-popup .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Popup content */
.custom-media-popup .popup-content {
    position: relative;
    background: #fff;
    margin: 60px auto;
    max-width: 1200px;
    min-height: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 0;
    z-index: 2;
    overflow: hidden;
    animation: fadeInScale 0.3s;
}

@keyframes fadeInScale {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Header */
.custom-media-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px 12px 28px;
    border-bottom: 1px solid #f0f0f0;
    background: #f8f9fa;
}

.custom-media-popup .popup-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--body);
}

.custom-media-popup .close-popup {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
}

.custom-media-popup .close-popup:hover {
    color: #f44336;
}

/* Tabs */
.custom-media-popup .popup-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 28px 0 28px;
    background: #fff;
}

.custom-media-popup .tab-btn {
    padding: 7px 22px;
    border: none;
    background: #eee;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.custom-media-popup .tab-btn.active {
    background: var(--third);
    color: #fff;
}

/* Body */
.custom-media-popup .popup-body {
    padding: 18px 28px 28px 28px;
    background: #fff;
    min-height: 260px;
    width: calc(100% - 260px);
    display: inline-block;
}

.custom-media-popup .media-sidebar {
    display: inline-block;
    width: 250px;
    vertical-align: top;
    padding: 20px;
    background: #f6f7f7;
    border-left: 1px solid #dcdcde;
    position: absolute;
    height: 100%;
    top: 0;

    .media-attachment-details {
        text-align: center;
    }

    .thumbnail {
        margin-bottom: 20px;
    }

    .media-sidebar-placeholder {
        padding: 20px 0;
    }
}

.custom-media-popup .tab-content {
    display: none;
}

.custom-media-popup .tab-content.active {
    display: block;
}

/* Media list grid */
.custom-media-popup .media-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 120px;
    max-height: calc(100vh - 400px);
    overflow: auto;
}

.custom-media-popup .media-item {
    position: relative;
    width: 120px;
    height: 120px;
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #ebebeb;
    transition: 0.3s all;
    cursor: pointer;
    animation: fadeIn 0.3s both;

    &.active {
        border-color: #4d980a;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);

        &:before {
            font-family: "jws_icon";
            content: '\e803';
            position: absolute;
            left: 5px;
            top: 5px;
            color: #ffffff;
            background-color: #4d980a;
            z-index: 2;
            width: 25px;
            height: 25px;
            text-align: center;
            border-radius: 100%;
            animation: fadeInUp 0.3s both;
        }
    }

    &:hover {
        .delete-media {
            opacity: 1;
            pointer-events: auto;
        }
    }
}


.custom-media-popup .media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Checkbox for multi-select */
.custom-media-popup .media-checkbox {
    display: none;
}

.custom-media-popup .media-select-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #2196f3;
}

/* Select & Delete buttons */



.custom-media-popup .delete-media {
    right: 5px;
    top: 5px;
    background: #ffffff;
    padding: 4px 8px;
    font-size: 1.1rem;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heading);
    position: absolute;
    z-index: 2;
    border: 0;
    transition: 0.3s all;
    opacity: 0;
    pointer-events: none;
}


.custom-media-popup .select-media:hover {
    background: #1769aa;
}

/* Upload tab */
.custom-media-popup .tab-upload {
    display: none;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    margin-top: 12px;
}

.custom-media-upload-zone {
    border: 2px dashed #e0e0e0;
    border-radius: 6px;
    padding: 40px 20px;
    text-align: center;
    background: #f8f8f8;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-media-upload-zone:hover,
.custom-media-upload-zone.dragover {
    border-color: var(--third);
    background: #f0f7ff;
}

.custom-media-upload-zone p {
    margin: 10px 0 0;
    color: #666;
    pointer-events: none;
    font-size: 14px;
}

.custom-media-upload-zone .upload-icon {
    pointer-events: none;
}

.custom-media-popup #custom-media-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    padding: 0;
    border: none;
    background: transparent;
}

.custom-media-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.custom-media-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #fff;
}

.custom-media-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-media-preview-item .remove-preview {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ff0000;
    font-size: 16px;
    border: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1;
    padding: 0;
    z-index: 2;
}

.custom-media-popup #custom-media-upload-btn {
    display: block;
    margin-top: 20px;
    align-self: flex-start;
}


#custom-media-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;

    .select-multi-btn {
        background: var(--third);
    }
}

.jws-removes-btn {
    display: none;

    &.show {
        display: inline-flex;
    }
}

/* Responsive */

@media (min-width: 768px) {
    .widget-deals-page {
        position: relative;

        .widget-inner {
            position: absolute;
            width: 100%;
            overflow-x: scroll;
            overflow-y: visible;
            padding: 0 30px;
            scrollbar-width: 8px;
            left: 0;
        }

        .table-responsive {
            margin-bottom: 100px;
        }

        th,
        td {
            white-space: nowrap;
        }
    }


}

@media (max-width: 1440px) {
    .dashboard-page {
        .content-area {
            padding: 30px;
            width: calc(100% - 250px);
        }

        .sidebar-menu {
            width: 250px;

            & nav {
                >ul>li {
                    >a {
                        padding: 11px 15px;

                    }
                }
            }
        }
    }

    .dashboard-widget {
        padding: 20px;
    }
}

@media (max-width: 1200px) {
    .dashboard-page {
        &.click-toggle {
            .sidebar-menu {
                transform: translateX(0);
                width: 250px;
                padding: 20px 10px;
            }
        }

        .sidebar-menu {
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            z-index: 99;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transform: translateX(-100%);
            transition: transform 0.3s ease-in-out;

            &.active {
                transform: translateX(0);
            }
        }

        .dashboard-content {
            display: block;
            width: 100%;
        }

        .content-area {
            padding: 30px 10px;
            width: 100%;
        }
    }

    .dashboard-cards {
        gap: 15px;

        .dashboard-widget {
            flex: 0 0 calc(33.33% - 10px);
            margin-bottom: 0;
        }
    }
}

@media (max-width: 1024px) {


    .dashboard-header {
        .add-property {
            display: none;
        }

        .flex-1 {
            .dashboard-toggle {
                display: none;
            }
        }

        .flex-2 {
            display: none;
        }

        .flex-3 {
            flex: 1;
            width: auto;

            .dashboard-toggle {
                display: block;
            }
        }
    }

    .widget-box.widget-profile {
        .profile-menu {
            width: 100%;

            ul {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .profile-content {
            border-left: none;
            padding-left: 0;
            margin-left: 0;
            margin-top: 20px;
        }
    }
}


@media(max-width: 992px) {


    .table-responsive .table tbody,
    .table-responsive .table th,
    .table-responsive .table td,
    .table-responsive .table tr {
        display: block;
    }

    .table-responsive .table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-responsive .table tr {
        margin-bottom: 30px;
        border: 1px solid var(--border-cl);
        border-radius: 10px;
    }

    .table-responsive .table td {
        position: relative;
        border-top: 0;
        display: flex;
        align-items: center;
        gap: 20px;

        &:last-child {
            border-bottom: 0;
        }
    }

    .table-responsive .table td:not(.not_found) {
        &:before {
            font-weight: 700;
            content: attr(data-label);
            width: 40%;
            flex: 0 0 40%;
        }

    }

    td.not_found {
        display: block !important;
    }




    #properties-table {
        .property-item {
            display: block;

            .property-media {
                margin-bottom: 15px;
            }
        }
    }

    .form-step>div:not(:last-child)::after {
        display: none;
    }
}


@media (max-width: 800px) {
    .custom-media-popup .popup-content {
        max-width: 98vw;
        margin: 24px auto;
        padding: 0;
    }

    .custom-media-popup .popup-header,
    .custom-media-popup .popup-tabs,
    .custom-media-popup .popup-body {
        padding-left: 12px;
        padding-right: 12px;
        width: 100%;
    }

    .custom-media-popup .media-sidebar {
        display: none;
    }

    .custom-media-popup .media-item {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 767px) {
    .dashboard-cards {
        .dashboard-widget {
            flex: 0 0 calc(50% - 10px);
        }
    }

    .dashboard-logo {
        max-width: 130px;
    }

    .profile-photo-row {
        &.type-agencies {
            flex-direction: column;
        }
    }

    .widget-tabs {}

    .notifications-settings {
        .notifications-item {
            flex-direction: column;
        }
    }

    .dashboard-page {
        .widget-filter-top {
            .group-left {
                flex: 0 0 100%;
            }

            .group-right {
                gap: 10px;

                .filter-item label {
                    display: none;
                }
            }
        }

        .page-heading {
            .button-default {
                padding: 12px 15px;
                font-size: var(--fs-small);
            }
        }
    }



}


@media (max-width: 480px) {


    .dashboard-cards {
        .dashboard-widget {
            flex: 0 0 calc(100% - 10px);
        }
    }

    .widget-box.widget-profile {
        .profile-content {
            .page-heading {}
        }

        .profile-menu {
            a {
                padding: 11px 15px;
                font-size: 12px;
                gap: 7px;
            }
        }
    }

    .dashboard-page {
        & .widget-box {
            .widget-inner {
                padding: 20px;
            }
        }

        .widget-footer {
            justify-content: center;
            align-items: unset;
            flex-direction: column;

            .page-query {
                justify-content: space-between;
            }
        }
    }

    #invite-agent-form,
    #change-email-form {
        flex-direction: column;
    }

    #jws-inquiries-form-popup {
        padding: 20px;

    }
}

/* End Media customization for Dashboard */