.memb-ussearch-search-container {
    background-color: #e0e0e0;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #000;
}

.memb-main-div-search {
    display: flex;
    align-items: center;
}
.no-user-found {text-align: center;width: 100%;font-weight: bold;}
.memb-main-div-search button {
    margin-top: 10px;
    width: 100px;
}
span#memb-ussearch-more {
    color: #007bff;
}
.memb-ussearch-search-container h2 {
    margin: 0 0 10px 0;
}
.memb-ussearch-sort-container i {
    font-size: 30px;
    color: #007bff;
}
.memb-ussearch-search-container input {
    margin-right: 10px;
    padding: 5px;
}
span.memb-reset-button-link {
    color: #007bff;
    cursor: pointer;
}
.view-options {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  label {
    margin-right: 15px;
    cursor: pointer;
  }

.view-options label {margin-top: 10px;margin-left: 10px;}
/* -------------------------------
   Container & Search Box
---------------------------------*/
.memb-ussearch-search-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.memb-ussearch-search-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.memb-main-div-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.memb-main-div-search input[type="text"] {
    flex: 1 1 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.memb-main-div-search button {
    padding: 10px 20px;
    background-color: #5a67d8;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.memb-main-div-search button:hover {
    background-color: #434190;
}

/* -------------------------------
   Results Container
---------------------------------*/
.memb-ussearch-results-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 10px;
    display: none;
}

.memb-ussearch-results-container h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

/* -------------------------------
   User Grid
---------------------------------*/
#memb-ussearch-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.memb-ussearch-result-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.memb-ussearch-result-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.memb-ussearch-profile-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    background-color: #ccc;
    border-radius: 50%;
}

.memb-ussearch-result-card p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.memb-ussearch-result-card a {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 10px;
    font-size: 13px;
    color: #fff;
    background-color: #5a67d8;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.memb-ussearch-result-card a:hover {
    background-color: #434190;
}

/* -------------------------------
   Pagination
---------------------------------*/
#memb-ussearch-pagination {
    margin: 20px 0;
    text-align: center;
}

.memb-ussearch-page-num {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    font-size: 14px;
}

.memb-ussearch-page-num.active {
    background: #5a67d8;
    color: #fff;
    border-color: #5a67d8;
}

.memb-ussearch-page-num:hover {
    background: #434190;
    color: #fff;
    border-color: #434190;
}

/* -------------------------------
   Responsive
---------------------------------*/
@media (max-width: 768px) {
    .memb-main-div-search {
        flex-direction: column;
    }

    .memb-main-div-search input[type="text"],
    .memb-main-div-search button {
        width: 100%;
    }
}

.memb-ussearch-search-container button {
    padding: 5px 10px;
}

.memb-ussearch-search-container select {
    float: right;
}

.memb-ussearch-results-container {
    background-color: #e0e0e0;
    padding: 10px;
    border: 2px solid #000;
}

.memb-ussearch-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
div#memb-ussearch-result-grid .memb-ussearch-result-card{
    padding-bottom: 55px;
}
.single-content .memb-ussearch-result-card p,
.memb-ussearch-result-card p {
    margin-bottom: 0;
}
.memb-ussearch-result-card {
    background-color: #fff;
    padding: 10px;
    border: 2px solid #000;
    text-align: center;
}

.memb-ussearch-profile-icon {
    width: 50px;
    height: 50px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 auto 10px;
    overflow: hidden;
}

.memb-ussearch-result-card p {
    margin: 5px 0;
}
.memb-ussearch-result-card .user-name {
    font-size: 16px;
    font-weight: 600;
    word-wrap: break-word;
    margin-bottom: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    min-height: 26px;
}
.memb-ussearch-result-card a {
    display: block;
    color: blue;
    text-decoration: none;
}

.memb-ussearch-result-card select {
    margin-top: 10px;
}

.memb-ussearch-tab-container {
    background-color: #e0e0e0;
    padding: 10px;
    border: 2px solid #000;
    display: flex;
    gap: 20px;
}

.memb-ussearch-more-container {
    display: flex;
}

.memb-ussearch-tab {
    background-color: #fff;
    padding: 10px;
    border: 2px solid #000;
    width: 300px;
}

.memb-ussearch-tab h3 {
    margin: 0 0 10px 0;
    text-align: center;
}

.memb-ussearch-group-fields {
    display: flex;
    flex-direction: column;
    gap: 5px;
    row-gap: 0;
}

.memb-ussearch-group-fields label {
    font-weight: bold;
}

.memb-ussearch-group-fields input[type="text"] {
    padding: 5px;
    margin-bottom: 5px;
}

