/* General layout */
.cr-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cr-filters select {
    padding: 8px 12px;
    border: 1px solid #b0c4de;
    border-radius: 6px;
    background: #f0f8ff;
    color: #333;
    transition: border-color 0.2s ease;
}

.cr-filters select:focus {
    border-color: #4682b4;
    outline: none;
}

/* Review cards */
.cr-card {
    border: 1px solid #dce6f5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(70,130,180,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(70,130,180,0.25);
}

/* Header with avatar and info */
.cr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cr-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid #b0c4de;
}

.cr-info {
    flex-grow: 1;
}

.cr-info h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
}

.cr-location {
    font-size: 13px;
    color: #4682b4;
}

.cr-source-logo img {
    width: 60px;
    height: auto;
}

/* Rating stars */
.cr-rating {
    margin: 12px 0;
}

.cr-rating .star {
    font-size: 20px;
    color: #cfd8dc;
    margin-right: 3px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Prazne zvezdice – blagi sivi glow */
.cr-rating .star {
    text-shadow: 0 0 4px rgba(0,0,0,0.15);
}

/* Popunjene zvezdice – zlatni glow */
.cr-rating .star.filled {
    color: #f5a623; /* Zlatna boja */
    text-shadow: 0 0 6px rgba(245,166,35,0.6), 0 0 12px rgba(245,166,35,0.4);
}


/* Review text */
.cr-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333;
}

/* Photos grid */
.cr-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cr-photos img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cr-photos img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Load more button */
#cr-load-more {
    display: block;
    margin: 25px auto;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6ca6cd, #4682b4);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(70,130,180,0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

#cr-load-more:hover {
    background: linear-gradient(135deg, #4682b4, #315f7d);
    transform: translateY(-2px);
}

/* Popup gallery (basic lightbox style) */
.cr-photo-popup {
    position: relative;
}

.cr-photo-popup img {
    display: block;
}

/* Lightbox overlay */
.cr-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,30,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cr-lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.cr-lightbox .cr-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 1024px) {
    .cr-card {
        padding: 16px;
    }
    .cr-photos img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .cr-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cr-source-logo {
        margin-top: 8px;
    }
    .cr-photos img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .cr-card {
        padding: 14px;
    }
    .cr-info h4 {
        font-size: 15px;
    }
    .cr-text {
        font-size: 14px;
    }
    .cr-photos img {
        width: 70px;
        height: 70px;
    }
    #cr-load-more {
        width: 100%;
        border-radius: 8px;
    }
}

.cr-lightbox .cr-prev,
.cr-lightbox .cr-next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    transform: translateY(-50%);
}

.cr-lightbox .cr-prev { left: 20px; }
.cr-lightbox .cr-next { right: 20px; }

.cr-lightbox .cr-prev:hover,
.cr-lightbox .cr-next:hover {
    color: #6ca6cd;
}