.Mida-Survey--root {
    font-family: sans-serif;
    display: none;
}

.Mida-Survey--root.active {
    width: 400px;
    display: block;
    position: fixed;
    bottom: 20px;
    z-index: 99999999;
    animation: slideUp ease-in-out 400ms;
    border-radius: 8px;
    box-shadow:
        rgba(17, 17, 26, 0.1) 0px 4px 16px,
        rgba(17, 17, 26, 0.1) 0px 8px 24px,
        rgba(17, 17, 26, 0.1) 0px 16px 56px;
    overflow: hidden;
}

.Mida-Survey--root.close {
    animation: slideDown ease-in-out 350ms !important;
}

.Mida-Survey--root.right_bottom {
    right: 20px;
}

.Mida-Survey--root.left_bottom {
    left: 20px;
}

.Mida-Survey {
    height: 100%;
    background-color: white;
}

.Mida-Survey__Card {
    padding: 20px;
    max-height: 600px;
    overflow: auto;
}

.Mida-Survey__Question {
    display: none;
}

.Mida-Survey__Question.active {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
}

.Mida-Survey__Header {
    display: flex;
    width: 100%;
}

.Mida-Survey__Heading {
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #202223;
    flex: 1;
    width: 94%;
    overflow-wrap: break-word;
}

.Mida-Survey__Close--btn {
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    width: 6%;
    margin-right: -5px;
}

.Mida-Survey__Close--btn svg {
    width: 20px;
    height: 20px;
}

.Mida-Survey__Close--btn svg path {
    fill: rgba(135, 144, 155, 1);
}

.Mida-Survey__Close--btn:hover path {
    fill: rgba(31, 33, 36, 1);
}

.Mida-Survey__Body {
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #7d7d7d;
    margin-top: 4px;
    margin-right: 32px;
    overflow-wrap: break-word;
    width: 100%;
}

.Mida-Survey__Vote {
    display: flex;
    justify-content: center;
    width: 100%;
}

.Mida-Survey__Vote--section {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px;
    cursor: pointer;
    transition: transform 0.2s;
}

.Mida-Survey__Vote--section:hover {
    transform: scale(1.25);
}

.Mida-Survey__Vote--section span {
    line-height: 0;
}

.Mida-Survey__Vote--section svg {
    width: 35px;
    height: 50px;
}

.Mida-Survey__Vote--section.Mida-Survey__ThumbUp svg {
    fill: #56624d;
}

.Mida-Survey__Vote--section.Mida-Survey__ThumbDown svg {
    fill: #792020;
}

.Mida-Survey__Vote--section.Mida-Survey__ThumbUp {
    background-color: #c6f0d6;
}

.Mida-Survey__Vote--section.Mida-Survey__ThumbDown {
    background-color: #ffd6d6;
}

.Mida-Survey__Text {
    line-height: 1.2;
    margin-top: 8px;
}

.Mida-Survey__Input {
    padding: 8px 10px;
    width: -webkit-fill-available;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    transition: opacity 0.22s;
    box-shadow: unset;
    outline: none;
}

.Mida-Survey__Text.invalid .Mida-Survey__Input {
    border-color: red;
    transition: border 0.11s;
}

.Mida-Survey__Msg {
    font-size: 12px;
    font-weight: 600;
}

.Mida-Survey__Msg--error {
    color: red;
    opacity: 0;
    transition: opacity 0.22s;
    display: none;
}

.Mida-Survey__Text.invalid .Mida-Survey__Msg {
    display: block;
    opacity: 1;
    transition: opacity 0.11s;
}

.Mida-Survey__Choices {
    width: 100%;
    padding: 20px 0px;
    border-top: 1px solid #e1e3e5;
    border-bottom: 1px solid #e1e3e5;
    margin-top: 20px;
}

.Mida-Survey__Button--send {
    margin-top: 20px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    line-height: 20px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: var(--text-default, #202223);
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.Mida-Survey__Button--send:hover {
    background: #272a2b;
}

.Mida-Survey__Button--send:active {
    background: #44474a;
}

.Mida-Survey__Button--send.disabled {
    pointer-events: none;
    background: #babec3;
}

.Mida__Button--right {
    margin-left: auto;
}

.Mida-Choice__Item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 4px 0px;
    cursor: pointer;
}

.Mida-Choice__Control {
    --pc-choice-size: 20px;
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    width: var(--pc-choice-size);
    height: var(--pc-choice-size);
    margin-right: 8px;
}

.Mida-Choice__Control > * {
    width: 100%;
}

.Mida-Choice__Item:hover .Mida-RadioButton__Backdrop {
    cursor: pointer;
    border-color: rgba(97, 106, 117, 1);
}

.Mida-RadioButton {
    position: relative;
}

.Mida-RadioButton__Input {
    position: absolute !important;
    top: 0;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.Mida-RadioButton__Input:checked + .Mida-RadioButton__Backdrop {
    border-color: rgba(62, 125, 213, 1);
}

.Mida-RadioButton__Backdrop {
    --pc-icon-size-small: 8px;
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(171, 177, 186, 1);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 1);
}

.Mida-RadioButton__Backdrop::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.1);
    transform-origin: 50% 50%;
    height: var(--pc-icon-size-small);
    width: var(--pc-icon-size-small);
    background-color: rgba(36, 99, 188, 1);
    border-radius: 50%;
}

.Mida-RadioButton__Input:checked + .Mida-RadioButton__Backdrop::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.Mida-RadioButton__Backdrop::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    display: block;
    pointer-events: none;
    box-shadow: 0 0 0 -3px var(--p-color-border-interactive-focus);
    border-radius: 50%;
}

.Mida-Choice__Label {
    -webkit-tap-highlight-color: transparent;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #1f2124;
}

.Mida-Checkbox {
    position: relative;
    margin: 1px;
}

.Mida-Checkbox__Input {
    position: absolute !important;
    top: 0;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.Mida-Checkbox__Backdrop {
    border: 2px solid rgba(171, 177, 186, 1);
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.Mida-Checkbox__Backdrop::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    border-radius: 4px;
    background-color: rgba(36, 99, 188, 1);
    opacity: 0;
    transform: scale(0.25);
}

.Mida-Checkbox__Backdrop::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    display: block;
    pointer-events: none;
    box-shadow: 0 0 0 -3px rgba(62, 125, 213, 1);
    border-radius: 4px;
}

.Mida-Checkbox__Input:checked + .Mida-Checkbox__Backdrop {
    border-color: rgba(62, 125, 213, 1);
}

.Mida-Checkbox__Input:checked + .Mida-Checkbox__Backdrop::before {
    opacity: 1;
    transform: scale(1);
}

.Mida-Checkbox__Icon {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 50% 50%;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0) scale(0.25);
    opacity: 0;
}

.Mida-Checkbox__Icon svg {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    fill: rgba(255, 255, 255, 1);
}

.Mida-Checkbox__Input:checked ~ .Mida-Checkbox__Icon {
    transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 1;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    80% {
        opacity: 0.8;
        transform: translateY(-4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(100px);
    }
}

@media screen and (max-width: 600px) {
    .Mida-Survey--root.active.fetch {
        width: 100%;
    }

    .Mida-Survey--root.right_bottom {
        right: 0;
    }

    .Mida-Survey--root.left_bottom {
        left: 0;
    }
}
