/* Formularze CMS1 w oprawie Rzemiosła. */
.forms-module-wrapper .form-content-body { padding: clamp(20px, 3vw, 36px); border: 1px solid #e7dddd; border-radius: 16px; background: #fff; box-shadow: 0 5px 22px rgba(60,25,25,.05); }
.forms-module-wrapper .form-content-body form { margin: 0; }
.forms-module-wrapper .form-label,
.forms-module-wrapper legend { display: block; width: 100%; float: none; margin-bottom: 10px; color: #342828; font-size: 1rem !important; font-weight: 600; line-height: 1.6; }
.forms-module-wrapper fieldset { margin: 24px 0; padding: 0; min-width: 0; }
.forms-module-wrapper .form-control,
.forms-module-wrapper .form-select { min-height: 48px; height: auto; padding: 12px 14px; border: 1px solid #d8cdcd; border-radius: 9px; background-color: #fff; color: #302626; font-size: 1rem; line-height: 1.5; }
.forms-module-wrapper textarea.form-control { min-height: 140px; }
.forms-module-wrapper .form-control:focus,
.forms-module-wrapper .form-select:focus { border-color: #901010; box-shadow: 0 0 0 3px rgba(144,16,16,.12); }
.forms-module-wrapper .form-check { padding-left: 0; margin: 8px 0; }
.forms-module-wrapper .form-check-input { float: none; margin: 0 9px 0 0; width: 19px; height: 19px; vertical-align: middle; border: 1px solid #bcb0b0; cursor: pointer; accent-color: #901010; }
.forms-module-wrapper .form-check-input:checked { background-color: #901010; border-color: #901010; }
.forms-module-wrapper .form-check-input:focus-visible { outline: 3px solid #901010; outline-offset: 3px; box-shadow: none; }
.forms-module-wrapper .form-check-label { display: inline; color: #574747; font-size: .95rem; line-height: 1.7; cursor: pointer; }
.forms-module-wrapper .required-star { color: #901010; }
.forms-module-wrapper .theme-btn,
.forms-module-wrapper button[type="submit"] { padding: 13px 24px; border: 1px solid #901010; border-radius: 10px; background: #901010; color: #fff; font: inherit; font-weight: 700; line-height: 1.5; cursor: pointer; }
.forms-module-wrapper .theme-btn:hover,
.forms-module-wrapper button[type="submit"]:hover { background: #700c0c; border-color: #700c0c; }
.forms-module-wrapper .theme-btn.btn-secondary { background: #f5f0f0; color: #574747; border-color: #d8cdcd; }
.forms-module-wrapper button:disabled { opacity: .6; cursor: wait; }
.forms-module-wrapper .theme-btn:focus-visible { outline: 3px solid #901010; outline-offset: 3px; }
.forms-module-wrapper .cms-feedback { display: flex; align-items: flex-start; gap: 14px; margin: 20px 0 0; padding: 20px 24px; border: 1px solid #cbd5e1; border-radius: 12px; background: #f8fafc; color: #334155; }
.forms-module-wrapper .cms-feedback:empty { display: none; }
.forms-module-wrapper .cms-feedback--success { background: #f0fdf4; border-color: #86cda2; color: #14532d; }
.forms-module-wrapper .cms-feedback--error { background: #fef2f2; border-color: #e8aaaa; color: #7f1d1d; }
.forms-module-wrapper .cms-feedback__icon { flex-shrink: 0; font-size: 1.5rem; line-height: 1.3; }
.forms-module-wrapper .cms-feedback__body { flex: 1; min-width: 0; }
.forms-module-wrapper .cms-feedback__title { display: block; margin-bottom: 6px; font-size: 1rem; font-weight: 700; }
.forms-module-wrapper .cms-feedback__text { font-size: .96rem; line-height: 1.7; overflow-wrap: anywhere; }
.forms-module-wrapper .cms-feedback__text p:last-child { margin-bottom: 0; }
.forms-module-wrapper .alert { padding: 24px; border-radius: 12px; line-height: 1.7; }
@media(max-width:575.98px) { .forms-module-wrapper .form-steps-nav { flex-wrap: wrap; } .forms-module-wrapper .form-steps-nav .theme-btn { width: 100% !important; } .forms-module-wrapper .cms-feedback { padding: 18px; } }

/* Mniejszy tekst pytań i większe, wygodne kontrolki wyboru. */
.forms-module-wrapper fieldset > legend { font-size: .9rem !important; font-weight: 500; line-height: 1.55; }
.forms-module-wrapper .form-check { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; }
.forms-module-wrapper .form-check .form-check-input { width: 24px; min-width: 24px; height: 24px; flex: 0 0 24px; margin: 1px 0 0; }
.forms-module-wrapper .form-check .form-check-label { flex: 1; min-width: 0; font-size: .9rem; font-weight: 400; line-height: 1.65; }