.parsley-errors-list {
    margin: 0;
    padding: 0;
}

    .parsley-errors-list > li {
        list-style: none;
        color: #f1556c;
        margin-top: 5px;
        position: relative;
    }

        .parsley-errors-list > li:before {
            font-family: "Material Design Icons";
            position: absolute;
            top: -1px;
        }

.parsley-error {
    border-color: #f1556c !important;
}

.parsley-success {
    border-color: #1abc9c !important;
}

.dropify-wrapper {
    border-radius: 0.5rem;
}

    .dropify-wrapper > .dropify-message > .file-icon > p {
        font-size: 1rem;
    }

.filter-item {
    flex: 0 0 auto;
    width: 25%;
}

.image-popup {
    display: block;
    width: 100%; /* Makes container responsive */
    aspect-ratio: 4 / 3; /* Maintain a consistent ratio */
    overflow: hidden; /* Hide overflow if the image is larger */
    position: relative;
}

    .image-popup img {
        width: 100%;
        height: 100%;
    }

.mfp-title {
    display: none;
}

.image-count-area {
    bottom: -1rem;
    left: 5.5rem;
}

.image-count {
    padding-top: 5px;
    padding-bottom: 5px
}

.input-validation-error {
    border-color: #c72929 !important;
}

.input-validation-success {
    border-color: #20b900 !important;
}

.verification-input {
    appearance: textfield;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #ced4da;
    margin: 0 3px;
    border-radius: 5px;
}

.verification-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-border {
    --bs-spinner-width: 1rem;
    --bs-spinner-height: 1rem;
}

.toggle-password {
    position: absolute;
    top: 40%;
    right: 5%;
    cursor: pointer;
}

.btn-line-google:hover {
    gap: 8px;
    border: 1px solid #000000;
    background-color: #002a6f;
    color: #ffffff;
}

.circle-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.logo-size {
    height: 3rem;
}

.list-mess-small {
    height: 16rem;
    overflow: auto;
}

.dashboard-table {
    height: 29rem;
}

.mobile-menu-toggle {
    position: absolute !important;
    right: 0rem;
    font-size: 2rem !important;
}

.description-text {
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

    .description-text.expanded {
        max-height: none;
    }

.box-review {
    max-height: 22rem;
    overflow: auto;
}

.sub-ip {
    position: relative;
}

    .sub-ip .star-rating {
        position: absolute;
        right: 0;
    }

.listing-img {
    aspect-ratio: 16/9;
}

.swiper-slide {
    margin: auto;
}

.layout-wrap .flat-counter-v2 .counter-box:hover {
    background-color: #cecece;
}

.mobile-placeholder::placeholder {
    color: transparent !important;
}

.date-list-container {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden; /* Hide the scrollbar */
}

.date-list {
    display: flex;
    overflow-x: scroll; /* Enable scrolling */
    gap: 10px;
    padding: 10px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
    scrollbar-width: none; /* For Firefox */
}

    /* Hide scrollbar in WebKit browsers */
    .date-list::-webkit-scrollbar {
        display: none; /* Hide scrollbar for WebKit browsers */
    }


.date-item {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    background-color: #f8f9fa;
}


    .date-item.selected {
        background-color: #007bff !important;
        color: white;
        border: 1px solid #007bff;
    }

    .date-item:hover {
        background-color: #cacaca;
        color: #000000;
        cursor: pointer;
    }

.date-list::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers */
}

.scroll-button {
    z-index: 10;
    border: none;
    padding: 10px;
    cursor: pointer;
    height: fit-content;
    margin: auto;
}

.time-list-container {
    position: relative;
    display: grid;
    overflow: hidden; /* Hide the scrollbar */
}

.time-list {
    max-height: 300px; /* Matches the total height of the input boxes */
    display: grid;
    overflow-y: scroll; /* Enable scrolling */
    gap: 10px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
    scrollbar-width: none; /* For Firefox */
}

    /* Hide scrollbar in WebKit browsers */
    .time-list::-webkit-scrollbar {
        display: none; /* Hide scrollbar for WebKit browsers */
    }

.time-item {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    background-color: #f8f9fa;
}

    .time-item.selected {
        background-color: #007bff;
        color: white;
        border: 1px solid #007bff;
    }

    .time-item:hover {
        background-color: #007bff;
        color: white;
        border: 1px solid white;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        cursor: pointer;
    }

.pr-0 {
    padding-right: 0 !important;
}

single-property-gallery {
    position: relative;
}

.btn-danger-dark {
    background-color: #f44336;
    border-color: #f44336;
    color: #ffffff;
}

    .btn-danger-dark:hover, .btn-danger-dark:active, .btn-danger-dark:focus {
        background-color: #f52e20;
        border-color: #f44336;
        color: #FFFFFF;
    }

