.feedback-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(19, 22, 25, 0.7);
}

.feedback-modal__container {
    width: 450px;
    display: block;
    margin: 10% auto;
    background: #E6EBF1;
    position: relative;
    border-radius: 16px;
    padding: 32px;
}

.feedback-modal__field label, .feedback-modal__field input {
    display: block;
}
.feedback-modal__field span.error {
    color: #DD1E31;
    font-size: 12px;
}

.feedback-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    background: #E6EBF1;
    position: absolute;
    right: -32px;
    top: -32px;
    cursor: pointer;
}
.feedback-modal__close:after, .feedback-modal__close:before {
    content: "";
    width: 17px;
    height: 2px;
    border-radius: 1.5px;
    background: #000;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.feedback-modal__close:after {
    transform: rotate(-45deg);
}
.feedback-modal__close:before {
    transform: rotate(45deg);
}

.feedback-modal__caption {
    font-size: 22px;
    font-family: "Inter";
    font-weight: 700;
    line-height: 52px;
    padding: 0 0 0 26px;
    margin: 0 0 12px 0;
    position: relative;
}
.feedback-modal__caption:after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dd1e31;
    position: absolute;
    left: 6px;
    top: 6px;
}
.feedback-modal__error-server {
    color: #DD1E31;
    font-size: 12px;
}

.feedback-modal__field {
    position: relative;
    margin: 0 0 10px 0;
}
.feedback-modal__field:last-child {
    margin: 0px;
}
.feedback-modal__field label {
    font-size: 17px;
    line-height: 24px;
    color: #6C757D;
    font-family: "Inter";
    font-weight: 500;
    position: absolute;
    top: 16px;
    left: 16px;
    cursor: auto;
}
.feedback-modal__field label span {
    color: #DD1E31;
}
.feedback-modal__field textarea + label {
    top: 24px;
}
.feedback-modal__field input {
    width: 100%;
    height: 56px;
    border: 1px solid transparent;
    font-size: 17px;
    line-height: 24px;
    color: #6C757D;
    font-family: "Inter";
    font-weight: 500;
    border-radius: 16px;
    background: #fff;
    padding: 10px 15px;
}
.feedback-modal__field input:focus {
    outline-width: 2px;
    outline-style: solid;
    outline-color: #131619;
}
.feedback-modal__field .inputName {
    text-transform: capitalize;
}
.feedback-modal__field textarea {
    width: 100%;
    height: 167px;
    background: #fff;
    border-radius: 16px;
    max-width: 100%;
    resize: none;
    font-size: 17px;
    line-height: 24px;
    color: #6C757D;
    font-family: "Inter";
    font-weight: 500;
    border-radius: 16px;
    background: #fff;
    padding: 23px 15px 10px;
    cursor: auto;
}
.feedback-modal__field textarea:focus {
    outline-width: 2px;
    outline-style: solid;
    outline-color: #131619;
}
.feedback-modal__field input:focus + label,
.feedback-modal__field .textarea:focus + label {
    display: none;
}
.feedback-modal__field .fb-field.red {
    border: 2px solid #DD1E31;
    outline: none;
}
.feedback-modal__field button {
    width: 100%;
    height: 51px;
    background: #DD1E31;
    border: 1px solid #DD1E31;
    color: #fff;
    text-align: center;
    font-family: "Inter";
    font-weight: 700;
    border-radius: 50px;
    margin: 6px 0 0 0;
    cursor: pointer;
    transition: all 0.3s linear;
}
.feedback-modal__field button:hover {
    background: transparent;
    color: #DD1E31;
}
.feedback-modal__field.disabled button {
    border: 1px solid transparent;
    background: #ADB5BD;
    cursor: auto;
}
.feedback-modal__field.disabled button:hover {
    border: 1px solid transparent;
    background: #ADB5BD;
    cursor: auto;
    color: #fff;
}
.feedback-modal__field .feedback-modal__error-text {
    opacity: 0;
    transition: all 0.3s linear;
    font-size: 12px;
    color: #DD1E31;
}
.feedback-modal__field.red input, .feedback-modal__field.red textarea {
    border: 2px solid #DD1E31;
    outline-color: transparent;
}
.feedback-modal__field.red .feedback-modal__error-text {
    opacity: 1;
}

.feedback-modal__container.sent .feedback-modal__caption {
    display: none;
}

.feedback-modal__sent {
    position: relative;
    text-align: center;
}
.feedback-modal__sent .feedback-modal__sent-text:before {
    content: "";
    width: 96px;
    height: 96px;
    display: block;
    margin: 0 auto 32px;
    background-image: url(images/fb-images.svg);
}
.feedback-modal__sent .feedback-modal__sent-text p:first-child {
    font-size: 22px;
    font-weight: 700;
    color: #131619;
}
.feedback-modal__sent .feedback-modal__sent-text p:nth-child(2) {
    font-size: 16px;
    line-height: 19px;
    font-weight: 500;
    color: #131619;
    margin: 8px 0 24px 0;
}
.feedback-modal__sent .fbClose {
    position: static;
    width: 100%;
    height: 51px;
    line-height: 51px;
    background: #DD1E31;
    border: 1px solid #DD1E31;
    color: #fff;
    text-align: center;
    font-family: "Inter";
    font-weight: 700;
    border-radius: 50px;
    margin: 6px 0 0 0;
    cursor: pointer;
    transition: all 0.3s linear;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
}
.feedback-modal__sent .fbClose:hover {
    background: transparent;
    color: #DD1E31;
}
.feedback-modal__sent .fbClose:after, .feedback-modal__sent .fbClose:before {
    display: none;
}