/**
 * Tur sayfası — yorum listesi ve WordPress yorum formu (Seyyah renkleri).
 */

.seyyah-tour-comments-wrap {
	--seyyah-tc-ink: #231f20;
	--seyyah-tc-plum: #8b2e7d;
	--seyyah-tc-star: #fbbf24;
	--seyyah-tc-border: #e5e7eb;
	color: var(--seyyah-tc-ink);
}

.seyyah-tour-comments-wrap .seyyah-section-title {
	color: var(--seyyah-tc-ink);
}

.seyyah-tour-comments__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.seyyah-tour-comments__card {
	display: flex;
	gap: 1rem;
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--seyyah-tc-border);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.seyyah-tour-comments__avatar {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
}

.seyyah-tour-comments__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.seyyah-tour-comments__body {
	flex: 1;
	min-width: 0;
}

.seyyah-tour-comments__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.35rem;
}

.seyyah-tour-comments__name {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--seyyah-tc-ink);
	margin: 0;
}

.seyyah-tour-comments__date {
	font-size: 0.875rem;
	color: #6b7280;
	margin: 0;
}

.seyyah-tour-comments__stars {
	margin-bottom: 0.5rem;
	line-height: 1;
}

.seyyah-tour-comments__stars .bi {
	color: var(--seyyah-tc-star);
	font-size: 1.1rem;
	margin-right: 0.1rem;
}

.seyyah-tour-comments__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #374151;
}

.seyyah-tour-comments__form-title {
	font-size: clamp(1.2rem, 2.2vw, 1.5rem);
	font-weight: 700;
	color: var(--seyyah-tc-ink);
	margin: 0 0 0.5rem;
}

.seyyah-tour-comments__privacy {
	color: #6b7280;
	margin: 0 0 1.25rem;
}

.seyyah-tour-comments__form .comment-form-author,
.seyyah-tour-comments__form .comment-form-email,
.seyyah-tour-comments__form .comment-form-comment {
	margin-bottom: 1rem;
}

.seyyah-tour-comments__form label {
	display: block;
	font-weight: 600;
	font-size: 0.875rem;
	margin-bottom: 0.35rem;
	color: var(--seyyah-tc-ink);
}

.seyyah-tour-comments__input,
.seyyah-tour-comments__textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--seyyah-tc-border);
	border-radius: 9px;
	font-size: 1rem;
	color: var(--seyyah-tc-ink);
	background: #fff;
	box-sizing: border-box;
}

.seyyah-tour-comments__textarea {
	min-height: 140px;
	resize: vertical;
}

.seyyah-tour-comments__rating {
	margin: 0 0 1rem;
}

.seyyah-tour-comments__rating-label {
	display: block;
	font-weight: 600;
	font-size: 0.875rem;
	margin-bottom: 0.5rem;
	color: var(--seyyah-tc-ink);
}

.seyyah-star-rating-input {
	display: inline-flex;
	flex-direction: row;
	gap: 0.15rem;
	align-items: center;
	flex-wrap: wrap;
}

.seyyah-star-rating-input input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.seyyah-star-rating-input label {
	cursor: pointer;
	margin: 0;
	padding: 0.2rem;
	line-height: 1;
	color: #d1d5db;
	transition: color 0.15s ease;
}

.seyyah-star-rating-input label .bi {
	font-size: 1.65rem;
}

.seyyah-star-rating-input label.is-on,
.seyyah-star-rating-input label.is-hover {
	color: var(--seyyah-tc-star);
}

.seyyah-star-rating-input input:focus-visible + label {
	outline: 2px solid var(--seyyah-tc-plum);
	outline-offset: 2px;
	border-radius: 4px;
}

.seyyah-tour-comments__submit {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.75rem 1.75rem !important;
	border: none !important;
	border-radius: 10px !important;
	background: var(--seyyah-tc-plum) !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.seyyah-tour-comments__submit:hover {
	background: #6a245f !important;
	color: #fff !important;
}

.seyyah-tour-comments__closed {
	padding: 1rem;
	border-radius: 10px;
	background: #f9fafb;
	color: #6b7280;
	font-size: 0.9rem;
}

.seyyah-tour-comments__form .logged-in-as {
	font-size: 0.875rem;
	color: #6b7280;
	margin-bottom: 1rem;
}