.memb-ussearch-group-fields select {
    padding: 5px;
}

.memb-ussearch-group-fields input[type="radio"] {
    margin-right: 5px;
}

.memb-more-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 10px;
}
span#memb-ussearch-more {
    display: block;
    text-align: right;
    cursor: pointer;
    padding-right: 20px;
}
.memb-more-btn svg{
    margin-left: -20px;
    pointer-events: none;
    transition: 0.3s ease all;
}
.memb-more-btn svg path {
    stroke: #007bff;
}
.memb-more-btn.active svg {
    transform: rotate(180deg);
}
.memb-ussearch-search-container,
.memb-ussearch-results-container {
    max-width: 1230px;
    margin: 30px auto;
    padding: 0;
    background: transparent;
    border-radius: unset;
    box-shadow: unset;
    border: unset;
    width: calc(100% - 30px);
}

.memb-ussearch-fieldset {
    border: 1px solid #999;
    background: #f2f2f2;
    padding: 15px 20px;
    margin: 0;
    height: 100%;

}

.memb-ussearch-fieldset legend {
    font-size: 16px;
    font-weight: bold;
    padding: 0 8px;
    color: #333;
}

.memb-main-div-search {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.memb-main-div-search .form-group {
    display: flex;
    align-items: center;
    width: 25%;
}

.memb-main-div-search input[type="text"] {
    margin: 0;
    flex: unset;
    width: 100%;
    border: 1px solid #000;
}

.memb-main-div-search label {
    font-size: 13px;
    font-weight: 600;
    margin-right: 10px;
    color: #333;
    margin-bottom: 0;
    min-width: max-content;
}

.memb-main-div-search input {
    padding: 6px 8px;
    border: 1px solid #aaa;
    border-radius: 2px;
    width: 160px;
}

.memb-main-div-search button {
    padding: 9px 14px;
    border-radius: 4px;
    background: #007bff;
    cursor: pointer;
    color: #FFF;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.memb-main-div-search button:hover {
    background: #000;
}

.memb-ussearch-more-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.memb-ussearch-more-container .memb-ussearch-tab {
    padding: 0;
    background-color: transparent;
    border: none;
    width: calc(33.33% - 14px);
}

.memb-ussearch-group-fields .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.memb-ussearch-group-fields .form-group:last-child {
    margin-bottom: 0;
}

.memb-ussearch-group-fields .form-group span {
    font-size: 14px;
    min-width: 132px;
    line-height: 120%;
    text-align: right;
    margin-right: 10px;
}

.memb-ussearch-group-fields .form-group input {
    width: 100%;
    margin: 0;
    border: 1px solid #000;
}

.memb-ussearch-group-fields select {
    padding: 5px;
    width: 100%;
    font-size: 16px;
    border: 1px solid #000;
}

.memb-ussearch-group-fields .form-group .input-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.memb-ussearch-group-fields .form-group .input-wrapper label {
    display: flex;
    gap: 6px;
    font-weight: 400;
    font-size: 16px;
    margin: 0;
    word-break: normal;
}

.memb-sort-wrapper {
    display: flex;
    justify-content: space-between;
}

.memb-ussearch-view-toggle {
    display: flex;
    gap: 10px;
}

.memb-ussearch-view-toggle button {
    padding: 0;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background-color: transparent;
}

.memb-ussearch-view-toggle button svg {
    fill: #333;
    stroke: #333;
    width: 26px;
}

.memb-ussearch-view-toggle button.active svg {
    fill: #007bff;
    stroke: #007bff;
}

.memb-ussearch-view-toggle button:hover,
.memb-ussearch-view-toggle button:focus {
    background-color: transparent;
    box-shadow: unset;
}

.memb-ussearch-sort-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.memb-ussearch-sort-container label {
    margin: 0;
    min-width: max-content;
}

.memb-ussearch-sort-container select {
    width: 180px;
    margin: 0;
}

#memb-ussearch-result-grid {
    display: grid;
    grid-template-columns: unset;
    gap: unset;
    margin-top: 20px;
}

.memb-ussearch-result-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.memb-ussearch-result-grid .memb-ussearch-result-card {
    width: calc(25% - 23px);
    padding: 20px 10px;
}

.memb-ussearch-result-card a {
    background-color: transparent;
    color: #007bff;
    padding: 0;
    font-size: 16px;
    margin-bottom: 16px;
}

.memb-ussearch-result-card a:hover {
    background-color: transparent;
    color: #5a67d8;
}

.memb-ussearch-list-view-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-radius: 6px;
    display: block;
}

