/* Форма анонимного отзыва + список отзывов */

/* ---- Облегчённый шаблон страницы отзыва (header-otzyv/footer-otzyv) ---- */
.main-head--lite {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    margin-bottom: 28px;
    text-align: center;
}
.main-head--lite .mcn-lite-logo { display: inline-block; }
.main-head--lite .mcn-lite-logo img {
    height: 54px;
    width: auto;
    display: block;
    margin: 0 auto;
}
.main-foot--lite {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    margin-top: 40px;
    padding: 20px 0 28px;
    text-align: center;
    color: #7a8797;
    font-size: 13px;
    line-height: 1.6;
}
.main-foot--lite p { margin: 0 0 4px; }
.main-foot--lite a { color: #2f7bed; }
@media (max-width: 480px) {
    .main-head--lite .mcn-lite-logo img { height: 44px; }
}
/* Заголовок .h1 темы по умолчанию белый (на обычных страницах за ним цветной фон);
   на белом облегчённом фоне он не виден — задаём тёмный цвет только для этой страницы. */
.page-otzyv-lite .content-page-service .h1 { color: #22303f; }

.mcn-otzyv .mcn-field { margin-bottom: 18px; }
.mcn-otzyv label { display: block; margin-bottom: 6px; }
.mcn-otzyv .mcn-label-optional { color: #7a8797; }
.mcn-otzyv .mcn-req { color: #e04b4b; }

.mcn-otzyv textarea,
.mcn-otzyv input[type="date"],
.mcn-otzyv select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccd6e0;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
}
.mcn-otzyv textarea { resize: vertical; min-height: 120px; }

/* iOS Safari: нативный date-контрол имеет свою интринсик-ширину и игнорит width:100%
   → поле уезжает за край экрана на мобильном. Снимаем нативную отрисовку — вступают в силу
   width/box-sizing. Иконку календаря десктоп-браузеры при этом сохраняют. */
.mcn-otzyv input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
    max-width: 100%;
}

/* Звёзды-рейтинг: инпуты в разметке идут от 5 к 1, подсвечиваем выбранную и всё левее */
.mcn-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.mcn-stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.mcn-stars label {
    display: inline-block;
    margin: 0;
    padding: 0 4px;
    font-size: 30px;
    line-height: 1;
    color: #d3dae2;
    cursor: pointer;
    transition: color .15s;
}
.mcn-stars label:hover,
.mcn-stars label:hover ~ label,
.mcn-stars input:checked ~ label { color: #f5a623; }

/* Honeypot — скрыт от людей, доступен ботам */
.mcn-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mcn-otzyv.sending { opacity: .6; pointer-events: none; }

.mcn-form-msg {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 4px;
    background: #fdecec;
    color: #a12a2a;
}

.mcn-success { padding: 8px 0; }
.mcn-success-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.mcn-success-quote {
    margin: 12px 0;
    padding: 12px 16px;
    border-left: 3px solid #2f7bed;
    background: #f4f8ff;
    font-style: italic;
}
.mcn-success-targets { margin: 10px 0 0; padding-left: 18px; }
.mcn-success-targets li { margin-bottom: 6px; }

/* «Читать отзывы других пациентов» — навигация по нашим отзывам, а не площадка:
   отделяем от списка площадок разделителем, чтобы не читалось как ещё один пункт. */
.mcn-success-reviews {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    font-weight: 600;
}

/* Ссылка «Сегодня» рядом с датой приёма */
.mcn-date-today {
    margin-left: 8px;
    color: #2f7bed;
    font-size: inherit;
    font-weight: normal;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* Блок «отзыв под копирование» на success-экране */
.mcn-success-copy { margin: 12px 0; }
.mcn-copy-btn { margin-top: 8px; }

.mcn-otzyv-listlink { margin-top: 20px; }

/* Список отзывов (/otzyvy) */
.mcn-reviews { margin: 20px 0; }
.mcn-review {
    margin-bottom: 20px;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
}
.mcn-review-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}
.mcn-review-stars { color: #f5a623; font-size: 18px; letter-spacing: 2px; }
.mcn-review-meta { color: #7a8797; font-size: 13px; }
.mcn-review-text { margin: 0; line-height: 1.55; }
.mcn-reviews-summary { margin-bottom: 18px; font-size: 15px; color: #4a5568; }

/* Быстрая модерация отзывов */
.mcn-moderation {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid #ccd6e0;
    border-radius: 6px;
    background: #f7f9fb;
}
.mcn-moderation .mcn-reviews { margin-bottom: 0; }
.mcn-moderation-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mcn-moderation-actions .btn { margin: 0; }
.mcn-moderation-msg { margin: 10px 0; color: #267347; }
.mcn-moderation-msg.is-error { color: #a12a2a; }
