.nav-tabs .nav-link.active {
    border-bottom: 2px solid #0d6efd !important;
    color: #0d6efd !important;
}

.nav-tabs .nav-link:hover {
    color: #0d6efd !important;
}

.thumbnail-img.active {
    border-color: #0d6efd !important;
}

.thumbnail-img:hover {
    opacity: 0.8;
}

/* Review Form Card */
.review-form-card {
    border: 1px solid #e3f2fd;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.08);
}

/* Enhanced Review Styles - No Hover */
.ulasan-item {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: none;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #6c5ce7) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
    flex-shrink: 0;
}

.avatar-text {
    font-size: 16px;
    font-weight: 700;
}

.user-name {
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
}

.review-date {
    font-size: 12px;
    color: #6c757d;
}

.rating-display {
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.review-star {
    color: #e9ecef;
    font-size: 14px;
    margin-right: 1px;
}

.review-star.active {
    color: #ffc107;
}

.rating-text {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.review-badge .badge {
    background: linear-gradient(135deg, #0d6efd, #6c5ce7) !important;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 15px;
}

.review-content p {
    color: #495057;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 12px;
}

/* Enhanced Empty State */
.empty-state {
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.empty-icon {
    font-size: 3.5rem;
    color: #adb5bd;
}

.btn-back {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    border: 1.5px solid #0d6efd;
}

.btn-back:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Enhanced Rating Stars for Input */
.rating-star:hover,
.rating-star.active {
    color: #ffc107 !important;
    filter: drop-shadow(0 0 3px rgba(255, 193, 7, 0.4));
    transform: scale(1.05);
}

/* Better spacing */
.container {
    max-width: 1200px;
}

.card-body {
    padding: 1.5rem;
}

/* Form buttons styling */
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
}

.preview-container .preview-img-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
}
.preview-container .preview-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.preview-container .preview-img-wrapper img:hover {
    border-color: #0d6efd;
    transform: scale(1.05);
}
.preview-container .remove-preview {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#imageModal .modal-content {
    background: transparent !important;
    box-shadow: none;
}
#imageModal .modal-body {
    padding: 0 !important;
}
#imageModal .modal-header {
    background: transparent !important;
    border: none;
    padding: 0 !important;
}

/* Gambar lebih seimbang ukurannya */
#modalImage {
    max-width: 90vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Backdrop gelap */
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

/* Operating Hours Styling */
.operating-hours .day-indicator {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-display .badge {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Facilities Styling */
.facilities-list {
    max-height: 300px;
    overflow-y: auto;
}

.facility-item {
    border-left: 3px solid transparent;
    padding-left: 0.75rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.facility-item:hover {
    border-left-color: #0d6efd;
    background-color: #f8f9fa;
    border-radius: 0 8px 8px 0;
}

.facility-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Virtual Tour Styling */
.virtual-tour-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.panorama-viewer {
    min-height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.virtual-tour-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-content {
    max-width: 500px;
    margin: 0 auto;
}

.tour-icon-wrapper {
    padding: 20px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: inline-block;
}

.tour-viewer {
    height: 400px;
    position: relative;
}

.panorama-container {
    height: 100%;
    overflow: hidden;
}

.panorama-scene {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

.scene-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0d6efd 0%, #6c5ce7 50%, #0d6efd 100%);
    background-size: 300% 300%;
    opacity: 0.1;
}

.tour-hotspots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 5;
}

.hotspot-marker {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(13, 110, 253, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.hotspot-marker:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.marker-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.3);
    animation: pulse 2s infinite;
}

.hotspot-tooltip {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ulasan-item {
        margin-bottom: 1rem;
    }

    .user-avatar {
        width: 38px;
        height: 38px;
    }

    .avatar-text {
        font-size: 14px;
    }

    .review-content p {
        font-size: 13px;
    }

    .card-body {
        padding: 1rem;
    }

    .d-flex.gap-2 {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .btn-sm {
        width: 100%;
    }

    .tour-content {
        padding: 0 1rem;
    }

    .facility-item {
        padding: 0.5rem;
        margin-left: 0;
    }

    .operating-hours .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
}
