.sib-popup {
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: auto;
    z-index: 2147483646;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    animation: fadeIn 0.4s ease forwards;
}

.sib-form {
    background-attachment: fixed;
    font-size: 16px;
    font-family: Roboto,sans-serif;
    padding: 0 16px;
    margin: 0;
    z-index: 2147483646;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: popupIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
}

#cross-button {
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 50%;
}
#cross-button:hover {
    transform: rotate(90deg);
    background-color: #f2f2f2;
}

/* === ANIMACE === */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes popupIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sib-form *,.sib-form ::after,.sib-form ::before {
    box-sizing: border-box
}

.sib-form-container {
    position: relative;
}

#sib-container {
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    background: #fff;
    margin: 0 auto;
    padding: 0;
    display: inline-block;
    width: 100%
}

#sib-form {
    text-align: left
}

.sib-cross_button {
    height: 40px;
    width: 40px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    place-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    border-style: solid;
    border-radius: 50%;
    transition: transform .3s ease;
    cursor: pointer
}

.sib-cross_button:hover {
    transform: scale(1.05)
}

.sib-form .entry__error {
    display: none;
    color: #ff4949;
    font-size: .87055056rem;
    line-height: 1rem
}

.entry__error {
    display: none;
    margin-top: 6px;
    margin-bottom: 6px;
    background: rgba(0,0,0,0)
}

.sib-form-message-panel {
    width: 100%;
    margin: 0 0 .5rem;
    padding: 4px 8px;
    background-color: rgba(184,23,52,.7);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    border: none;
    border-radius: 8px;
    display: none
}

.sib-form .form__entry {
    border: 0;
    margin: 0;
    padding: 0;
    position: relative
}

.sib-form-block {
    word-wrap: break-word;
    outline: none
}

.form__label-row {
    display: flex;
    flex-direction: column;
    justify-content: stretch
}

.form__label-row--horizontal {
    flex-direction: row;
    align-items: flex-start;
    margin: 10px 0
}

.form__label-row--horizontal>*:first-child {
    margin-right: 20px
}

.form__label-row--horizontal>* {
    width: 50%;
    flex-grow: 1
}

.input {
    width: calc(100% - 1rem)
}

.sib-form .sib-form-pages .entry__field {
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    display: -webkit-inline-flex;
    display: inline-flex;
    margin: .25rem 0;
    max-width: 100%;
    -webkit-align-items: center;
    align-items: center;
    overflow: hidden
}

.sib-form .entry__field {
    -webkit-align-items: center;
    align-items: center;
    background: #fff;
    border: 1px solid #c0ccda;
    border-radius: 3px;
    display: -webkit-inline-flex;
    display: inline-flex;
    margin: .25rem 0;
    max-width: 100%
}

.sib-form .entry__field:focus-within {
    box-shadow: 0 0 0 2px #c9e1f4
}

.sib-form .input,.sib-form .input__affix {
    background: none;
    border: 0;
    font: inherit;
    margin: 0
}

.sib-form .input:first-child,.sib-form .input__affix:first-child {
    padding-left: .5rem;
}

.sib-form .input:last-child,.sib-form .input__affix:last-child {
    padding-right: .5rem;
}

.sib-form .input,.sib-form .input__button {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    color: inherit;
    outline: 0
}

.sib-form .input:not(textarea),.sib-form .input__button {
    height: calc(2.5rem - 2px);
}

.entry__choice {
    width: 100%;
    margin-bottom: 3px;
    font-family: Roboto, sans-serif;
    word-wrap: break-all;
    word-wrap:break-word
}

.entry__label {
    width: 100%;
    font-weight: 500;
    word-break: break-word;
    word-wrap:break-word
}

.sib-form .entry__choice {
    padding-left: 1.5em;
    text-indent: -1.5em
}

