/* Property Spaces CSS - for assets/css/property-spaces.css */

.property-spaces-root {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-bottom: 30px;
}

.property-spaces-arrow-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-spaces-arrow-div-sub {
    display: flex;
    align-items: center;
}

.property-spaces-arrow-left {
    cursor: pointer;
    border-radius: 32px;
    background: #fff;
    transform: scaleX(-1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.property-spaces-arrow-right {
    cursor: pointer;
    border-radius: 32px;
    background: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.property-spaces-arrow-count {
    margin: 0 8px;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #1e1e1e;
}

.property-spaces-root-wrapper {
    display: flex;
    margin-top: 9px;
    overflow: hidden;
    width: 100%;
}

.property-spaces-wrapper {
    display: flex;
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* Firefox */
}

.property-spaces-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

.property-spaces-item {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    max-width: 350px;
    border-radius: 8px;
    flex: 0 0 auto;
}

.property-spaces-img-div {
    width: 350px;
    aspect-ratio: 3 / 2;
    position: relative;
    margin-bottom: 4px;
    overflow: hidden;
    border-radius: 8px;
}

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

.property-spaces-details-item {
    display: flex;
    margin-top: 8px;
}

.property-spaces-details-item p {
    margin-bottom: 0px;
}

.property-spaces-dots {
    height: 6px;
    width: 6px;
    background-color: #1e1e1e;
    border-radius: 10px;
    flex-shrink: 0;
    margin-top: 10px;
    margin-right: 8px;
}

.property-spaces-title-div-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 15px 10px;
}

.property-spaces-title-div {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.property-tab-title-container {
    display: flex;
    align-items: center;
}

.property-tab-title {
    display: flex;
    align-items: center;
}

.property-title-divider {
    width: 4px;
    height: 24px;
    background-color: #3399ff;
    /* You can change this to match your theme color */
    margin-right: 10px;
    display: inline-block;
}

.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .property-spaces-item {
        max-width: calc(50% - 10px);
        margin-right: 10px;
    }

    .property-spaces-img-div {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .property-spaces-item {
        max-width: calc(100% - 20px);
        margin-right: 20px;
        min-width: calc(100% - 20px);
    }

    .property-spaces-img-div {
        width: 100%;
    }

    .property-spaces-arrow-div {
        flex-direction: row;
        align-items: flex-start;
    }

    .property-spaces-arrow-div-sub {
        margin-top: 0px;
    }

    .property-spaces-wrapper {
        gap: 0;
    }
}