:root {
    --cbr-main: #0f6cbf;
    --cbr-star: #f4b400;
    --cbr-card: #ffffff;
    --cbr-button-text: #ffffff;
}

.cbr-reviews-wrap,
.cbr-form-wrap,
.cbr-button-shortcode {
    max-width: 100%;
}

.cbr-form {
    background: var(--cbr-card);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.cbr-form h3 {
    margin: 0 0 8px;
}

.cbr-form p {
    margin: 0 0 14px;
}

.cbr-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.cbr-field input[type="text"],
.cbr-field input[type="email"],
.cbr-field input[type="number"],
.cbr-field input[type="file"],
.cbr-field select,
.cbr-field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #fff;
}

.cbr-field textarea {
    min-height: 120px;
    resize: vertical;
}

.cbr-submit button,
.cbr-toggle-form,
.cbr-carousel-control,
.cbr-carousel-dot {
    cursor: pointer;
}

.cbr-submit button,
.cbr-toggle-form {
    background: var(--cbr-main);
    color: var(--cbr-button-text);
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
}

.cbr-toggle-form {
    margin-bottom: 16px;
}

.cbr-toggle-panel {
    margin-bottom: 20px;
}

.cbr-notice {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.cbr-notice-success {
    background: #e8f7ee;
    color: #166534;
}

.cbr-notice-error {
    background: #fef2f2;
    color: #b91c1c;
}

.cbr-honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.cbr-summary {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 0 0 20px;
    background: var(--cbr-card);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.cbr-summary-score {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.cbr-stars {
    color: var(--cbr-star);
    letter-spacing: 2px;
}

.cbr-stars-large {
    font-size: 1.2rem;
}

.cbr-filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.cbr-filter-form label {
    font-weight: 600;
}

.cbr-filter-form select {
    min-width: 200px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
}

.cbr-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.cbr-review-card,
.cbr-carousel-slide {
    background: var(--cbr-card);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.cbr-review-image {
    margin-bottom: 12px;
}

.cbr-review-image img {
    max-width: 80px;
    height: auto;
    border-radius: 12px;
    display: block;
}

.cbr-review-title {
    margin: 10px 0 8px;
    font-size: 1.05rem;
}

.cbr-service-tag {
    display: inline-block;
    background: rgba(15, 108, 191, 0.08);
    color: var(--cbr-main);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cbr-review-content p {
    margin: 0 0 10px;
}

.cbr-admin-reply {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
    color: #334155;
}

.cbr-review-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 16px;
    color: #475569;
    font-size: 0.92rem;
}

.cbr-verified {
    background: #dcfce7;
    color: #166534;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.cbr-empty {
    background: var(--cbr-card);
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 18px;
}

.cbr-pagination {
    margin-top: 18px;
}

.cbr-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin-right: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    text-decoration: none;
}

.cbr-pagination .current {
    background: var(--cbr-main);
    color: var(--cbr-button-text);
    border-color: var(--cbr-main);
}

.cbr-carousel {
    position: relative;
    background: transparent;
}

.cbr-carousel-track {
    position: relative;
    overflow: hidden;
}

.cbr-carousel-slide {
    display: none;
}

.cbr-carousel-slide.is-active {
    display: block;
}

.cbr-carousel-control {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbr-carousel-prev {
    left: -10px;
}

.cbr-carousel-next {
    right: -10px;
}

.cbr-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.cbr-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #cbd5e1;
    padding: 0;
}

.cbr-carousel-dot.is-active {
    background: var(--cbr-main);
}

@media (max-width: 640px) {
    .cbr-carousel-control {
        position: static;
        transform: none;
        margin: 0 6px 12px 0;
    }

    .cbr-carousel {
        padding-top: 0;
    }
}
