/* Форма запроса субъекта ПДн. Встраивается в контент страницы, поэтому
   наследует шрифт и цвета темы; управляет только раскладкой и состояниями. */

.pcs-pr {
    margin: 24px 0;
}

.pcs-pr__title {
    margin: 0 0 14px;
    font-size: 1.15em;
    line-height: 1.3;
}

.pcs-pr__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pcs-pr__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pcs-pr__label {
    font-size: .92em;
    font-weight: 600;
    line-height: 1.4;
}

.pcs-pr__field select,
.pcs-pr__field input[type="text"],
.pcs-pr__field textarea {
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    font: inherit;
}

.pcs-pr__field textarea {
    resize: vertical;
}

/* Honeypot: физически существует, но не виден и не доступен с клавиатуры. */

.pcs-pr__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pcs-pr__confirm {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .92em;
    line-height: 1.5;
    cursor: pointer;
}

.pcs-pr__confirm input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
}

.pcs-pr__note {
    margin: 0;
    font-size: .85em;
    line-height: 1.5;
    opacity: .8;
}

.pcs-pr__note a {
    text-decoration: underline;
}

.pcs-pr__error {
    margin: 0;
    font-size: .9em;
    color: #b32d2e;
}

/* Цвета, градиент и скругления — из «Cookie-баннер → Дизайн» (--pcs-*);
   без настроек остаются значения по умолчанию. */

.pcs-pr__field select,
.pcs-pr__field input[type="text"],
.pcs-pr__field textarea {
    padding: 9px 12px;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: var(--pcs-btn-radius, 8px);
}

.pcs-pr__field select:focus,
.pcs-pr__field input[type="text"]:focus,
.pcs-pr__field textarea:focus {
    outline: 2px solid var(--pcs-brand-from, #2271b1);
    outline-offset: 1px;
}

.pcs-pr__confirm input[type="checkbox"] {
    accent-color: var(--pcs-brand-from, auto);
}

.pcs-pr__note a {
    color: var(--pcs-link, inherit);
}

.pcs-pr__submit {
    align-self: flex-start;
    cursor: pointer;
    font: inherit;
    padding: 11px 24px;
    border: 0;
    border-radius: var(--pcs-btn-radius, 8px);
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, var(--pcs-brand-from, #2271b1), var(--pcs-brand-to, #7a45e0));
}

.pcs-pr__submit:hover:not(:disabled) {
    filter: brightness(1.08);
}

.pcs-pr__submit:disabled {
    opacity: .6;
    cursor: wait;
}

.pcs-pr__done {
    padding: 16px 18px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: var(--pcs-radius, 10px);
    background: rgba(0, 0, 0, .03);
}

.pcs-pr__done p {
    margin: 0 0 6px;
    line-height: 1.5;
}

.pcs-pr__done p:last-child {
    margin-bottom: 0;
}

.pcs-pr__done-title {
    font-weight: 600;
}
