* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.text-container {
    h2, h3 {
        margin: 10px 0;
    }
    ul, ol {
        padding-left: 25px
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin: 15px 0;
        font-family: Arial, sans-serif;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        overflow: hidden;
        font-size: 14px;
    }

    table tbody tr:first-child {
        background-color: #2c3e50;
        color: white;
    }

    table tbody tr:not(:first-child) {
        background-color: #ffffff;
        border-bottom: 1px solid #eeeeee;
    }

    table td {
        padding: 10px 8px;
        text-align: center;
        word-break: break-word;
        vertical-align: middle;
    }

    /* Стиль для вертикального тексту */
    .vertical-text {
        writing-mode: vertical-lr;
        text-orientation: mixed;
        white-space: nowrap;
        transform: rotate(180deg);
        height: auto;
        padding: 15px 5px;
        text-align: center;
    }

    /* Медіа-запит для мобільних пристроїв */
    @media screen and (max-width: 480px) {
        table {
            font-size: 12px;
            table-layout: fixed; /* Фіксована ширина таблиці */
        }

        table td {
            padding: 8px 5px;
        }

        /* Фіксовані розміри для колонок */
        table td:first-child {
            width: 20%;
        }

        table td:nth-child(2) {
            width: 20%;
        }

        table td:nth-child(3) {
            width: 30%;
        }

        table td:last-child {
            width: 30%;
        }

        /* Стиль для вертикального тексту на мобільних */
        .vertical-text {
            font-size: 11px;
            padding: 10px 2px;
            max-width: 20px; /* Обмежити ширину колонки */
        }
    }
}

body {
    background-color: #f8f8f8;
    color: #2d2d2d;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 20px;
}

.logo {
    width: 120px;
    height: 120px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.logo img {
    width: 80%;
}

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

.company-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.claimed-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    color: #2d2d2d;
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.claimed-badge svg {
    color: #00b67a;
    margin-right: 5px;
}

.reviews-count {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.stars {
    display: inline-flex;
    margin: 0 10px;
    color: #00b67a;
}

.info-icon {
    color: #737373;
    cursor: pointer;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn {
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background-color: #3457dc;
    color: white;
}

.btn-outline {
    border: 1px solid #3457dc;
    color: #3457dc;
}

.btn svg {
    margin-right: 5px;
}

.external-link {
    margin-left: 5px;
}

.score-summary {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.rating-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.rating-text {
    font-weight: 600;
    margin-bottom: 10px;
}

.star-bars {
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.star-bar {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.star-label {
    width: 50px;
    text-align: right;
    margin-right: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.progress-bar {
    flex-grow: 1;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 10px;
}

.progress-fill {
    height: 100%;
    background-color: #00b67a;
}

.info-banners {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.info-banner {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #f3f7ff;
    border-radius: 8px;
    padding: 15px;
}

.info-banner svg {
    margin-right: 15px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-banner.star-banner svg {
    color: #2a356c;
}

.info-banner.chat-banner svg {
    color: #2d2d2d;
}

.banner-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.banner-text strong {
    display: block;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.how-trustpilot {
    color: #2d2d2d;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.review {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

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

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 10px;
    flex-shrink: 0;
}

.avatar-l {
    background-color: #8e734a;
}

.avatar-s {
    background-color: #3457dc;
}

.avatar-ma {
    background-color: #f6e6ea;
    color: #2d2d2d;
}

.avatar-k {
    background-color: #c25c35;
}

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

.reviewer-name {
    font-weight: 600;
}

.review-date {
    font-size: 0.9rem;
    color: #737373;
}

.review-rating {
    margin-bottom: 10px;
}

.review-rating.low .stars {
    color: #ff4545;
}

.review-rating.medium .stars {
    color: #ffb344;
}

.review-content {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.see-more {
    color: #3457dc;
    text-decoration: none;
    font-weight: 500;
}

.see-all {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.see-all-btn {
    background-color: #e9effc;
    color: #3457dc;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        margin-bottom: 15px;
        width: 80px;
        height: 80px;
    }

    .actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .info-banners {
        flex-direction: column;
    }

    .reviews {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-columns {
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }

    .app-download {
        flex-direction: column;
        align-items: flex-start;
    }
}