.bg-info-light {
    background-color: #0dffff !important;
}

.btn-warning-light {
    background-color: #f0cc71 !important;
    border: 1px solid #ff8f00;
    color: #0f1111;
}

    .btn-warning-light:hover, .btn-warning-light:active {
        background-color: #f6bf37 !important;
    }

.btn-warning-dark {
    background-color: #ffa41c !important;
    border: 1px solid #ff8f00;
    color: #0f1111;
}

    .btn-warning-dark:hover, .btn-warning-dark:active {
        background-color: #f29c1b !important;
    }

.btn-outline-warning-dark {
    background-color: #ffffff !important;
    border: 1px solid #ff8f00;
    color: #000000;
}

    .btn-outline-warning-dark:hover, .btn-outline-warning-dark:active {
        background-color: #ff8f00 !important;
        color: #000000;
    }

.btn-info-dark {
    background-color: #23a2ff !important;
    border: 1px solid #0c98ff;
    color: #ffffff;
}

    .btn-info-dark:hover, .btn-info-dark:active {
        background-color: #0c98ff !important;
    }

    .btn-info-dark:disabled {
        background-color: #67bfff !important;
        border: 1px solid #0c98ff;
        color: #ffffff;
    }

.btn-outline-info-dark {
    background-color: #ffffff !important;
    border: 1px solid #0c98ff;
    color: #23a2ff;
}

    .btn-outline-info-dark:hover, .btn-outline-info-dark:active {
        background-color: #0c98ff !important;
        color: #ffffff;
    }

.nav-tab-recommended .nav-link-item.active, .nav-tab-recommended .nav-link-item:hover {
    background-color: #23a2ff !important;
}

.nav-tab-recommended .nav-link-item.active, .nav-tab-recommended .nav-link-item.selected {
    background-color: #23a2ff !important;
    color: #ffffff;
}

.nav-tab-form .nav-link-item.active, .nav-tab-form .nav-link-item:hover {
    background-color: #23a2ff !important;
    color: #ffffff !important;
}

.text-info-dark {
    color: #23a2ff;
}

.text-transformation-none {
    text-transform: none;
}

.w-fit-content {
    width: fit-content;
}

.table-bordered {
}

    .table-bordered thead th {
        border-bottom-width: 2px;
    }

    .table-bordered td, .table-bordered th {
        border: 1px solid #dee2e6;
    }

.section-table-container {
    overflow-x: auto; /* Enables horizontal scrolling */
    width: 100%; /* Ensures the container fits within the screen */
}

table.section-table {
    width: 100%; /* Makes the table responsive */
    border-collapse: collapse; /* Ensures clean table borders */
}

.section-table th, .section-table td {
    border: 1px solid #ddd; /* Adds borders between table cells */
    padding: 10px; /* Adds padding inside table cells */
    text-align: left; /* Aligns text to the left */
    white-space: nowrap; /* Prevents wrapping for table headers and cells */
}

.section-table th {
    background-color: #f4f4f4; /* Optional: Adds a background color to table headers */
}

.dropify-wrapper.touch-fallback {
    height: 200px !important;
}

.wd-navigation .nav-item {
    color: #23a2ff;
}

.homelengo-box .archive-bottom {
    min-height: 11rem;
}

.suggestions {
    position: absolute;
    z-index: 50;
    background-color: white;
    padding: 0;
    max-height: 9rem;
    overflow-y: scroll;
    overflow-x: hidden;
    width: inherit;
    border-radius: 0 0 1rem 1rem;
}

    .suggestions li {
        padding: .5rem 1.7rem;
        cursor: pointer;
    }

        .suggestions li.selected {
            padding: .7rem 1.7rem;
            background-color: #23a2ff;
        }

        .suggestions li:hover {
            padding: .7rem 1.7rem;
            background-color: #23a2ff;
        }

.map-price {
    font-size: 0.7rem;
    padding: 0 0.5rem;
}

.img-fluid {
    height: 100%;
}

.h-100 {
    height: 100%;
}

.h-75 {
    height: 75%;
}

.h-50 {
    height: 50%;
}

.h-25 {
    height: 25%;
}

.header-dashboard {
    min-height: 5vh;
}

.dashboard-body {
    display: flex;
    flex-direction: column;
    position: relative;
}

