/* ========== ГОСТЕВАЯ КНИГА — СТРАНИЦА ========== */
.dz-gb-page .dz-head {
margin-bottom: 40px;
}

/* ========== ГОСТЕВАЯ КНИГА — КАРТОЧКА ОТЗЫВА ========== */
.dz-gb-entry {
display: grid;
grid-template-columns: 64px 1fr;
gap: 20px;
align-items: start;
background: #ffffff;
border-radius: 18px;
padding: 28px;
border: 1px solid rgba(2, 132, 199, .14);
box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
margin-bottom: 20px;
transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease;
}
.dz-gb-entry:hover {
transform: translateY(-4px);
box-shadow: 0 16px 36px rgba(15, 23, 42, .10);
}

.dz-review-avatar-placeholder {
width: 64px;
height: 64px;
border-radius: 50%;
background: linear-gradient(135deg, #0ea5e9, #2563eb);
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: 800;
font-family: Inter, Arial, sans-serif;
flex-shrink: 0;
}

.dz-review-content {
min-width: 0;
}

.dz-review-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 14px;
flex-wrap: wrap;
}

.dz-review-author {
display: flex;
flex-direction: column;
gap: 4px;
}

.dz-review-name {
font-size: 17px;
font-weight: 800;
color: #0f172a;
line-height: 1.3;
}

.dz-review-username {
font-weight: 500;
font-size: 14px;
color: #64748b;
}

.dz-review-username a {
color: #0284c7;
text-decoration: none;
}

.dz-review-username a:hover {
text-decoration: underline;
}

.dz-review-date {
font-size: 13px;
color: #94a3b8;
font-weight: 500;
}

.dz-review-moder {
flex-shrink: 0;
}

.dz-review-message {
font-size: 15px;
line-height: 1.65;
color: #334155;
margin-bottom: 16px;
}

.dz-review-message p {
margin: 0 0 12px;
}

.dz-review-message p:last-child {
margin-bottom: 0;
}

.dz-review-rating {
display: flex;
align-items: center;
gap: 10px;
padding-top: 14px;
border-top: 1px solid rgba(15, 23, 42, .08);
}

.dz-review-rating-value {
font-size: 15px;
font-weight: 700;
color: #64748b;
min-width: 20px;
text-align: center;
}

.dz-rating-positive {
color: #16a34a;
}

.dz-rating-negative {
color: #dc2626;
}

.dz-review-rate {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 8px;
background: #f1f5f9;
color: #64748b;
text-decoration: none;
transition: all 0.2s ease;
}

.dz-review-rate:hover {
background: #e0f2fe;
color: #0284c7;
}

.dz-rate-good:hover {
background: #dcfce7;
color: #16a34a;
}

.dz-rate-bad:hover {
background: #fee2e2;
color: #dc2626;
}

.dz-review-rate .material-symbols-outlined {
font-size: 18px;
}

.dz-review-rate-disabled {
display: inline-flex;
gap: 6px;
color: #cbd5e1;
}

.dz-review-rate-disabled .material-symbols-outlined {
font-size: 18px;
}

/* ========== ГОСТЕВАЯ КНИГА — ФОРМА ========== */
.dz-gb-form {
margin-top: 48px;
padding-top: 40px;
border-top: 2px solid rgba(15, 23, 42, .08);
}

.dz-gb-form .dz-field {
position: relative;
margin-bottom: 18px;
}

.dz-gb-form .dz-field input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.dz-gb-form .dz-field textarea,
.dz-gb-form .dz-field select {
width: 100% !important;
min-height: 52px !important;
padding: 20px 16px 10px !important;
border: 1px solid rgba(15, 23, 42, .10) !important;
border-radius: 12px !important;
background: #ffffff !important;
color: #111827 !important;
font-family: Inter, Arial, sans-serif !important;
font-size: 15px !important;
box-sizing: border-box !important;
transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
outline: none !important;
}

.dz-gb-form .dz-field textarea {
min-height: 140px !important;
resize: vertical;
}

.dz-gb-form .dz-field label {
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
color: #94a3b8;
font-size: 15px;
font-weight: 500;
pointer-events: none;
transition: all 0.2s cubic-bezier(.22,1,.36,1);
background: #ffffff;
padding: 0 6px;
margin: 0;
}

.dz-gb-form .dz-field.dz-focused label,
.dz-gb-form .dz-field.dz-filled label {
top: 0;
font-size: 12px;
color: #0ea5e9;
font-weight: 600;
}

.dz-gb-form .dz-field.dz-focused input:not([type="submit"]):not([type="button"]),
.dz-gb-form .dz-field.dz-focused textarea {
border-color: #0ea5e9 !important;
box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12) !important;
}

.dz-bbcodes-wrap {
margin-bottom: 8px;
}

.dz-smiles-wrap {
margin-top: 10px;
}

.dz-form-actions {
margin-top: 24px;
}

.dz-form-actions .dz-button {
min-width: 220px;
}

/* Адаптив для карточки отзыва */
@media (max-width: 640px) {
.dz-gb-entry {
grid-template-columns: 1fr;
gap: 14px;
padding: 22px;
}
.dz-review-avatar-placeholder {
width: 52px;
height: 52px;
font-size: 20px;
}
.dz-review-header {
flex-direction: column;
gap: 6px;
}
}