.memb-ussearch-list-view {
    display: table;
    border-collapse: collapse;
    font-size: 14px;
    color: #333;
}

.memb-ussearch-list-view thead {
    background: #f5f5f5;
}

.memb-ussearch-list-view tbody tr:nth-child(even) {
    background: #fafafa;
}

.memb-ussearch-list-view th {
    text-align: left;
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-weight: 600;
    white-space: nowrap;
}

.memb-ussearch-list-view td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    vertical-align: middle;
    white-space: nowrap;
}

.memb-ussearch-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.memb-ussearch-page-num {
    margin: 0;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* All styles are fully scoped to the memb-plush-* namespace to avoid collisions */
#memb-plush-profile-popup{ position:fixed; inset:0; z-index:9999; display:none; align-items:center; justify-content:center; background: rgba(0,0,0,.55); padding:24px; backdrop-filter: blur(2px); }
#memb-plush-profile-popup.memb-open{ display:flex; }


#memb-plush-profile-popup .memb-plush-popup-content{ position:relative; width:min(750px,100%); background:#ffffff; border-radius:16px; box-shadow: 0 20px 45px rgba(0,0,0,.20), 0 2px 10px rgba(0,0,0,.06); padding:0; border:1px solid #e5e7eb; max-height:88vh; overflow:auto; color:#1f2937; }


#memb-plush-profile-popup .memb-plush-popup-close{ position:absolute; right:16px; top:10px; cursor:pointer; font-size:28px; line-height:1; color:#6b7280; user-select:none; padding:6px 10px; border-radius:10px; }
#memb-plush-profile-popup .memb-plush-popup-close:hover{ background:#f3f4f6; color:#111827; }


#memb-plush-profile-popup .memb-plush-avatar{ display:flex; align-items:center; justify-content:center; }
#memb-plush-profile-popup .memb-plush-user-icon{ display:inline-grid; place-items:center; width:140px; height:140px; border:10px solid #111827; border-radius:999px; position:relative; font-style:normal; }
#memb-plush-profile-popup .memb-plush-user-icon::before{ content:""; position:absolute; inset:20% 20% auto 20%; height:40%; border-radius:999px; border:12px solid #111827; }
#memb-plush-profile-popup .memb-plush-user-icon::after{ content:""; position:absolute; bottom:18%; left:50%; transform:translateX(-50%); width:64%; height:28%; border:12px solid #111827; border-top-left-radius:999px; border-top-right-radius:999px; border-bottom:none; }


#memb-plush-profile-popup .memb-plush-tabs{ display:flex; gap:28px; justify-content:center; margin:22px 0 10px; flex-wrap:wrap; }
#memb-plush-profile-popup .memb-plush-tab{ appearance:none; border:none; background:transparent; cursor:pointer; padding:8px 2px; font-size:16px; color:#0f172a; border-bottom:2px solid transparent; }
#memb-plush-profile-popup .memb-plush-tab:hover{ color:#111827; }
#memb-plush-profile-popup .memb-plush-tab.active{ color:#111827; border-color:#111827; font-weight:600; }


#memb-plush-profile-popup .memb-plush-tab-content{ margin-top:10px; }
#memb-plush-profile-popup .details-grid{ margin-top:14px; padding:6px 6px 0; display:grid; grid-template-columns:220px 1fr; gap:18px 12px; }
#memb-plush-profile-popup .details-grid .label{ font-weight:600; }
#memb-plush-profile-popup .details-grid .value{ color:#374151; }


#memb-plush-popup-close-btn{  bottom:-10px; left:0; right:0; margin:36px auto 20px; display:block; cursor:pointer; background:#f3f4f6; color:#111827; border:1px solid #e5e7eb; border-radius:10px; padding:5px 9px; font-weight:600;width: 150px; }
#memb-plush-popup-close-btn:hover{ background:#e5e7eb; }

#memb-plush-profile-popup .main-profile-option {
    border: none;
}

#memb-plush-profile-popup div#horizontalTab {
    border: none !important;
}

#memb-plush-profile-popup .main-profile-info .profile-picture{
    margin: 0 auto;
    float: none;
    width: 150px;
    height: 150px;
}

#memb-plush-profile-popup ul.memb-profile-tab-menu.memb-top-nav-setting {
    text-align: center;
    justify-content: center;
}
#memb-plush-profile-popup .main-profile-info {
    padding: 0 15px !important;
}
#memb-plush-profile-popup .memb-show-tab.show-hide-memb .profile-lower-deatil .custom-field-box.profile-filed-data{
    padding-top: 10px;
}