.main-content-inner {
    height: 90vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

.dashboard-footer {
    width: 100%;
    height: 5vh;
}

.text-lg-left {
    text-align: left !important;
}

.img-video {
    height: 20rem;
}

.price-input {
    appearance: textfield;
}

.h-vh-60 {
    height: 60vh;
}

.form-select-sm {
    min-width: 5rem;
}

.nav-map {
    padding: .3rem !important;
    cursor: pointer;
}

.result-map {
    height: 25rem;
    border-radius: 1rem;
}

.sitemap-list {
    margin: 3rem 6rem !important;
}

    .sitemap-list:after {
        content: "";
        display: block;
        width: 100%;
        height: 2px; /* Thickness of the line */
        background-color: #ccc; /* Color of the line */
        margin: 10px 0; /* Spacing around the line */
    }

.text-capitalize-sentence::first-letter {
    text-transform: uppercase;
}

.badge-grey {
    background-color: #2626262e
}

.bg-soft-warning {
    background-color: #ffc1070a;
}

.w-fit-content {
    width: fit-content !important;
}

:root {
    --gradient: linear-gradient(to left top, #DD2476 10%, #FF512F 90%) !important;
}

.btn-visit {
    border-image-slice: 1;
    background: var(--gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    border-image-source: var(--gradient) !important;
    text-decoration: none;
    transition: all .4s ease;
    padding: .3rem;
}

    .btn-visit:hover, .btn-visit:focus {
        background: var(--gradient) !important;
        -webkit-background-clip: none !important;
        -webkit-text-fill-color: #fff !important;
        box-shadow: #222 1px 0 10px;
        text-decoration: underline;
    }

.form-outline .form-select.form-control-lg ~ .form-label {
    transform: translateY(-1.25rem) translateY(0.1rem) scale(0.8);
    margin-top: .7rem;
    padding-top: 0;
    background: white !important;
}

.section-table {
    border: 1px solid black !important;
}

    .section-table tr:not(:last-child) td, .section-table tr th {
        border-bottom: 1px solid black !important;
    }

.ql-toolbar {
    border: 1px solid #e4e4e4;
    border-radius: 8px 8px 0 0;
}

.ql-container {
    border: 1px solid #e4e4e4;
    border-radius: 0 0 8px 8px;
}

strong {
    font-weight: bolder;
}

em {
    font-style: italic;
}

.back-to-home {
    position: absolute;
    width: 100%;
    bottom: 30px
}

.single-property-element ol li {
    list-style-type: decimal;
}

.single-property-element ul li {
    list-style-type: disc;
}

.widget-box-2 {
    border: 1px solid rgba(0,0,0,0.175);
}

.user-dropdown-name {
    cursor: pointer;
    pointer-events: none;
    height: min-content;
    padding: .5rem 0 0 0;
    text-align: center;
}

.dashboard-unread-count {
    padding: 2px 6px;
    border-radius: 100%;
    background: white;
    color: #161e2d;
}

.active > .dashboard-unread-count {
    background: #161e2d;
    color: white;
}

.nav-menu-link:hover > .dashboard-unread-count {
    background: #161e2d;
    color: white;
}

.product-box {
    position: relative;
}

    .product-box .product-action {
        position: absolute;
        right: 0;
        top: 0;
        padding: 1.5rem 1.5rem 0 1.5rem;
        z-index: 3;
        opacity: 0;
        visibility: hidden;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-transition: all .3s ease 0s;
        transition: all .3s ease 0s;
    }

    .product-box:hover .product-action {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

.mobile-menu .button-mobi-sell {
    border-bottom: none;
}

#tags-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
/* animate an angle, not the element */
@property --a {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes spinBorder {
    to {
        --a: 1turn;
    }
}

.custom-swal-popup {
    position: relative;
    background: #1e1e1e !important;
    color: #fff !important;
    border-radius: 12px; /* rounded corners source */
    border: 1px solid #333;
    box-shadow: 0 10px 25px rgba(0,0,0,.3);
    --ring: 4px; /* ring thickness */
}

    /* spinning, rounded border only */
    .custom-swal-popup::after {
        content: "";
        position: absolute;
        inset: 0; /* align to the popup box */
        border-radius: 10px; /* perfectly matches corners */
        pointer-events: none;
        /* draw the ring paint */
        padding: var(--ring);
        background: conic-gradient(from var(--a), #f58529, #feda77, #dd2a7b, #8134af, #515bd4, #f58529);
        /* punch out the middle so only the “border” shows */
        /* Chrome/Safari */
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        /* Firefox */
        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        mask-composite: exclude;
        animation: spinBorder 2.5s linear infinite;
    }

.custom-swal-title {
    font-size: 24px !important;
    font-weight: bold;
    color: #fff !important;
}

.custom-swal-content {
    font-size: 16px;
    color: #fff !important;
    line-height: 1.5;
}

.custom-swal-icon-success {
    color: #4CAF50 !important;
    font-size: 60px !important;
}

.custom-swal-icon-warning {
    color: #ffc107 !important;
    font-size: 60px !important;
}

.custom-swal-icon-failure {
    color: #C61717 !important;
    font-size: 60px !important;
}

.swal2-success-ring {
    display: none !important;
}

.swal2-close {
    color: #4b4b4b;
}

div:where(.swal2-container) button:where(.swal2-close):focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.modal-content {
    background-color: #1e1e1e;
}

.modal-header {
    border-bottom: var(--bs-modal-header-border-width) solid #000;
}

.modal-title {
    color: #9d9d9d;
}

.btn-close {
    filter: none;
    fill: #9d9d9d;
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239d9d9d'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e ");
}

.modal-body {
    color: #9d9d9d;
}

    .modal-body select, .modal-body input, .modal-body textarea, .modal-body select:focus, .modal-body input:focus, .modal-body textarea:focus {
        background-color: #1e1e1e;
        color: #9d9d9d;
        border-color: #9d9d9d;
    }

.custom-swal-button {
    background-color: #4CAF50 !important;
    color: #fff !important;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 16px;
    border: none;
}

.custom-swal-button-warning {
    background-image: linear-gradient(to right, #ffb347 0%, #ffcc33 51%, #ffb347 100%) !important;
    color: #000000 !important;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-size: 200% auto;
    transition: 0.5s;
}

    .custom-swal-button-warning:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }

.custom-swal-button-deny {
    background-image: linear-gradient(to right, #f85032 0%, #e73827 51%, #f85032 100%) !important;
    color: #000000 !important;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-size: 200% auto;
    transition: 0.5s;
    margin-bottom:1rem;
}

    .custom-swal-button-deny:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #cacaca;
}
/* Smooth hide/show transition */
.main-header {
    transition: top 0.3s ease-in-out;
}

.header-hidden {
    top: -100px; /* adjust based on your header height */
}

.btn-grad-danger {
    background-image: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%)
}

.btn-grad-danger {
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: black;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

    .btn-grad-danger:hover {
        background-position: right center; /* change the direction of the change here */
        color: #000000;
        text-decoration: none;
    }


.btn-grad-warning {
    background-image: linear-gradient(to right, #F09819 0%, #EDDE5D 51%, #F09819 100%)
}

.btn-grad-warning {
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: black;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

    .btn-grad-warning:hover {
        background-position: right center; /* change the direction of the change here */
        color: #000000;
        text-decoration: none;
    }

.btn-grad-success {
    background-image: linear-gradient(to right, #56ab2f 0%, #a8e063 51%, #56ab2f 100%)
}

.btn-grad-success {
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: black;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

    .btn-grad-success:hover {
        background-position: right center; /* change the direction of the change here */
        color: #000000;
        text-decoration: none;
    }

.btn-grad-primary {
    background-image: linear-gradient(to right, #00c6ff 0%, #0072ff 51%, #00c6ff 100%)
}

.btn-grad-primary {
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

    .btn-grad-primary:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }

/* Make the gradient's angle animatable */
@property --ring-rot {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

/* Your base ring (tweaked to use the angle var) */
.business-border-ring {
    --ring: 4px;
    --gap: 2px;
    --inner-bg: #fff;
    --ring-rot: 0deg; /* <- this will be animated */
    --ig: conic-gradient(from var(--ring-rot), #f58529, #feda77, #dd2a7b, #8134af, #515bd4, #f58529);
    max-width: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-sizing: border-box;
    padding: var(--gap);
    border: var(--ring) solid transparent;
    background: linear-gradient(var(--inner-bg), var(--inner-bg)) padding-box, var(--ig) border-box;
    background-color: transparent;
    color: #6c757d;
    font-size: 14px;
    position: relative;
}

/* New: rotate only the border */
.business-border-ring-rotation {
    --speed: 2.5s; /* adjust to taste */
    animation: ring-rotate var(--speed) linear infinite;
}

@keyframes ring-rotate {
    to {
        --ring-rot: 360deg;
    }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .business-border-ring-rotation {
        animation: none;
    }
}


@media only screen and (max-width: 600px) {
    .filter-item {
        width: 100%;
    }

    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .mobile-placeholder::placeholder {
        color: inherit !important; /* Adjust the color as needed */
    }

    .text-sm-center {
        text-align: center !important;
    }

    .header-dashboard {
        padding-top: 0;
        padding-bottom: 0;
    }

    .main-content-inner {
        height: 80vh;
    }

    .dashboard-footer {
        height: 10vh;
    }

    .sticky-bottom-bar {
        transition: transform 0.4s ease-in-out, position 0.4s ease-in-out;
    }

    .fixed-bottom {
        position: absolute; /* Normal position */
        position: fixed !important; /* Fix to bottom when scrolled past */
        bottom: 0;
        left: 0;
        z-index: 1050;
        width: 100%;
        background: white; /* Adjust as needed */
        padding: 10px 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
    }

    .back-to-home {
        position: relative;
        width: 100%;
        bottom: 0;
    }
}
