

html,
body {
  overflow-x: hidden !important;
}
/* Property type dropdown: responsive double row/columns */
.nice-select.property-type-select {
    width: 100%;
}

.nice-select.property-type-select .list {
    width: max-content;
    min-width: 100%;
    max-width: min(92vw, 480px);
    max-height: 320px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
}

.nice-select.property-type-select .option {
    width: 100%;
    min-height: 42px;
    white-space: normal;
    line-height: 20px;
    padding: 10px 14px;
}

@media (max-width: 480px) {
    .nice-select.property-type-select .list {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        max-width: 92vw;
        left: 50%;
        transform: translateX(-50%);
    }

    .nice-select.property-type-select .option {
        font-size: 13px;
        padding: 9px 10px;
    }
}@media (max-width: 395px) {

    /* reduce whole search card padding */
    /* .rld-main-search {
        
    background-color: aqua;
    } */

    /* reduce spacing between fields */
    .rld-main-search .row {
        gap: 0px !important;
    }

    /* SMALL INPUTS */
    .rld-single-input input,
    .nice-select,
    .btn.btn-yellow,
    .dropdown-filter {
        height: 38px !important;       /* 🔥 smaller */
        font-size: 13px !important;
        border-radius: 6px !important;
         /* width: 300px !important;      */
    }

    /* fix text vertical alignment */
    .nice-select .current {
        line-height: 40px !important;
    }

    /* dropdown arrow position */
    .nice-select::after {
        right: 12px;
    }

    /* tabs smaller */
    .rld-banner-tab .nav-link {
        height: 42px !important;
        font-size: 14px !important;
    }

    /* title smaller */
    .banner-inner .title {
        font-size: 22px;
        line-height: 28px;
    }

    .banner-inner .sub-title {
        font-size: 13px;
        line-height: 20px;
    }

    /* advanced search button */
    .dropdown-filter {
        padding: 0 12px !important;
    }
}

/* .explore__form-checkbox-list {
    display: none;
} */
/* admin-dashboard.php responsive dashboard boxes */

/* admin-dashboard.php - mobile 2 boxes per row */
@media (max-width: 575px) {
    .dashborad-box .section-body .row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        /* gap: 12px !important; */
        margin: 0 !important;
    }

    .dashborad-box .section-body .row > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .dashborad-box .section-body .row > div > a {
        display: block !important;
        width: 100% !important;
    }

    .dashborad-box .item {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 98px;
        margin: 0 !important;
        padding: 10px !important;
    }
      .dashborad-box .item .icon {
        width: 28px !important;
        height: 28px !important;
        margin: 0 0 8px 0 !important;
        display: flex !important;
        flex: 0 0 auto !important;
    }
     /* .dashborad-box .item .icon i {
        width: 18px !important;
        height: 18px !important;
        margin: 0 0 8px 0 !important;
        align-items: center !important;
        justify-content: center !important;
        display: flex !important;
        flex: 0 0 auto !important;
    } */
     .dashborad-box .item .icon i {
  /* float: left; */
  font-size: 26px;
  width: 40px;
  position: relative;
}.dashborad-box .item .info p {
font-size: 12px !important;
}
}/* User List: mobile/tablet only */
@media (max-width: 991px) {
    #agents table,
    #agents thead,
    #agents tbody,
    #agents th,
    #agents td,
    #agents tr {
        display: block !important;
        width: 100% !important;
    }

    #agents table thead {
        display: none !important;
    }

    #agents table tr {
        background: #fff;
        margin-bottom: 14px;
        padding: 14px;
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        border: 1px solid #eef0f5;
    }

    #agents table td {
        border: none !important;
        padding: 7px 0 !important;
        font-size: 14px;
        color: #444;
        word-break: break-word;
    }

    #agents table td:nth-child(1) {
        padding-bottom: 10px !important;
    }

    #agents table td:nth-child(2)::before {
        content: "User Name: ";
        font-weight: 700;
        color: #111;
    }

    #agents table td:nth-child(3)::before {
        content: "User Since: ";
        font-weight: 700;
        color: #111;
    }

    #agents table td:nth-child(4)::before {
        content: "Mail ID: ";
        font-weight: 700;
        color: #111;
    }

    #agents table td:nth-child(5)::before {
        content: "Contact: ";
        font-weight: 700;
        color: #111;
    }

    #agents table td:nth-child(6) {
        background: #e0e1ff !important;
        padding: 8px 13px !important;
        max-width:fit-content;
        border-radius: 10px;
        color: #06129f;
        font-weight: 600;
    }

    #agents table td:nth-child(7) {
        padding-top: 12px !important;
    }

    #agents table td:nth-child(7) button {
        background: #fff0f0 !important;
        padding: 8px 12px;
        border-radius: 10px;
    }
}@media (max-width: 767px) {
    #propertyTable td.image,
    #propertyTable td.myelist {
        padding: 0 !important;
        width: 100% !important;
    }

    #propertyTable .thumb-box {
        width: 100% !important;
        height: 150px !important;
        border-radius: 14px 14px 0 0 !important;
        display: block !important;
        margin: 0 !important;
    }

    #propertyTable .thumb-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
