﻿.carousel {
    position: relative;
    overflow: hidden;
}

    .carousel .track {
        display: flex; /* horizontal layout */
        transition: transform 0.3s ease-in-out;
        max-width: 415px;
    }

        .carousel .track .slide {
            flex: 0 0 100%; /* each slide takes full carousel width */
        }



    .carousel .nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: rgba(0,0,0,0.5);
        border: none;
        color: white;
        font-size: 2rem;
        padding: 0.2rem 0.5rem;
        cursor: pointer;
    }

    .carousel .prev {
        left: 0.5rem;
    }

    .carousel .next {
        right: 0.5rem;
    }

    .carousel .track img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        border-radius: 18px;
    }

#table-right td 
{
    padding:12px 10px;
}

.container-review {
    position: relative;
    width: 300px;
    border: 3px solid #FFFFFF;
    border-radius: 18px
}

.speech-bubble {
    background-color: #f5fbff;
    color: black;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 0px;
}

    .speech-bubble::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #f5fbff;
    }

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.title {
    font-size: 18px;
    font-weight: bold;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.rating-text {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.rating-score {
    background-color: #6a4fe0;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.content {
    font-size: 14px;
    line-height: 1.4;
}

.arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #0bbde8;
    font-size: 20px;
}

.map {
    background-color: #d3f8e2;
    height: 100px;
    border-radius: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pin {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: #003580;
    border-radius: 50%;
    border: 2px solid white;
}

.location {
    margin-top: 30px;
    font-size: 14px;
    font-weight: bold;
}

.plus {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 20px;
    color: #0bbde8;
}
.badge-ka-object {
    width:230px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #f6f4ff;
    color: #6b5cff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.badge-ka-object-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.badge-ka-object-text {
    white-space: nowrap;
}

.badge-ka-object-green-text {
    width: 200px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #f6f4ff;
    color: ;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}


/* Container with rounded top corners */
.review-header {
    padding: 20px 22px 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

/* Title and subtitle */
.header-left .title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-align: right;
    padding-right: 5px;
    width: 100%;
}


.header-left .subtitle {
    font-size: 11px;
    color: #555;
    margin-top: 2px;
    text-align: right;
    padding-right: 5px;
    width:100%;
}

/* Purple speech bubble rating */
.rating-bubble {
    background: #7c5cff;
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    padding: 6px 14px;
    border-radius: 14px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

    /* Bubble tail */
    .rating-bubble::after {
        content: "";
        position: absolute;
        bottom: -7px;
        right: 18px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #7c5cff;
    }


.bubble-container-object {
    display: flex;
    flex-wrap: wrap;
    gap: 12px; /* space between bubbles */
    max-width: 600px; /* optional */
}

.bubble-object {
    padding: 5px 18px;
    background: white;
    border-radius: 20px;
    font-size: 12px;
    color: #6A42E8; /* purple text */
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(150, 120, 255, 0.25), inset 0 0 4px rgba(255, 255, 255, 0.6);
    white-space: nowrap; /* prevents bubbles from breaking lines */
}
.bottom-holder {
    display: flex; /* lay items left-to-right */
    flex-wrap: wrap; /* allow wrapping on smaller screens (optional) */
    align-items: center; /* vertical alignment */
    justify-content: space-between; /* start from left */
    gap: 16px; /* consistent spacing between items */
    /* Optional: contain them to one line and hide overflow
     white-space: nowrap; overflow: hidden; */
}

.bottom-item {
    display: inline-flex; /* keeps icon + text tight */
    align-items: center;
    gap: 8px; /* space between icon and text */
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    color: #6c57e3; /* your purple */
    font-weight: 600;
    /* Remove any left/right margins if you had them */
    margin: 0;
    /* Prevent chips from stretching oddly */
    flex: 0 0 auto;
}

.rating-bar {
    width: 100%;
    height: 14px;
    background: #e9e3f4; /* light lavender */
    border-radius: 10px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #6a3fe3 0%, #7a52f5 25%, #3fa7f7 70%, #12d4e7 100% );
}

#tab-review-index td
{
    padding: 7px 15px;
    border-bottom: 1px solid #eee;
}