.full-request-modal__dialog {
    max-width: 640px;
    margin: 0 auto;
}

.full-request-modal__content {
    border: none;
    border-radius: 60px;
    background: #ffffff;
    padding: 32px 80px;
    color: var(--color-text-black);
}

.full-request-modal__header {
    border: none;
    padding: 0 0 32px;
    justify-content: center;
    position: relative;
}

.full-request-modal__title {
    margin: 0;
    width: 100%;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 32px;
    line-height: 130%;
    text-align: center;
    color: var(--color-text-black);
}

.full-request-modal__close {
    position: absolute;
    top: 0;
    right: -15px;
}

.full-request-modal__body {
    padding: 0;
}

.full-request-modal__subtitle {
    margin: 0;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: var(--color-text-black);
    text-align: center;
}

.full-request-modal__subtitle--section {
    margin: 0 0 8px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-text-black);
    text-align: start;
}

.full-request-modal__field {
    position: relative;
    margin-bottom: 16px;
}

.two-column {
    display: inline-flex;
    gap: 8px;
}

.full-request-autocomplete {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: 4px;
	max-height: 220px;
	overflow-y: auto;
	border-radius: 15px;
	border: 1px solid #D7DBEC;
	background: #FFFFFF;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	z-index: 1050;
	display: none;
}

.full-request-autocomplete__item {
	padding: 8px 16px;
	font-family: var(--font-main);
	font-size: 14px;
	line-height: 140%;
	color: var(--color-text-black);
	cursor: pointer;
}

.full-request-autocomplete__item:hover {
	background: #DDEBF3;
}

.full-request-modal__label {
    position: absolute;
    left: 20px;
    top: 18px;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 12px;
    line-height: 160%;
    color: #8F8F8F;
    pointer-events: none;
    transition: all 0.15s ease;
    opacity: 0;
    visibility: hidden;
}

.full-request-modal__input {
    width: 100%;
    border-radius: 15px;
    border: 1px solid var(--color-dark-blue);
    padding: 12px 20px;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 160%;
    color: var(--color-text-black);
    background: #FFFFFF;
}

textarea.full-request-modal__input {
    resize: none;
    overflow: hidden;
    white-space: pre-wrap;
    word-break: break-word;
    height: auto;
    box-sizing: border-box;
    min-height: calc(2 * 1.6em + 24px);
}

select.full-request-modal__input {
    color: var(--color-text-black);
}

select.full-request-modal__input:invalid {
    color: #8F8F8F;
}

.full-request-modal__input::placeholder {
    color: #8F8F8F;
    text-wrap: wrap;
}

.full-request-modal__input:focus {
    outline: none;
    border-color: var(--color-red);
}

.full-request-modal__input.full-request-modal__input--invalid {
	border-color: #b71c1c;
	box-shadow: 0 0 0 1px rgba(183, 28, 28, 0.25);
}

.full-request-modal__field-error {
	margin-top: 6px;
	font-family: var(--font-main);
	font-size: 12px;
	line-height: 140%;
	color: #b71c1c;
}

.full-request-modal__field--filled .full-request-modal__label {
    top: -10px;
    background-color: #ffffff;
    padding: 0 5px;
    opacity: 1;
    visibility: visible;
}

.full-request-modal__agreements {
    margin-top: 32px;
}

.full-request-modal__agreements--bottom {
    margin-top: 16px;
}

.full-request-modal__agreements--bottom + .full-request-modal__progress-label {
    margin-top: 12px;
}

.full-request-modal__agreements-title {
    margin: 0 0 12px 0;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--color-text-grey);
}

.full-request-modal__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 5px;
    cursor: pointer;
}

.full-request-modal__checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.full-request-modal__checkbox-mark {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid #D2D2D2;
    background: #fff;
}

.full-request-modal__checkbox-label {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--color-text-grey);
}

.full-request-modal__checkbox.full-request-modal__checkbox--invalid .full-request-modal__checkbox-mark {
	border-color: #b71c1c;
}

.full-request-modal__checkbox.full-request-modal__checkbox--invalid .full-request-modal__checkbox-label {
	color: #b71c1c;
}

.full-request-modal__checkbox-label a {
    text-decoration-line: underline;
    color: var(--color-text-grey);
}

.full-request-modal__checkbox-label a:hover {
    text-decoration-line: none;
}

.full-request-modal__checkbox input:checked + .full-request-modal__checkbox-mark {
    background: #ffffff;
    border-color: #ffd500;
}

.full-request-modal__checkbox input:checked + .full-request-modal__checkbox-mark::after {
    content: "";
    display: block;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--color-text-black);
    border-bottom: 2px solid var(--color-text-black);
    transform: rotate(-45deg);
    margin: 3px 0 0 4px;
}

.full-request-modal__progress {
    height: 4px;
    background: #DDEBF3;
    border-radius: 1px;
    margin-top: 4px;
    overflow: hidden;
}

.full-request-modal__progress-bar {
    height: 100%;
    background: #FFDD00;
    width: 0;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.full-request-modal__progress-bar.progress-red {
    background: #E74C3C;
}

.full-request-modal__progress-bar.progress-yellow {
    background: #FFDD00;
}

.full-request-modal__progress-bar.progress-green {
    background: #27AE60;
}

.full-request-modal__progress-label {
    margin-top: 32px;
    font-family: var(--font-main);
    font-size: 12px;
    line-height: 130%;
    text-align: end;
    color: var(--color-text-black);
}

.full-request-modal__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 0;
}

.full-request-modal__success-title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    color: var(--color-text-black);
}

.full-request-modal__success-text {
    margin: 0;
    max-width: 360px;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    text-align: center;
    color: var(--color-text-black);
}

