/* Customer reviews page — scoped under .ui-page-comments */

.ui-page-comments .testimonial-section {
    background-color: #f8f9fa;
    padding-top: 40px;
    padding-bottom: 60px;
}

.ui-page-comments aside {
    position: sticky;
    top: 30px;
}

/* Page header */
.ui-page-comments .comments-page-header {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 36px;
}

.ui-page-comments .comments-page-header__text {
    flex: 1 1 280px;
    max-width: 640px;
}

.ui-page-comments .comments-page-header__label {
    color: #1196dd;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ui-page-comments .comments-page-header__title {
    color: #111;
    font-family: var(--heading-font, Arial, Helvetica, sans-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
}

.ui-page-comments .comments-page-header__subtitle {
    color: #6b7280;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
}

.ui-page-comments .comments-google-card {
    align-items: center;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(25, 35, 126, 0.06);
    color: inherit;
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
    min-width: 240px;
    padding: 20px 22px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ui-page-comments a.comments-external-review-card:hover {
    border-color: #c5d4e8;
    box-shadow: 0 8px 24px rgba(25, 35, 126, 0.1);
    transform: translateY(-1px);
}

.ui-page-comments .comments-google-card__logo {
    flex-shrink: 0;
    height: 40px;
    width: 40px;
}

.ui-page-comments .comments-google-card__brand {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.ui-page-comments .comments-google-card__score {
    align-items: baseline;
    color: #111;
    display: flex;
    font-size: 1.35rem;
    font-weight: 800;
    gap: 4px;
    line-height: 1;
    margin-bottom: 6px;
}

.ui-page-comments .comments-google-card__score span {
    color: #9ca3af;
    font-size: 0.95rem;
    font-weight: 600;
}

.ui-page-comments .comments-google-card__stars {
    color: #f5b301;
    display: flex;
    font-size: 0.9rem;
    gap: 2px;
    margin-bottom: 4px;
}

.ui-page-comments .comments-google-card__count {
    color: #6b7280;
    font-size: 0.82rem;
}

/* Review form */
.ui-page-comments .yorum-formu {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(25, 35, 126, 0.06);
    padding: 24px 22px;
}

.ui-page-comments .yorum-formu__head {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.ui-page-comments .yorum-formu__icon {
    align-items: center;
    background: var(--heading-color, #19237e);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.2rem;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.ui-page-comments .yorum-formu__title {
    color: #111;
    font-family: var(--heading-font, Arial, Helvetica, sans-serif);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 4px;
}

.ui-page-comments .yorum-formu__subtitle {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.ui-page-comments .comments-field-label {
    color: var(--heading-color, #19237e);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ui-page-comments .comments-field-label .required {
    color: #dc3545;
}

.ui-page-comments .comments-input-wrap {
    position: relative;
}

.ui-page-comments .comments-input-wrap__icon {
    color: #9ca3af;
    font-size: 1rem;
    left: 14px;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.ui-page-comments .comments-input-wrap--textarea .comments-input-wrap__icon {
    top: 16px;
    transform: none;
}

.ui-page-comments .comments-input-wrap--select .comments-input-wrap__icon {
    right: 14px;
    left: auto;
}

.ui-page-comments .comments-input-wrap .form-control,
.ui-page-comments .comments-input-wrap .form-select {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    color: #333;
    font-size: 0.92rem;
    min-height: 48px;
    padding: 12px 14px 12px 42px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ui-page-comments .comments-input-wrap--select .form-select {
    padding-right: 40px;
}

.ui-page-comments .comments-input-wrap .form-control:focus,
.ui-page-comments .comments-input-wrap .form-select:focus {
    border-color: #1196dd;
    box-shadow: 0 0 0 3px rgba(17, 150, 221, 0.12);
    outline: 0;
}

.ui-page-comments .comments-input-wrap--textarea .form-control {
    min-height: 130px;
    padding-bottom: 32px;
    resize: vertical;
}

.ui-page-comments .comments-message-counter {
    bottom: 10px;
    color: #9ca3af;
    font-size: 0.75rem;
    pointer-events: none;
    position: absolute;
    right: 12px;
}

.ui-page-comments .yorum-formu .puan-yildiz {
    display: flex;
    font-size: 22px;
    gap: 6px;
}

.ui-page-comments .yorum-formu .puan-yildiz .icon {
    color: #f5b301;
    cursor: pointer;
}

.ui-page-comments .comments-file-drop {
    align-items: center;
    background: #fafbfc;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-height: 110px;
    padding: 18px 16px;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.ui-page-comments .comments-file-drop:hover,
.ui-page-comments .comments-file-drop.is-dragover {
    background: #f0f7ff;
    border-color: #1196dd;
}

.ui-page-comments .comments-file-drop__icon {
    color: #9ca3af;
    font-size: 1.6rem;
}

.ui-page-comments .comments-file-drop__text {
    color: #374151;
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0;
}

.ui-page-comments .comments-file-drop__hint {
    color: #9ca3af;
    font-size: 0.75rem;
    margin: 0;
}

.ui-page-comments .comments-file-drop__name {
    color: var(--heading-color, #19237e);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    word-break: break-all;
}

.ui-page-comments .comments-file-drop input[type="file"] {
    display: none;
}

.ui-page-comments .comments-submit-btn {
    align-items: center;
    background: var(--heading-color, #19237e);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 0.85rem;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    letter-spacing: 0.5px;
    min-height: 52px;
    padding: 14px 24px;
    transition: opacity 0.15s ease, transform 0.1s ease;
    width: 100%;
}

.ui-page-comments .comments-submit-btn:hover {
    opacity: 0.92;
}

.ui-page-comments .comments-submit-btn:active {
    transform: scale(0.99);
}

.ui-page-comments .comments-submit-btn i {
    font-size: 1.1rem;
}

/* Trust badges */
.ui-page-comments .comments-trust-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    margin-top: 36px;
}

@media (min-width: 576px) {
    .ui-page-comments .comments-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .ui-page-comments .comments-trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ui-page-comments .comments-trust-item {
    align-items: flex-start;
    display: flex;
    gap: 14px;
}

.ui-page-comments .comments-trust-item__icon {
    align-items: center;
    background: rgba(25, 35, 126, 0.08);
    border-radius: 10px;
    color: var(--heading-color, #19237e);
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.2rem;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.ui-page-comments .comments-trust-item__title {
    color: #111;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 4px;
}

.ui-page-comments .comments-trust-item__text {
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0;
}

/* Promo banner */
.ui-page-comments .comments-promo-banner {
    align-items: center;
    background: var(--heading-color, #19237e);
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 28px;
    padding: 24px 28px;
}

.ui-page-comments .comments-promo-banner__left {
    align-items: center;
    display: flex;
    flex: 1 1 280px;
    gap: 18px;
}

.ui-page-comments .comments-promo-banner__gift {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.5rem;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.ui-page-comments .comments-promo-banner__title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 6px;
}

.ui-page-comments .comments-promo-banner__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.ui-page-comments .comments-promo-banner__cta {
    align-items: center;
    border: 2px solid #fff;
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 8px;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.ui-page-comments .comments-promo-banner__cta:hover {
    background: #fff;
    color: var(--heading-color, #19237e);
}

@media (max-width: 991px) {
    .ui-page-comments .yorum-formu {
        margin-bottom: 8px;
    }

    .ui-page-comments .comments-google-card {
        width: 100%;
    }

    .ui-page-comments .comments-promo-banner {
        padding: 20px;
    }
}