#memb-plush-profile-popup .main-profile-info{
    margin: 0 !important;
}
#memb-plush-profile-popup .memb-show-tab.show-hide-memb .profile-lower-deatil .custom-field-box.profile-filed-data h5{
    font-size: 16px;
}
#memb-plush-profile-popup .memb-show-tab.show-hide-memb .profile-lower-deatil .custom-field-box.profile-filed-data span{
    font-size: 14px !important;
}
#memb-plush-profile-popup .content.content-membership.memb_plus_.member-plus-memb-profile-view.memb-font-setting{
    padding: 10px 0 0 0;
}

div#memb-ussearch-result-grid p.memb-view-more-custom {
    color: #007bff;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
div#memb-ussearch-result-grid p.memb-view-more-custom svg {
    max-width: 12px;
    width: 100%;
    display: block;
}
.memb-ussearch-list-view tr td:first-child a {
    display: inline-block;
    vertical-align: top;
    width: 60px;
    border-radius: 100px;
    overflow: hidden;
}
.memb-ussearch-list-view tr td a img {
    display: block;
}
  .memb-ussearch-list-view thead.sorted-asc th::after {
    content: " "; 
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='currentColor' viewBox='0 0 16 16'><path d='M1.5 5.5l6.5 6 6.5-6' stroke='currentColor' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;    display: inline-block;
    margin-left: 10px;
    width: 12px;
    height: 12px;
    background-size: 100%;
    transform: rotate(180deg);
}
  .memb-ussearch-list-view thead.sorted-desc th::after { 
    content: " "; 
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='currentColor' viewBox='0 0 16 16'><path d='M1.5 5.5l6.5 6 6.5-6' stroke='currentColor' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
    display: inline-block;
    margin-left: 10px;
    width: 12px;
    height: 12px;
    background-size: 100%;
}
.memb-ussearch-list-view thead th::after{
    content: " "; 
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='currentColor' viewBox='0 0 16 16'><path d='M1.5 5.5l6.5 6 6.5-6' stroke='currentColor' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
    display: inline-block;
    margin-left: 10px;
    width: 12px;
    height: 12px;
    background-size: 100%;
}
.memb-ussearch-list-view thead th:first-child::after{
    display: none;
}



@media (max-width:1024px) {
    .memb-ussearch-more-container .memb-ussearch-tab {
        width: calc(50% - 10px);
    }
    .memb-ussearch-group-fields .form-group {
        flex-wrap: wrap;
    }
    .memb-ussearch-group-fields .form-group span {
        min-width: unset;
        margin: 0 0 6px;
        text-align: left;
    }
    .memb-ussearch-result-grid{
        gap: 20px;
    }
    .memb-ussearch-result-grid .memb-ussearch-result-card {
        width: calc(33.33% - 14px);
    }
}

@media (max-width:768px) {
    .memb-main-div-search .form-group {
        flex-wrap: wrap;
        width: 100%;
    }

    .memb-main-div-search label {
        min-width: unset;
        margin: 0 0 6px;
    }

    .memb-ussearch-more-container .memb-ussearch-tab {
        width: 100%;
    }

    .memb-ussearch-group-fields .form-group {
        flex-wrap: wrap;
    }

    .memb-ussearch-group-fields .form-group span {
        min-width: unset;
        margin: 0 0 6px;
    }
    .memb-ussearch-result-grid .memb-ussearch-result-card {
        width: calc(50% - 10px);
    }

    /* ashish css */
    #memb-plush-profile-popup div#horizontalTab {
        display: flex;
    }

    #memb-plush-profile-popup  div#horizontalProTab {
        width: 30%;
        position: relative;
        left: -35px;
    }

    #memb-plush-profile-popup  .memb-mobile-device {
        width: 70%;
    }

    #memb-plush-profile-popup  div#horizontalProTab ul {
        display: inline-block;
    }

    #memb-plush-profile-popup  .custm-single {
        display: block !important;
    }

    #memb-plush-profile-popup  h5.memb-filed-color-setting {width: 100%;max-width: 100% !important;font-weight: bold !important;border-bottom: 1px solid #808080;font-size: 12px !important;}

    #memb-plush-profile-popup  div#horizontalProTab ul li {
        text-align: left !important;
    }

    #memb-plush-profile-popup  #horizontalProTab .memb-top-nav-setting li {
        width: 100%;
    }

}

@media (max-width:480px) {
    .memb-ussearch-result-grid .memb-ussearch-result-card {
        width: 100%;
    }
    .memb-sort-wrapper{
        display: block;
    }
    .memb-ussearch-view-toggle{
        margin-bottom: 10px;
    }
}