.full-request-modal__success-ok {
    width: 100%;
    max-width: 420px;
    height: 56px;
    border: none;
    border-radius: 30px;
    background: #FFDD00;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text-black);
}

.full-request-modal__actions {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.full-request-modal__btn {
    flex: 1 1 0;
    height: 50px;
    border-radius: 30px;
    border: none;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.full-request-modal__btn--secondary {
    background: #DDEBF3;
    color: var(--color-text-black);
}

.full-request-modal__btn--primary {
    background: var(--color-red);
    color: var(--color-text-white);
}

.full-request-modal__btn[disabled] {
    opacity: 0.55;
    cursor: default;
    box-shadow: none;
    transform: none;
}

.full-request-modal__btn:not(:disabled):hover,
.full-request-modal__btn:not(:disabled):focus {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.full-request-modal__error {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #ffe6e6;
    color: #b71c1c;
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 140%;
}

.full-request-step {
    min-height: 270px;
}

.full-request-docs {
    margin-top: 8px;
}

.full-request-docs__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.full-request-docs__counter {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: var(--color-text-grey);
}

.full-request-docs__title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-text-black);
    text-align: right;
}

.full-request-docs__upload-zone {
    display: flex;
    width: 480px;
    height: 320px;
    position: relative;
    border-radius: 40px;
    border: 1px solid #D7DBEC;
    padding: 12px;
    text-align: center;
    background: #FFFFFF;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.full-request-docs__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 164px;
    height: 108px;
    border-radius: 4px;
    background: #F3F4F8;
    margin: 0 auto 40px;
}

.full-request-docs__placeholder-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.full-request-docs__preview-img {
    max-width: 100%;
    max-height: 240px;
    display: block;
    margin: 0 auto;
}

.full-request-docs__actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.full-request-docs__action-btn {
    width: 50px;
    height: 50px;
    border-radius: 30px;
    border: 1px solid #1A1A18;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.full-request-docs__action-btn--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.full-request-docs__action-btn--icon img {
    width: 18px;
    height: 18px;
}

/*.full-request-docs__action-btn--danger {*/
/*    border-color: #ffb4b4;*/
/*    color: #b71c1c;*/
/*}*/

.full-request-docs__upload-btn {
    width: 230px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 10px;
    border: 1px solid #1A1A18;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.6);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1A1A18;
    cursor: pointer;
}

.full-request-docs__upload-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
}

.full-request-docs__upload-btn-icon img {
    width: 16px;
    height: 16px;
}

.full-request-docs__upload-btn-text {
    white-space: nowrap;
}

.full-request-docs__upload-btn:hover {
    background: #cbdced;
}

.full-request-docs__file-input {
    display: none;
}

.full-request-docs__final-type {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.full-request-docs__choice {
    border-radius: 10px;
    background: #DDEBF3;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 160%;
    color: var(--color-text-grey);
}

.full-request-docs__choice input {
    display: none;
}

.full-request-docs__choice span {
    position: relative;
    width: 200px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    gap: 10px;
}


.full-request-docs__choice input:checked + span {

    background: #1A1A18;
    color: #FFFFFF;
}

.full-request-docs__final-block {
    margin-bottom: 32px;
}

@media (max-width: 576px) {
    .full-request-modal__content {
        padding: 32px;
        border-radius: 60px;
    }

    .full-request-modal__title {
        font-size: 24px;
        line-height: 140%;
    }

    .full-request-modal__close {
        top: 0;
        right: 0;
    }

    .full-request-docs__final-type {
        margin-bottom: 40px;
    }

    .full-request-docs__choice span {
        width: 152px;
    }

    .full-request-docs__upload-zone {
        margin: 0 auto 32px;
        width: 311px;
        height: 240px;
    }

    .full-request-docs__preview-img {
        max-height: 160px;
    }
}

.full-request-modal__skip-docs {
    text-align: center;
    margin-top: 15px;
    margin-bottom: -5px;
}

.full-request-modal__skip-link {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 13px;
    line-height: 140%;
    color: var(--color-text-grey);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.full-request-modal__skip-link:hover {
    color: var(--color-text-black);
    font-weight: 500;
}

/* Choice Toggle (Radio кнопки) */
.choice-toggle-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
}

.choice-toggle-field .form-label {
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 140%;
    color: var(--color-text-grey);
    margin-bottom: 8px;
}

.choice-toggle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}

.choice-toggle-group.choice-toggle-group--invalid {
	box-shadow: 0 0 0 1px rgba(183, 28, 28, 0.35);
	border-radius: 10px;
}

.choice-toggle {
    position: relative;
    flex: 1 1 0;
    min-width: 120px;
}

.choice-toggle input[type="radio"] {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.choice-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: #1f1f24;
    background-color: #DDEBF3;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-align: center;
    user-select: none;
    border-radius: 10px;
}

.choice-toggle-label:hover {
    background-color: #f3f3f7;
}

.choice-toggle input[type="radio"]:checked + .choice-toggle-label {
    background-color: #1A1A18;
    color: #fff;
    border-radius: 10px;
}

.choice-toggle input[type="radio"]:checked + .choice-toggle-label:hover {
    background-color: #1A1A18;
    opacity: 0.95;
}

@media (max-width: 576px) {
    .choice-toggle-label {
        padding: 10px 8px;
        font-size: 16px;
    }
    
    .choice-toggle {
        min-width: 100px;
    }
}

/* Date picker input */
.full-request-modal .date-picker {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat right 12px center;
    background-color: #fff;
    padding-right: 40px;
    cursor: pointer;
}

/* Datepicker dropdown z-index fix for modal */
.datepicker-picker {
    z-index: 1060 !important;
}
