/* Книга жалоб и предложений (/clients/book_of_complaints/) — стиль сайта */
body:has(.bc-page) { background: #f7f7f7; }
body:has(.bc-page) h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: #16161d; margin: 28px 0 8px; }
.bc-page { padding-bottom: 48px; }
.bc-page .bc-lead { font-size: 16px; line-height: 1.5; color: #6b7080; max-width: 640px; margin: 0 0 26px; }

.bc-grid { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.bc-card { background: #fff; border-radius: 24px; padding: 26px; }

.bc-info h3, .bc-form h3 { font-size: 18px; font-weight: 700; margin: 0 0 12px; color: #16161d; }
.bc-form h3 { font-size: 20px; margin-bottom: 4px; }
.bc-info p { font-size: 14.5px; line-height: 1.55; color: #4a4d58; margin: 0 0 12px; }
.bc-pt { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; font-size: 14.5px; line-height: 1.4; color: #16161d; }
.bc-pt i { width: 34px; height: 34px; border-radius: 11px; background: #fff2e8; color: #ff6900; display: flex; align-items: center; justify-content: center; flex: none; font-style: normal; font-weight: 800; }

.bc-fl { font-size: 13px; font-weight: 600; color: #6b7080; margin: 18px 0 8px; }
.bc-fl span { color: #ff6900; }

/* тема обращения — чипы (настоящий select скрыт, но остаётся в форме) */
.bc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-chips[hidden] { display: none; }
.bc-chip { border: 0; background: #f4f4f6; color: #44464f; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 99px; cursor: pointer; font-family: inherit; transition: background .15s, color .15s; }
.bc-chip:hover { background: #ececef; }
.bc-chip.on { background: #16161d; color: #fff; font-weight: 600; }
.bc-select { border-radius: 14px; background: #f4f4f6; border: 0; height: 46px; }

/* поля */
.bc-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.bc-fld { display: block; background: #f4f4f6; border-radius: 16px; padding: 10px 16px 8px; border: 2px solid transparent; transition: background .15s, border-color .15s; margin: 0; }
.bc-fld:focus-within { background: #fff; border-color: #ff6900; }
.bc-fld label { display: block; font-size: 11.5px; font-weight: 500; color: #8a8f9c; margin: 0 0 1px; }
.bc-fld input, .bc-fld textarea { display: block; width: 100%; border: 0 !important; background: transparent !important; padding: 2px 0 4px !important; margin: 0; font-size: 15px; color: #16161d; outline: 0; box-shadow: none !important; height: auto !important; font-family: inherit; }
.bc-fld input::placeholder, .bc-fld textarea::placeholder { color: #a2a6b2; }
.bc-ta textarea { min-height: 120px; resize: vertical; }
#otherBlock { margin-top: 12px; }

.bc-btn { display: inline-block; margin-top: 22px; background: #191919; color: #fff; border: 0; border-radius: 16px; padding: 15px 40px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s; }
.bc-btn:hover { background: #3c3c3c; }
.bc-note { font-size: 12.5px; color: #8a8f9c; margin-top: 12px; }
.bc-note span { color: #ff6900; }
.bc-form #form-messages:empty { display: none; }
.bc-form #form-messages { margin-top: 12px; }

@media (max-width: 991.98px) {
    .bc-grid { grid-template-columns: 1fr; }
    .bc-row { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    body:has(.bc-page) h1 { font-size: 26px; margin-top: 20px; }
    .bc-page .bc-lead { font-size: 14.5px; }
    .bc-card { padding: 20px 16px; border-radius: 22px; }
    .bc-btn { display: block; width: 100%; text-align: center; }
}
