/* assets/css/request-drawer.css - копия без комментариев, править исходник */
.request-drawer-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;  z-index: 10000; } .request-drawer-overlay.is-active { opacity: 1; visibility: visible; } .request-drawer { position: fixed; top: 0; right: 0; width: 580px; max-width: 100%; height: 100%; background: #FFFFFF; box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1); transform: translateX(100%); visibility: hidden; transition: transform 0.3s ease, visibility 0.3s ease; z-index: 10001; display: flex; flex-direction: column; } .request-drawer.is-open { transform: translateX(0); visibility: visible; } .request-drawer__form, .request-drawer__success { display: flex; flex-direction: column; min-height: 0; flex: 1; } .request-drawer.is-sent .request-drawer__form { display: none; }  .request-drawer__close { position: absolute; top: 24px; right: 40px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; padding: 0; border: none; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 -0.94px 0.94px rgba(150, 161, 172, 0.12); color: #555B5C; cursor: pointer; z-index: 2; } .request-drawer__close-cross { width: 32px; height: 32px; } .request-drawer__close-back { display: none; }  .request-drawer__head { margin: 0 40px; padding: 40px 0 29px; border-bottom: 1px solid #F5F5F5; } .request-drawer__title { margin: 0; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 22px; line-height: 28px; color: #242627; } .request-drawer__subtitle { margin: 14px 0 0; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 14px; line-height: 20px; color: #555B5C; } .request-drawer__body { flex: 1; min-height: 0; overflow-y: auto; padding: 30px 40px 40px; } .request-drawer__section + .request-drawer__section { margin-top: 36px; } .request-drawer__label { margin: 0 0 16px; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 12px; line-height: 16px; color: #979E9F; } .request-drawer__label label { cursor: pointer; } .request-drawer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .request-drawer__field { position: relative; height: 40px; } .request-drawer__field-icon { position: absolute; top: 12px; left: 10px; width: 16px; height: 16px; color: #979E9F; pointer-events: none; } .request-drawer__field input { width: 100%; height: 100%;  padding: 0 12px 0 34px; border: 1px solid #F0F0F0; border-radius: 4px; background: #F9F9F9; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 12px; line-height: 16px; color: #252B2B; } .request-drawer__field input::placeholder { color: #979E9F; } .request-drawer__field input:focus { outline: none; border-color: #006C66; }  .request-drawer__section--message .request-drawer__label { margin-bottom: 14px; } .request-drawer__textarea { display: block; width: 100%; height: 186px; padding: 20px; border: 1px solid #F0F0F0; border-radius: 4px; background: #F9F9F9; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 14px; line-height: 20px; color: #252B2B; } .request-drawer__textarea::placeholder { color: #979E9F; } .request-drawer__textarea:focus { outline: none; border-color: #006C66; } .request-drawer__check { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; } .request-drawer__check + .request-drawer__check { margin-top: 12px; }  .request-drawer__check input { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; } .request-drawer__check-box { flex: none; width: 16px; height: 16px; border: 1px solid #E0E2E7; border-radius: 2px; background: #FFFFFF; position: relative; } .request-drawer__check input:checked + .request-drawer__check-box { background: #006C66; border-color: #006C66; } .request-drawer__check input:checked + .request-drawer__check-box::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #FFFFFF; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); } .request-drawer__check input:focus-visible + .request-drawer__check-box { outline: 2px solid #006C66; outline-offset: 2px; } .request-drawer__check-text { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px; line-height: 20px; color: #364153; } .request-drawer__check:first-child .request-drawer__check-text { color: #252B2B; } .request-drawer__section--consents .request-drawer__check-text, .request-drawer__section--consents .request-drawer__check:first-child .request-drawer__check-text { font-weight: 400; color: #555B5C; } .request-drawer__section--consents a { color: #555B5C; text-decoration: underline; } .request-drawer__check.has-error .request-drawer__check-box { border-color: #C60100; } .request-drawer__field.has-error input, .request-drawer__textarea.has-error { border-color: #C60100; background: #FFF5F5; } .request-drawer__panel { margin: 0 40px; padding: 29px 0 40px; border-top: 1px solid #F5F5F5; background: #FFFFFF; } .request-drawer__status { margin: 0 0 16px; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 20px; color: #C60100; }  .request-drawer__status:empty { display: none; } .request-drawer__submit, .request-drawer__cancel { display: flex; align-items: center; justify-content: center; width: 100%; height: 40px; border: none; border-radius: 4px; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 14px; line-height: 20px; cursor: pointer; transition: background 0.2s ease; } .request-drawer__submit { background: #006C66; color: #FFFFFF; } .request-drawer__submit:hover { background: #005A55; } .request-drawer__submit:disabled { cursor: not-allowed; opacity: 0.6; } .request-drawer__cancel { margin-top: 12px; background: #F5F5F5; color: #252B2B; } .request-drawer__cancel:hover { background: #ECECEC; }  .request-drawer__success { display: none; padding: 160px 40px 0; text-align: center; } .request-drawer.is-sent .request-drawer__success { display: flex; } .request-drawer__success-icon { width: 80px; height: 80px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0, 108, 102, 0.08); color: #006C66; } .request-drawer__success-icon svg { width: 40px; height: 40px; } .request-drawer__success-title { margin: 30px 0 0; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 22px; line-height: 28px; color: #242627; } .request-drawer__success-text { margin: 14px auto 0; max-width: 368px; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 14px; line-height: 20px; color: #555B5C; } .request-drawer__card { margin-top: 46px;  padding: 19px; border: 1px solid rgba(0, 0, 0, 0.05); border-radius: 8px; background: #FFFFFF; text-align: left; } .request-drawer__card-row { display: flex; align-items: flex-start; gap: 12px; }  .request-drawer__card-row:not(:last-child) { padding-bottom: 13px; margin-bottom: 14px; border-bottom: 1px solid #F9FAFB; } .request-drawer__card-icon { flex: none; width: 36px; height: 36px; margin-top: 2px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #F9F9F9; color: #555B5C; } .request-drawer__card-text { display: block; min-width: 0; } .request-drawer__card-text small { display: block; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 12px; line-height: 16px; color: #979E9F; } .request-drawer__card-text strong { display: block; margin-top: 4px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; line-height: 20px; color: #252B2B; overflow-wrap: anywhere; }  .request-drawer__panel--success { margin: 46px 0 0; padding: 0 0 40px; border-top: none; } body.request-drawer-locked { overflow: hidden; }  @media (max-width: 768px) { .request-drawer { width: 100%; box-shadow: none; }  .request-drawer__close { top: 13px; right: auto; left: 16px; width: 24px; height: 24px; box-shadow: none; } .request-drawer__close-cross { display: none; } .request-drawer__close-back { display: block; } .request-drawer__head { margin: 0 16px; padding: 70px 0 0; border-bottom: none; } .request-drawer__title {  font-size: 18px; line-height: 26px; color: #252B2B; } .request-drawer__subtitle { margin-top: 16px; } .request-drawer__body { padding: 32px 16px 24px; } .request-drawer__section + .request-drawer__section { margin-top: 32px; } .request-drawer__grid { grid-template-columns: minmax(0, 1fr); } .request-drawer__textarea { height: 166px; padding: 14px; } .request-drawer__check + .request-drawer__check { margin-top: 14px; } .request-drawer__check { align-items: flex-start; } .request-drawer__check-box { margin-top: 2px; } .request-drawer__panel { margin: 0; padding: 16px; border-top: none; } .request-drawer__submit, .request-drawer__cancel { font-size: 13px; line-height: 16px; } .request-drawer__cancel { margin-top: 8px; } .request-drawer__success { padding: 30px 16px 0; } .request-drawer__success-icon { width: 64px; height: 64px; } .request-drawer__success-icon svg { width: 28px; height: 28px; } .request-drawer__success-title { margin-top: 20px; font-size: 18px; line-height: 26px; color: #252B2B; } .request-drawer__success-text { margin-top: 16px; max-width: none; } .request-drawer__card { margin-top: 30px; }  .request-drawer__panel--success { margin: auto -16px 0; padding: 16px; } }  .request-drawer--lot .request-drawer__section + .request-drawer__section { margin-top: 30px; } .request-drawer__lot { position: relative; margin-top: 30px; padding: 20px; border-radius: 4px; background: #E8FAF0; } .request-drawer__lot + .request-drawer__section { margin-top: 30px; } .request-drawer__lot .request-drawer__label { margin-bottom: 8px; } .request-drawer__lot-badge { position: absolute; top: 20px; right: 20px; display: inline-block; padding: 3px 10px; border-radius: 18px; background: #FFFFFF; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; line-height: 14px; color: #1A7A30; } .request-drawer__lot-title { margin: 0 0 16px; padding-right: 96px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; line-height: 20px; color: #252B2B; } .request-drawer__lot-rows { margin: 0; padding-top: 15px; border-top: 1px solid #CCE6D8; } .request-drawer__lot-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; } .request-drawer__lot-row + .request-drawer__lot-row { margin-top: 8px; } .request-drawer__lot-row dt, .request-drawer__lot-row dd { margin: 0; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 20px; } .request-drawer__lot-row dt { color: #555B5C; } .request-drawer__lot-row dd { font-weight: 600; color: #252B2B; white-space: nowrap; } .request-drawer__lot-save { font-weight: 700 !important; color: #39D353 !important; }  .request-drawer__lot-row + .request-drawer__lot-row--total { margin-top: 16px; padding-top: 15px; border-top: 1px solid #CCE6D8; } .request-drawer__lot-row--total dd { font-weight: 700; } @media (max-width: 768px) { .request-drawer--lot .request-drawer__section + .request-drawer__section, .request-drawer__lot, .request-drawer__lot + .request-drawer__section { margin-top: 24px; } .request-drawer__lot { padding: 18px 14px 14px; } .request-drawer__lot-badge { top: 14px; right: 14px; padding: 3px 8px; font-size: 10px; line-height: 12px; } .request-drawer__lot-title { margin-bottom: 14px; padding-right: 80px; font-size: 12px; line-height: 16px; } .request-drawer__lot-rows { padding-top: 13px; } .request-drawer__lot-row dt, .request-drawer__lot-row dd { font-size: 12px; line-height: 14px; } .request-drawer__lot-row + .request-drawer__lot-row--total { margin-top: 14px; } .request-drawer__lot-row--total { padding-top: 13px; } }  .request-drawer--invoice .request-drawer__body { display: flex; flex-direction: column; padding-bottom: 30px; } .invoice-sources { min-width: 0; margin: 0; padding: 0; border: 0; } .invoice-sources__title { float: left; width: 100%; margin: 0 0 18px; padding: 0; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 18px; line-height: 26px; color: #252B2B; } .invoice-sources__title + * { clear: both; }  .invoice-source { position: relative; display: flex; align-items: center; gap: 20px; padding: 23px; border: 1px solid #F5F5F5; border-radius: 4px; cursor: pointer; } .invoice-source + .invoice-source { margin-top: 12px; } .invoice-source input { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; } .invoice-source:has(input:checked) { border-color: #006C66; } .invoice-source:has(input:focus-visible) { outline: 2px solid #006C66; outline-offset: 2px; } .invoice-source.is-disabled { cursor: not-allowed; }  .invoice-source__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #F5F5F5; color: #979E9F; } .invoice-source:has(input:checked) .invoice-source__icon { background: rgba(0, 108, 102, 0.08); color: #006C66; } .invoice-source__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding-right: 36px; } .invoice-source__label { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; line-height: 20px; color: #242627; } .invoice-source__summary { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 20px; color: #555B5C; }  .invoice-source__mark { position: absolute; top: 13px; right: 13px; width: 24px; height: 24px; color: #006C66; } .invoice-source__mark::before { content: ''; position: absolute; inset: 2px; border: 1px solid #E0E2E7; border-radius: 50%; background: #FFFFFF; box-sizing: border-box; } .invoice-source__mark svg { display: none; width: 100%; height: 100%; } .invoice-source:has(input:checked) .invoice-source__mark::before { display: none; } .invoice-source:has(input:checked) .invoice-source__mark svg { display: block; }  .invoice-steps { margin-top: 30px; padding: 24px; border-radius: 4px; background: rgba(0, 108, 102, 0.05); } .invoice-steps__title { margin: 0; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 18px; line-height: 26px; color: #252B2B; } .invoice-steps__list { margin: 20px 0 0; padding: 0; list-style: none; } .invoice-steps__list li { position: relative; display: flex; align-items: flex-start; gap: 12px; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 20px; color: #252B2B; } .invoice-steps__list li + li { margin-top: 30px; } .invoice-steps__list li > span:last-child { padding-top: 2px; } .invoice-steps__list li:not(:last-child)::after { content: ''; position: absolute; top: 30px; left: 11.5px; width: 1px; height: 18px; background: repeating-linear-gradient(to bottom, #BDBDBD 0 2px, transparent 2px 4px); } .invoice-steps__num { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1px solid #BDBDBD; border-radius: 999px; box-sizing: border-box; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 10px; line-height: 14px; color: #252B2B; }  .invoice-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: auto 0 0; padding-top: 30px; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 20px; color: #979E9F; } .invoice-note svg { flex: none; }  .request-drawer--invoice .request-drawer__success-text { max-width: 425px; } @media (max-width: 768px) { .invoice-sources__title { margin-bottom: 14px; font-size: 14px; line-height: 20px; }  .invoice-source { align-items: flex-start; gap: 10px; padding: 19px 13px 23px; } .invoice-source + .invoice-source { margin-top: 8px; } .invoice-source__icon { width: 36px; height: 36px; } .invoice-source__icon svg { width: 18.62px; height: 18.62px; } .invoice-source__text { gap: 8px; padding-right: 24px; } .invoice-source__label { font-size: 14px; line-height: 20px; } .invoice-source__summary { font-size: 12px; line-height: 16px; } .invoice-source__mark { top: 11px; right: 11px; width: 18px; height: 18px; } .invoice-source__mark::before { inset: 1.5px; }  .invoice-steps { margin-top: 16px; padding: 20px 14px; } .invoice-steps__title { font-size: 14px; line-height: 20px; } .invoice-steps__list { margin-top: 14px; } .invoice-steps__list li { font-size: 12px; line-height: 20px; } .invoice-steps__list li + li { margin-top: 16px; } .invoice-steps__list li:not(:last-child)::after { top: 33px; }  .invoice-note { align-items: flex-start; justify-content: flex-start; margin-top: 0; padding-top: 20px; font-size: 12px; line-height: 16px; } }