.sib-form .checkbox,.sib-form .radio-button {
    background: #fff;
    border: 1px solid #687484;
    cursor: pointer;
    display: inline-block;
    height: 1em;
    vertical-align: -0.125em;
    width: 1em;
    position: relative
}

.sib-form .checkbox_tick_negative:before,.sib-form .checkbox_tick_positive:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.sib-form .checkbox_tick_positive:before {
    border-color: #fff;
    border-style: solid;
    border-width: 0 2px 2px 0;
    bottom: 1px;
    content: "";
    left: 50%;
    margin-left: -25%;
    position: absolute;
    top: 1px;
    -webkit-transform-origin: 80% 45%;
    transform-origin: 80% 45%;
    width: 50%
}

#sib-form .entry__choice label {
    display: unset;
}

.sib-form .entry__choice .checkbox,.sib-form .entry__choice .radio-button {
    margin-right: .5em;
}

.sib-form .input_replaced {
    opacity: 0;
    position: absolute;
    z-index: -1
}

.sib-form .input_replaced:checked+.checkbox_tick_positive {
    background: #13ce66;
    border-color: #13ce66
}

.sib-form .input_replaced:checked+.checkbox_tick_negative {
    background: #ff4949;
    border-color: #ff4949
}

.sib-form .input_replaced:indeterminate+.checkbox:after {
    content: normal
}

.sib-form .checkbox {
    border-radius: 3px;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.sib-form .radio-button {
    border-radius: 50%;
}

.sib-form .radio-button:before {
    border-radius: 50%;
    bottom: 2px;
    content: "";
    left: 2px;
    position: absolute;
    right: 2px;
    top: 2px
}

.sib-form .checkbox_tick_negative:after,.sib-form .checkbox_tick_negative:before {
    border: solid #fff;
    border-width: 0 0 0 2px;
    bottom: 0;
    content: "";
    left: 50%;
    margin-left: -1px;
    position: absolute;
    top: 0
}

.sib-form-block__button {
    display: inline-block;
    /* padding:8px 18px; */
    /* border:none; */
    /* overflow-wrap:break-word; */
    /* max-width:100%; */
    /* cursor:pointer; */
}

.sib-form .clickable__icon {
    height: 1.5rem;
    vertical-align: bottom;
    width: 1.5rem;
}

.sib-form .clickable__icon:not(.sib-icon_standalone) {
    margin-right: calc(.7002rem - 1px);
}

.sib-form .progress-indicator {
    -webkit-align-items: center;
    align-items: center;
    background: rgba(255,255,255,.9);
    display: -webkit-flex;
    display: flex;
    height: 100%;
    -webkit-justify-content: center;
    justify-content: center;
    width: 100%
}

.sib-form .progress-indicator .progress-indicator__icon {
    fill: #0092ff;
    height: 2rem;
    width: 2rem
}

.sib-form .progress-indicator_small .progress-indicator__icon {
    height: 1rem;
    width: 1rem
}

.sib-form-block__button-disabled {
    opacity: .5
}

.sib-form-block__button-with-loader {
    min-height: 40px;
    line-height: 23px;
}

button.sib-form-block__button div {
    display: inline !important;
}

.sib-form .progress-indicator__icon {
    /* -webkit-animation:indicator-spin 1.3s cubic-bezier(0.46, 0.35, 0.39, 0.85) infinite; */
    /* animation:indicator-spin 1.3s cubic-bezier(0.46, 0.35, 0.39, 0.85) infinite; */
}

@-webkit-keyframes indicator-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes indicator-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

.input--select::after {
    top: calc(50% + 2px);
    border: 5px solid rgba(0,0,0,0);
    border-top-color: #343f4e
}

.input--hidden {
    display: none !important
}

.sib-form-page {
    transition: opacity .5s ease-in-out;
    opacity: 0;
    display: none;
}

.sib-form-page--showing {
    opacity: 1;
    display: block
}

.sib-hide-loader-icon {
    display:none;
}

.sib-form-block__button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,.1)
}