.complaint-tail {
    flex: 1 0 auto;
    background-color: #ffffff;
}

@media screen and (min-width: 991px) {
    .complaint-tail {
        padding: 80px 0 24px;
        border-radius: 50px 50px 0 0;
    }
}

.complaint-page {
    max-width: 1060px;
    margin: 22px auto 60px;
    padding: 0 12px 40px;
    font-family: 'Manrope', sans-serif;
    color: #1f2937;
}

.complaint-hero {
    background: transparent;
    border-radius: 0;
    padding: 0 0 8px;
    border: 0;
    margin-bottom: 22px;
    box-shadow: none;
    text-align: left;
}

.complaint-hero h1 {
    margin: 0 0 14px;
    font-size: 54px;
    line-height: 1.04;
    font-weight: 800;
    color: #1f2937;
}

.complaint-hero p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #4b5563;
    text-align: left;
}

.complaint-hero__note {
    margin-top: 14px;
    border-radius: 14px;
    padding: 13px 16px;
    background: #f3f7fc;
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.complaint-hero__note img {
    width: 39px;
    height: 40px;
    flex: 0 0 39px;
    margin-top: 0;
}

.complaint-hero__note span {
    display: block;
    text-align: left;
}

.complaint-steps {
    margin-bottom: 22px;
}

.complaint-steps h2,
.complaint-other-ways h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    color: #1f2937;
    text-align: left;
}

.complaint-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media screen and (max-width: 990px) {
    #complaint-steps-slider.is-initialized .complaint-steps__grid {
        display: flex;
        gap: 12px;
        grid-template-columns: none;
    }
}

@media screen and (min-width: 991px) {
    #complaint-steps-slider.splide.is-initialized:not(.is-active) .complaint-steps__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

#complaint-steps-slider.splide--mobile-overflowed.is-initialized.is-active .splide__track {
    margin: 0 -10px;
}

@media screen and (min-width: 991px) {
    #complaint-steps-slider.splide--mobile-overflowed.is-initialized.is-active .splide__track {
        margin: 0;
    }
}

#complaint-steps-slider.splide.is-initialized.is-active .splide__track {
    padding-top: 30px;
    margin-top: -30px;
    padding-bottom: 30px;
}

#complaint-steps-slider .splide__pagination {
    position: relative;
    bottom: auto;
    left: auto;
}

#complaint-steps-slider .splide__pagination__page {
    border-radius: 8px;
    opacity: 1;
    transition: width .3s ease;
}

#complaint-steps-slider .splide__pagination__page:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    background-color: #038aee;
    border-radius: 8px;
    animation-play-state: paused;
    animation-duration: var(--duration, 5s);
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

#complaint-steps-slider .splide__pagination__page,
#complaint-steps-slider .splide__pagination__page.is-active {
    background-color: #ededed;
}

#complaint-steps-slider .splide__pagination__page.is-active {
    transform: scale(1);
    width: 30px;
}

#complaint-steps-slider .splide__pagination__page.is-active:after {
    display: block;
    animation-name: widthSlider;
    animation-play-state: running;
}

@keyframes widthSlider {
    0% {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.complaint-step-card {
    border-radius: 14px;
    background: #f3f4f6;
    padding: 14px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.complaint-step-card--accent {
    background: #e8f3ff;
}

.complaint-step-card__badge {
    display: inline-flex;
    border-radius: 20px;
    background: #0ea5e9;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.complaint-step-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2937;
}

.complaint-step-card p {
    margin: 0;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.35;
}

.complaint-step-card__icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.complaint-step-card__icon img {
    width: 64px;
    height: 64px;
    display: block;
}

#complaint {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 36px;
    margin: 0 0 24px;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    text-align: left;
}

#complaint .complaint-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#complaint .complaint-form-title {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f2937;
    text-align: left;
}

#complaint .content-complaint {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
}

#complaint .complaint-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

#complaint .input-control {
    margin-bottom: 32px;
    position: relative;
}

#complaint .complaint-content-grid .input-control {
    margin-bottom: 0;
}

#complaint .input-control label {
    display: none;
}

#complaint .input-control input,
#complaint .input-control select,
#complaint .input-control textarea {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 12px 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 1.35;
    color: #1f2937;
    background-color: #f8fafc;
    box-sizing: border-box;
}

#complaint .input-control input:focus,
#complaint .input-control select:focus,
#complaint .input-control textarea:focus {
    outline: none;
    border: 0;
    box-shadow: none;
}

#complaint #complaint_phone {
    color: #818c99;
}

#complaint #complaint_phone.has-value {
    color: #1f2937;
}

#complaint .input-control select:required:invalid {
    color: #818c99;
    font-size: 16px;
}

#complaint .input-control select option {
    color: #1f2937;
}