.property-table td{
    padding: 2px !important;
}
  
}/* admin-dashboard.php property card mobile/tablet gap fix */

@media (max-width: 991px) {
    #propertyTable thead {
        display: none !important;
    }

    #propertyTable,
    #propertyTable tbody {
        width: 100% !important;
    }

    #propertyTable tbody {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        padding: 0 10px !important;
    }

    #propertyTable tbody tr {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 10px !important;
        margin: 0 !important;
        background: #fff !important;
        border: 1px solid #e8ecf3 !important;
        border-radius: 14px !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
        float: none !important;
        clear: none !important;
    }

    #propertyTable td {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        float: none !important;
        clear: none !important;
    }

    #propertyTable td:first-child {
        height: 16px !important;
        margin-bottom: 4px !important;
    }

    #propertyTable td.image,
    #propertyTable td.myelist {
        margin-bottom: 8px !important;
    }

    #propertyTable .thumb-box {
        width: 100% !important;
        height: 155px !important;
        display: block !important;
        margin: 0 !important;
        border-radius: 10px !important;
        /* overflow: hidden !important; */
    }

    #propertyTable .thumb-box img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        object-fit: cover !important;
    }
    #propertyTable .inner h2 {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin: 0 0 5px !important;
    }

    #propertyTable .inner figure,
    #propertyTable .date_set,
    #propertyTable .agent-cell,
    #propertyTable .status-active {
        font-size: 12px !important;
        line-height: 1.35 !important;
        margin: 0 0 6px !important;
    }

    #propertyTable td:last-child {
        margin-top: 4px !important;
        text-align: left !important;
    }

    #propertyTable td:last-child select {
        width: 90px !important;
        height: 34px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 575px) {
    #propertyTable tbody {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    #propertyTable .thumb-box {
        height: 145px !important;
    }
}/* admin-dashboard.php property cards - mobile/tablet */
@media (max-width: 991px) {
    #propertyTable thead {
        display: none !important;
    }

    #propertyTable,
    #propertyTable tbody {
        width: 100% !important;
        display: block !important;
    }

    #propertyTable tbody {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        padding: 0 10px !important;
    }

    #propertyTable tbody tr {
        display: grid !important;
        grid-template-columns: 1fr 100px !important;
        grid-template-areas:
            "check check"
            "image image"
            "details details"
            "status status"
            "agent action";
        gap: 7px 10px !important;
        padding: 12px !important;
        background: #fff !important;
        border: 1px solid #e8ecf3 !important;
        border-radius: 14px !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
    }

    #propertyTable td {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        float: none !important;
    }

    #propertyTable td:nth-child(1) {
        grid-area: check;
    }

    #propertyTable td:nth-child(2) {
        grid-area: image;
    }

    #propertyTable td:nth-child(3) {
        grid-area: details;
    }

    #propertyTable td:nth-child(4) {
        grid-area: status;
    }

    #propertyTable td:nth-child(5) {
        grid-area: agent;
    }

    #propertyTable td:nth-child(6) {
        grid-area: action;
        align-self: end;
        text-align: right !important;
    }

    #propertyTable .thumb-box {
        width: 100% !important;
        height: 185px !important;
        display: block !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    #propertyTable .thumb-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    #propertyTable .inner h2 {
        font-size: 15px !important;
        line-height: 1.35 !important;
        margin: 0 0 6px !important;
    }

    #propertyTable .inner figure,
    #propertyTable .date_set,
    #propertyTable .agent-cell,
    #propertyTable .status-active {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin: 0 0 5px !important;
    }

    #propertyTable td:nth-child(6) select {
        width: 95px !important;
        height: 36px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
}

