/*
 * Biegun Studio Simple Reviews - Style CSS
 * Minimalistyczne style z możliwością łatwego nadpisania
 */

/* Główny kontener */
.biegun-reviews-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* === LEWA SEKCJA - INFORMACJE O FIRMIE === */
.biegun-reviews-company {
    flex: 0 0 30%;
    min-width: 300px;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.company-favicon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #333;
    line-height: 1.3;
}

.company-rating {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-rating .stars {
    font-size: 28px;
    color: #FFD700;
}

.rating-text {
    font-size: 14px;
    color: #666;
}

.google-review-button {
    display: inline-block;
    background-color: #4285f4;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.google-review-button:hover {
    background-color: #3367d6;
    color: white;
    text-decoration: none;
}

/* === PRAWA SEKCJA - SLIDER OPINII === */
.biegun-reviews-slider {
    flex: 0 0 70%;
    position: relative;
    overflow: hidden;
}

.biegun-reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.biegun-review-item {
    flex: 0 0 calc(50% - 20px);
    padding: 20px;
    border: 2px solid #DEDEDE;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
    max-height: 300px;
    overflow-y: auto;
    min-width: 0; /* Zapobiega rozszerzaniu się poza kontener */
}

.biegun-review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* Avatar z pierwszą literą */
.biegun-review-avatar {
    width: 40px;
    height: 40px;
    background-color: #C10A0B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.biegun-review-info{
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin: 0;
    word-wrap: break-word;
}

.biegun-review-rating {
    margin-bottom: 15px;
}

.biegun-review-stars {
    font-size: 24px;
    color: #FFD700;
}

.biegun-review-content {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Scrollbar dla długich opinii */
.biegun-review-item::-webkit-scrollbar {
    width: 6px;
}

.biegun-review-item::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.biegun-review-item::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.biegun-review-item::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 768px) {
    .biegun-reviews-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .biegun-reviews-company,
    .biegun-reviews-slider {
        flex: none;
    }
    
    .biegun-review-item {
        flex: 0 0 calc(100% - 20px);
    }
    
    .company-name {
        font-size: 20px;
    }
    
    .biegun-review-avatar {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .biegun-reviews-container {
        padding: 15px;
        gap: 20px;
    }
    
    .google-review-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .biegun-review-item {
        padding: 15px;
    }
}