#complaint .input-control select option[value=""] {
    color: #818c99;
}

#complaint .input-control input,
#complaint .input-control select {
    min-height: 40px;
}

#complaint .input-control textarea {
    min-height: 198px;
    resize: none;
}

#complaint .input-control input::placeholder,
#complaint .input-control textarea::placeholder {
    color: #818c99;
    font-size: 16px;
}

#complaint .input-control input::-webkit-input-placeholder,
#complaint .input-control textarea::-webkit-input-placeholder {
    color: #818c99;
    font-size: 16px;
}

#complaint .input-control input::-moz-placeholder,
#complaint .input-control textarea::-moz-placeholder {
    color: #818c99;
    font-size: 16px;
    opacity: 1;
}

#complaint .input-control input:-ms-input-placeholder,
#complaint .input-control textarea:-ms-input-placeholder {
    color: #818c99;
    font-size: 16px;
}

#complaint .input-control input::-ms-input-placeholder,
#complaint .input-control textarea::-ms-input-placeholder {
    color: #818c99;
    font-size: 16px;
}

#complaint .input-control--birth::before {
    content: attr(data-date-placeholder);
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #818c99;
    font-size: 16px;
    line-height: 1.2;
    pointer-events: none;
    z-index: 3;
}

#complaint .input-control--birth.is-focused::before,
#complaint .input-control--birth.has-value::before {
    display: none;
}

#complaint .input-control--birth input[type="date"] {
    position: relative;
    z-index: 2;
    color: transparent;
    caret-color: transparent;
    background-color: #f8fafc;
}

#complaint .input-control--birth.has-value input[type="date"],
#complaint .input-control--birth.is-focused input[type="date"] {
    color: #1f2937;
    caret-color: #1f2937;
}

#complaint .input-control--birth input[type="date"]::-webkit-datetime-edit {
    color: transparent;
}

#complaint .input-control--birth:hover input[type="date"]::-webkit-datetime-edit {
    color: transparent;
}

#complaint .input-control--birth:hover::before {
    color: #818c99;
}

#complaint .input-control--birth.has-value input[type="date"]::-webkit-datetime-edit,
#complaint .input-control--birth.is-focused input[type="date"]::-webkit-datetime-edit {
    color: #1f2937;
}

#complaint .input-control--birth input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1;
}

#complaint #count_message {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    text-align: right;
    color: #6b7280;
}

#complaint .info-text {
    margin: 0 0 7px;
    font-size: 11px;
    line-height: 1.45;
    color: #6b7280;
    text-align: left;
}

#complaint .complaint-attach-hint {
    margin: 8px 0 10px;
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    max-width: 430px;
    text-align: left;
}

#complaint .required {
    color: #dc2626;
    margin-left: 3px;
    font-weight: 700;
}

#complaint .complaint-file-input {
    display: none;
}

#complaint #complaint_file_list {
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

#complaint #complaint_file_list li {
    display: flex;
    align-items: center;
}

#complaint .has-error * {
    color: #dc2626;
    border-color: #dc2626;
}

.complaint_file {
    width: 200px;
    height: 150px;
    background-position: 50%;
    background-size: cover;
    position: relative;
    background-color: #eee;
    border-radius: 10px;
}

.complaint_file span {
    font-size: 10px;
    color: #000;
    background-color: rgba(255, 255, 255, .5);
    padding: 6px;
    border-radius: 100px;
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: 180px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(10px);
}

.remove-complaint-file {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 100px;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #00000038;
    text-decoration: none !important;
    transition: all .4s;
}

.remove-complaint-file i {
    display: flex;
}

.remove-complaint-file:hover {
    color: #fff;
    background-color: #dc2626;
}

#smart-captcha-complaint-container {
    margin: 20px 0;
}

#complaint .form-check__label {
    color: #818c99;
    height: auto;
    margin-top: 44px;
    margin-bottom: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#complaint .complaint-upload-row {
    margin-top: 6px;
}

#complaint #agree {
    width: 12px;
    height: 12px;
    border: 1px solid #94a3b8;
    margin-top: 0;
    margin-left: 0;
    padding: 0;
    border-radius: 50%;
}

#complaint #agree.form-check-input.is-valid:checked {
    background-color: #0a91ed;
    border: none;
}

#complaint .agree-label {
    margin-top: 0;
    font-size: 11px;
    display: inline;
    color: #818c99;
    text-align: left;
}

#complaint .agree-label > a {
    color: #818c99;
    text-decoration: underline;
}

#complaint .agree-label > a:hover {
    color: #818c99;
}

#complaint .form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

#complaint .form-check-input:checked {
    background-color: #1991e6;
    border-color: #1991e6;
}

#complaint .form-check-input[type=checkbox] {
    border-radius: 50%;
}