/* Phone: one card per row */
@media (max-width: 575px) {
    #propertyTable tbody {
        grid-template-columns: 1fr !important;
    }

    #propertyTable .thumb-box {
        height: 155px !important;
    }
}/* User List: tablet only 2 cards per row */
@media (min-width: 576px) and (max-width: 991px) {
    #agents table tbody {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        padding: 0 10px !important;
    }

    #agents table tr {
        width: 100% !important;
        margin: 0 !important;
        min-width: 0 !important;
    }
}

/* User List: phone only 1 card per row */
@media (max-width: 575px) {
    #agents table tbody {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 10px !important;
    }
}

.tablet-sidebar-toggle {
    display: none;
    position: fixed;
    left: 14px;
    top: 95px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: #0a36c6;
    color: #fff;
    align-items: center;
    justify-content: center;
    z-index: 9997;
}/* Fix last card More dropdown clipping */
@media (max-width: 991px) {
    #propertyTable,
    #propertyTable tbody,
    #propertyTable tbody tr,
    .table-responsive-wrapper,
    #property-table,
    .my-properties {
        overflow: visible !important;
    }

    #propertyTable td:nth-child(6),
    #propertyTable td:last-child {
        position: relative !important;
        z-index: 20 !important;
    }

    #propertyTable tbody tr:has(select:focus),
    #propertyTable tbody tr:hover {
        z-index: 50 !important;
    }

    .pagination-container {
        margin-top: 45px !important;
    }
}/* Mobile full width gap fix */
@media (max-width: 575px) {
    html,
    body,
    #wrapper,
    .int_main_wraapper,
    .user-page,
    .user-page .container-fluid,
    .user-page .row,
    .user-dash2 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    .dashborad-box {
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
        margin-left: 6px !important;
        margin-right: 6px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .dashborad-box .section-body .row {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .dashborad-box .section-body .row > div {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}
/* 1024 only: header + sidebar fix */
 /* @media (min-width: 992px) and (max-width: 1199px) {
    .header-widget,
    .header-widget .button,
    .right-side .header-widget {
        display: none !important;
    }

    #navigation,
    #navigation ul,
    #responsive {
        display: flex !important;
        align-items: center !important;
    }

    #navigation ul li:first-child {
        display: list-item !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #navigation ul li:first-child a {
        display: inline-block !important;
    }

    #navigation ul li a {
        font-size: 13px !important;
        padding: 0 12px !important;
        white-space: nowrap !important;
    }

    .user-dash {
        height: 100vh !important;
        overflow-y: auto !important;
        padding-bottom: 80px !important;
    }

    .user-profile-box {
        min-height: 100vh !important;
        height: auto !important;
        padding-bottom: 90px !important;
    }

    .user-profile-box .detail {
        padding-bottom: 70px !important;
    }

    .user-profile-box .detail ul li:last-child {
        margin-bottom: 70px !important;
    }
}  */
    /* iPad Pro / 1024px fix only */
@media (min-width: 992px) and (max-width: 1199px) {
    .user-dash {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: -290px !important;
        width: 280px !important;
        max-width: 280px !important;
        height: 100vh !important;
        z-index: 10000 !important;
        transition: left 0.3s ease !important;
        background: #1d2b44 !important;
        overflow-y: auto !important;
    }

    .user-dash.sidebar-open {
        left: 0 !important;
    }

    .user-dash2 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .tablet-sidebar-toggle {
        display: flex !important;
    }

    .tablet-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 9998;
    }

    .tablet-sidebar-overlay.active {
        display: block;
    }
}
/* 1024 tablet nav: logo + menu + profile in same line */
@media (min-width: 992px) and (max-width: 1199px) {
    #header {
        height: 75px !important;
    }

    #header .container-fluid {
        height: 75px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    #header .left-side {
        display: flex !important;
        align-items: center !important;
        gap: 35px !important;
        height: 75px !important;
    }

    #logo {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        height: auto !important;
    }

    #logo img {
        max-height: 45px !important;
        width: auto !important;
    }

    #navigation {
        display: block !important;
        margin: 0 !important;
    }

    #navigation ul#responsive {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 28px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #navigation ul#responsive li {
        margin: 0 !important;
        padding: 0 !important;
    }

    #navigation ul#responsive li a {
        line-height: 75px !important;
        padding: 0 !important;
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .header-user-menu {
        position: static !important;
        transform: none !important;
        margin-left: auto !important;
    }

    .header-user-name {
        margin: 0 !important;
    }

    .right-side,
    .header-widget,
    .header-widget .button {
        display: none !important;
    }
}/* FIX profile dropdown position */
.header-user-menu {
    position: relative !important;
}

.header-user-menu ul {
    position: absolute !important;
    top: 60px !important;
    right: 0 !important;   /* 🔥 align to right icon */
    left: auto !important;
    min-width: 200px;
    z-index: 9999;
}

/* prevent shifting on tablet */
@media (min-width: 992px) and (max-width: 1199px) {
    .header-user-menu {
        margin-left: auto !important;
    }

    .header-user-menu ul {
        right: 0 !important;
        left: auto !important;
    }
}
/* move navbar more right */
#header .left-side {
    display: flex;
    align-items: center;
}
/* 
#navigation {
    margin-left: 80px !important;
} */

/* 1280 responsive fix */
/* @media (max-width: 1280px) {

    #navigation {
        margin-left: 140px !important;
    }

} */

/* file: css/responsive.css */

/* Mobile search form position fix */
@media (max-width: 575px) {
    .banner-inner {
        min-height: 575px !important;
        height: auto !important;
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }

    .banner-inner .title {
        margin-bottom: 8px !important;
    }

    .banner-inner .sub-title {
        margin-bottom: 12px !important;
    }

    .rld-banner-tab {
        margin-bottom: 18px !important;
    }

    .rld-main-search {
        position: relative !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        z-index: 20 !important;
    }

    .rld-main-search .row {
        height: auto !important;
        margin: 0 !important;
        gap: 0 !important;
    }

    .rld-single-input,
    .rld-single-select,
    .dropdown-filter {
        margin-bottom: 12px !important;
    }

    .explore__form-checkbox-list {
        display: none !important;
        position: static !important;
        width: 100% !important;
        margin-top: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .explore__form-checkbox-list.active {
        display: block !important;
    }

    .explore__form-checkbox-list .nice-select,
    .explore__form-checkbox-list input {
        width: 100% !important;
    }

    .nice-select {
        float: none !important;
        width: 100% !important;
    }

    .nice-select .list {
        z-index: 9999 !important;
    }
}/* 1024px header fix - keep desktop nav, prevent collapse */
@media (min-width: 992px) and (max-width: 1199px) {

    #header {
        height: 75px !important;
    }

    #header .container,
    #header .container-header {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }.ns-profile-content {
   margin-left: 130px !important;
}


    #header .left-side {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 22px !important;
    }

    #logo {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    #logo img {
        max-height: 42px !important;
        width: auto !important;
    }

    #navigation {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    #navigation ul#responsive {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 22px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #navigation ul#responsive li {
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    #navigation ul#responsive li a {
        font-size: 13px !important;
        padding: 0 !important;
        line-height: 75px !important;
    }

    /* hide Add Listing inside nav at 1024 */
    #navigation ul#responsive li:last-child {
        display: none !important;
    }

    /* hide big add listing button */
    .right-side,
    .header-widget {
        display: none !important;
    }

    /* profile fixed right side */
    .header-user-menu {
        flex: 0 0 auto !important;
        position: relative !important;
        margin-left: 18px !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        z-index: 9999 !important;
    }

    .header-user-name {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .header-user-menu ul {
        top: 58px !important;
        right: 0 !important;
        left: auto !important;
    }
}

/* MOVE NAVIGATION TO RIGHT - 1280 ONLY */
@media only screen and (min-width: 1200px) and (max-width: 1280px) {

    .dashboard-bd #navigation {
        margin-left: 200px !important; /* increase more if needed */
        padding-left: 0 !important;
    }

}
@media (min-width: 1200px) and (max-width: 1400px) {
    .recently .container {
        max-width: 1180px !important;
    }

    .recently .slick-slide {
        padding: 0 8px !important;
    }

    .recently .project-single {
        width: 100% !important;
    }

    .recently .homes-img img {
        height: 215px !important;
        object-fit: cover !important;
    }

    .recently .homes-content {
        padding: 14px !important;
    }

    .recently .homes-content h3 a {
        font-size: 14px !important;
    }
}