#complaint .form-check-input {
    width: 1em;
    height: 1em;
    margin-top: .25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, .25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}

#complaint .complaint-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 6px;
}

#complaint .complaint-form-actions .btn-send {
    background: #0a91ed;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    width: min(100%, 494px);
    min-height: 64px;
    justify-content: center;
    transition: background-color .3s ease, transform .3s ease;
}

#complaint .complaint-form-actions .btn-send:not(:disabled):hover {
    background-color: #0278d3;
    transform: translateY(-2px);
    color: #fff;
}

#complaint .complaint-form-actions .btn-send:disabled {
    background-color: #8ad0f3;
    cursor: not-allowed;
    transform: none;
}

#complaint #add_complaint_file {
    border: 2px solid #1991e6;
    border-radius: 999px;
    width: 228px;
    min-height: 48px;
    padding: 0 16px;
    background-color: #fff;
    color: #1991e6;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}

#complaint #add_complaint_file .bi-cloud-arrow-up {
    width: 22px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

#complaint #add_complaint_file .bi-cloud-arrow-up::before {
    color: #1991e6;
}

#complaint #add_complaint_file:hover,
#complaint #add_complaint_file:focus-visible {
    background-color: #1991e6;
    color: #fff;
    border-color: #1991e6;
    transform: translateY(-2px);
}

#complaint #add_complaint_file:hover .bi-cloud-arrow-up::before,
#complaint #add_complaint_file:focus-visible .bi-cloud-arrow-up::before {
    color: #fff;
}

#complaint #add_complaint_file:active {
    transform: translateY(0);
}

#modal_complaint_sended {
    width: 560px;
    min-height: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.complaint_loader {
    position: absolute;
    background-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(7px);
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border-radius: 24px;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.complaint_loader:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border: 4px solid transparent;
    border-top: 4px solid #000;
    border-radius: 100px;
    animation: loader 1s linear 0s infinite;
}

.complaint_loader.loading {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.complaint_loader #uploadProgressBar {
    position: absolute;
    bottom: 50px;
    left: 30px;
    right: 30px;
    height: 20px;
    width: auto;
    -webkit-appearance: none;
}

.complaint_loader #uploadProgressBar:before {
    content: attr(data-label);
    font-size: 0.8em;
    line-height: 20px;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
}

.complaint-other-ways {
    margin-top: 10px;
    text-align: left;
}

.complaint-other-ways__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.complaint-other-ways__grid article {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    text-align: left;
}

.complaint-other-ways__grid h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
}

.complaint-other-ways__grid p,
.complaint-other-ways__grid a {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #4b5563;
    text-align: left;
}

.complaint-other-ways__grid a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 400;
}

.complaint-other-ways__grid .complaint-link-chat {
    color: #038AEE;
    text-decoration: underline;
    font-weight: 600;
}

.complaint-other-ways__grid .complaint-link-phone {
    color: #1f2937;
    text-decoration: none;
    font-weight: 700;
}

.complaint-other-ways__grid .complaint-link-email {
    color: #6b7280;
    text-decoration: none;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .complaint-page {
        max-width: 760px;
    }

    .complaint-hero h1 {
        font-size: 42px;
    }

    .complaint-steps h2,
    .complaint-other-ways h2 {
        font-size: 38px;
    }

    .complaint-step-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .complaint-page {
        margin: 18px auto 40px;
        padding: 12px 10px 24px;
    }

    .complaint-hero,
    #complaint {
        padding: 18px;
        border-radius: 18px;
    }

    .complaint-hero h1 {
        font-size: 27px;
    }

    .complaint-steps h2,
    .complaint-other-ways h2 {
        font-size: 26px;
    }

    #complaint .input-control input::placeholder,
    #complaint .input-control textarea::placeholder,
    #complaint .input-control input::-webkit-input-placeholder,
    #complaint .input-control textarea::-webkit-input-placeholder,
    #complaint .input-control input::-moz-placeholder,
    #complaint .input-control textarea::-moz-placeholder,
    #complaint .input-control input:-ms-input-placeholder,
    #complaint .input-control textarea:-ms-input-placeholder,
    #complaint .input-control input::-ms-input-placeholder,
    #complaint .input-control textarea::-ms-input-placeholder,
    #complaint .input-control--birth::before {
        font-size: 15px;
    }

    #complaint .complaint-content-grid,
    .complaint-other-ways__grid {
        grid-template-columns: 1fr;
    }

    #complaint .complaint-form-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    #complaint .complaint-form-actions .btn-send,
    #complaint #add_complaint_file {
        width: 100%;
        min-height: 56px;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .complaint-hero h1 {
        font-size: 24px;
    }

    .complaint-steps h2,
    .complaint-other-ways h2 {
        font-size: 22px;
    }
}
