.tdevt-fallback-switcher-wrap {
    box-sizing: border-box;
    padding: 8px 16px;
    text-align: end;
    inline-size: 100%;
    z-index: 99;
}

.tdevt-fallback-switcher-header,
.tdevt-fallback-switcher-footer {
    clear: both;
}

.tdevt-fallback-switcher-footer {
    margin-top: 10px;
}

.tdevt-fallback-switcher,
.tdevt-fallback-switcher-dropdown,
.tdevt-switcher,
.tdevt-switcher-dropdown {
    font: inherit;
}

.tdevt-fallback-switcher-dropdown,
.tdevt-switcher-dropdown {
    background: #fff;
    border: 1px solid currentColor;
    border-radius: 6px;
    box-sizing: border-box;
    color: inherit;
    display: inline-block;
    min-block-size: 36px;
    min-inline-size: 112px;
    padding: 0;
    position: relative;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.tdevt-fallback-switcher-dropdown:hover,
.tdevt-fallback-switcher-dropdown:focus,
.tdevt-fallback-switcher-dropdown[open],
.tdevt-switcher-dropdown:hover,
.tdevt-switcher-dropdown:focus,
.tdevt-switcher-dropdown[open] {
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.14);
    outline: 0;
}

.tdevt-fallback-switcher-dropdown-control,
.tdevt-switcher-dropdown-control {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 0.45em;
    list-style: none;
    min-block-size: 34px;
    padding: 4px 10px 4px 28px;
    position: relative;
    white-space: nowrap;
}

.tdevt-fallback-switcher-dropdown-control::-webkit-details-marker,
.tdevt-switcher-dropdown-control::-webkit-details-marker {
    display: none;
}

.tdevt-fallback-switcher-dropdown-control::after,
.tdevt-switcher-dropdown-control::after {
    border-inline-start: 4px solid transparent;
    border-inline-end: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: "";
    position: absolute;
    inset-inline-end: 10px;
    inset-block-start: 50%;
    transform: translateY(-40%);
}

.tdevt-fallback-switcher-dropdown-menu,
.tdevt-switcher-dropdown-menu {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
    box-sizing: border-box;
    display: grid;
    gap: 2px;
    inset-inline-start: 0;
    margin-top: 4px;
    min-inline-size: 100%;
    padding: 5px;
    position: absolute;
    text-align: start;
    inset-block-start: 100%;
    z-index: 99999;
}

.tdevt-fallback-switcher-dropdown-link,
.tdevt-switcher-dropdown-link {
    align-items: center;
    border-radius: 4px;
    color: inherit;
    display: flex;
    gap: 0.45em;
    line-height: 1.2;
    min-block-size: 30px;
    padding: 5px 8px;
    text-decoration: none;
    white-space: nowrap;
}

.tdevt-fallback-switcher-dropdown-link:hover,
.tdevt-fallback-switcher-dropdown-link:focus,
.tdevt-switcher-dropdown-link:hover,
.tdevt-switcher-dropdown-link:focus,
.tdevt-fallback-switcher-dropdown-link.is-current,
.tdevt-switcher-dropdown-link.is-current {
    background: rgba(34, 113, 177, 0.1);
    outline: 0;
}

.tdevt-fallback-switcher-list,
.tdevt-switcher-list {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tdevt-switcher-orientation-vertical {
    align-items: stretch;
    flex-direction: column;
}

.tdevt-fallback-switcher-link,
.tdevt-switcher-link {
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    display: inline-flex;
    gap: 6px;
    line-height: 1.2;
    min-block-size: 32px;
    padding: 5px 9px;
    text-decoration: none;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.tdevt-fallback-switcher-link:hover,
.tdevt-fallback-switcher-link:focus,
.tdevt-switcher-link:hover,
.tdevt-switcher-link:focus {
    background: rgba(34, 113, 177, 0.08);
    border-color: #2271b1;
    outline: 0;
}

.tdevt-fallback-switcher-link.is-current,
.tdevt-switcher-link.is-current {
    font-weight: 700;
    opacity: 0.75;
}

.tdevt-switcher-layout-buttons .tdevt-fallback-switcher-link,
.tdevt-switcher-layout-flags_only .tdevt-fallback-switcher-link {
    justify-content: center;
    min-inline-size: 36px;
}

.tdevt-switcher-layout-name_only .tdevt-fallback-flag,
.tdevt-switcher-layout-flags_only .tdevt-fallback-language-name,
.tdevt-switcher-layout-flags_only .tdevt-fallback-language-code {
    display: none;
}

.tdevt-menu-language-item > a,
.tdevt-menu-current-language > a {
    align-items: center;
    display: inline-flex;
    gap: 0.35em;
}

.tdevt-fallback-language-code,
.tdevt-language-code {
    font-size: 0.78em;
    opacity: 0.72;
}

.tdevt-flag,
.tdevt-fallback-flag {
    background: linear-gradient(135deg, #f6f7f7 0 50%, #c3c4c7 50% 100%);
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    box-sizing: border-box;
    display: inline-block;
    flex: 0 0 auto;
    block-size: 0.82em;
    min-block-size: 12px;
    min-inline-size: 18px;
    overflow: hidden;
    position: relative;
    vertical-align: -0.08em;
    inline-size: 1.22em;
}

.tdevt-tavazo-language-selector {
    margin-inline-end: 4px;
    position: relative;
}

.tdevt-tavazo-language-selector .tavazo-flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.tdevt-tavazo-language-selector .selector {
    cursor: pointer;
    padding-inline-end: 20px;
    position: relative;
}

.tdevt-tavazo-language-selector .selector span {
    color: #414651;
    font-size: 12px;
    font-weight: 600;
    padding-inline-end: 8px;
    padding-inline-start: 4px;
}

.tdevt-tavazo-language-selector .dropdown {
    background: var(--White, #fff);
    border: 1px solid var(--Gray-200, #e9eaeb);
    border-radius: 12px;
    box-shadow: 0 12px 16px -4px rgba(10, 13, 18, 0.08), 0 4px 6px -2px rgba(10, 13, 18, 0.03);
    display: none;
    flex-direction: column;
    gap: 8px;
    inline-size: 200px;
    inset-block-start: 34px;
    inset-inline-end: 17px;
    padding: 20px;
    position: absolute;
    z-index: 99999;
}

.tdevt-tavazo-language-selector .selector::before {
    background: #b8b8b8;
    block-size: 44px;
    content: "";
    cursor: default;
    inline-size: 1px;
    inset-inline-end: 0;
    position: absolute;
}

.tdevt-tavazo-language-selector .dropdown.active {
    display: flex;
}

.tdevt-tavazo-language-selector .dropdown input {
    display: none;
}

.tdevt-tavazo-language-selector .dropdown label {
    align-items: center;
    background: transparent;
    border-radius: 8px;
    color: var(--Gray-900, #181d27);
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    padding: 12px;
}

.tdevt-tavazo-language-selector .dropdown input:checked + label {
    background: var(--Neutral---100, #ebebeb);
}

.tdevt-tavazo-language-selector .dropdown label .tdevt-flag,
.tdevt-tavazo-language-selector .dropdown label .tdevt-fallback-flag {
    block-size: 20px;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    inline-size: 20px;
    min-block-size: 20px;
    min-inline-size: 20px;
    object-fit: cover;
}

.tdevt-flag-us {
    background: repeating-linear-gradient(to bottom, #b22234 0 7.69%, #fff 7.69% 15.38%);
}

.tdevt-flag-us::before {
    background: #3c3b6e;
    content: "";
    block-size: 54%;
    inset-inline-start: 0;
    position: absolute;
    inset-block-start: 0;
    inline-size: 42%;
}

.tdevt-flag-ru {
    background: linear-gradient(to bottom, #fff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66% 100%);
}

.tdevt-flag-ge {
    background:
        linear-gradient(to right, transparent 0 43%, #e8112d 43% 57%, transparent 57% 100%),
        linear-gradient(to bottom, transparent 0 40%, #e8112d 40% 60%, transparent 60% 100%),
        #fff;
}

.tdevt-flag-de {
    background: linear-gradient(to bottom, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.tdevt-flag-fr {
    background: linear-gradient(to right, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66% 100%);
}

.tdevt-flag-es {
    background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.tdevt-flag-it {
    background: linear-gradient(to right, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66% 100%);
}

.tdevt-flag-pt {
    background: linear-gradient(to right, #006600 0 40%, #ff0000 40% 100%);
}

.tdevt-flag-cn {
    background: #de2910;
}

.tdevt-flag-cn::before {
    color: #ffde00;
    content: "в…";
    font-size: 9px;
    inset-inline-start: 2px;
    line-height: 1;
    position: absolute;
    inset-block-start: 1px;
}

.tdevt-flag-jp {
    background: radial-gradient(circle at center, #bc002d 0 28%, transparent 29%), #fff;
}

.tdevt-flag-kr {
    background: radial-gradient(circle at center, #cd2e3a 0 24%, #0047a0 25% 45%, transparent 46%), #fff;
}

.tdevt-flag-ua {
    background: linear-gradient(to bottom, #0057b7 0 50%, #ffd700 50% 100%);
}

.tdevt-flag-tr {
    background: #e30a17;
}

.tdevt-flag-tr::before {
    color: #fff;
    content: "в—Џ";
    font-size: 12px;
    inset-inline-start: 4px;
    line-height: 1;
    position: absolute;
    inset-block-start: 0;
}

.tdevt-flag-sa {
    background: #006c35;
}

.tdevt-flag-il {
    background: linear-gradient(to bottom, #fff 0 18%, #0038b8 18% 32%, #fff 32% 68%, #0038b8 68% 82%, #fff 82% 100%);
}

img.tdevt-flag,
img.tdevt-fallback-flag {
    background: none;
    display: inline-block;
    object-fit: cover;
}

.tdevt-elementor-switcher .tdevt-fallback-switcher-wrap {
    display: inline-block;
    padding: 0;
}

.tdevt-inline-editor-toolbar {
    align-items: center;
    background: rgba(29, 35, 39, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    inset-block-end: 18px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
    box-sizing: border-box;
    color: #fff;
    display: flex;
    gap: 8px;
    inset-inline-start: 18px;
    max-inline-size: calc(100vw - 36px);
    padding: 8px;
    position: fixed;
    z-index: 999999;
}

.tdevt-inline-editor-toolbar button {
    background: #2271b1;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    min-block-size: 34px;
    padding: 6px 10px;
    transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.tdevt-inline-editor-toolbar button:hover,
.tdevt-inline-editor-toolbar button:focus {
    background: #135e96;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
    outline: 0;
}

.tdevt-inline-editor-toolbar button.is-active {
    background: #00a32a;
}

.tdevt-inline-editor-status {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 12px;
    max-inline-size: 340px;
    padding: 4px 8px;
}

.tdevt-inline-editor-modal {
    align-items: center;
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.48);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 1000000;
}

.tdevt-inline-editor-modal.is-open {
    display: flex;
}

.tdevt-inline-editor-dialog {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    color: #1d2327;
    max-inline-size: 760px;
    padding: 22px;
    inline-size: min(760px, 100%);
}

.tdevt-inline-editor-dialog * {
    box-sizing: border-box;
}

.tdevt-inline-editor-dialog h2 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 12px;
}

.tdevt-inline-editor-textarea {
    border: 1px solid #8c8f94;
    border-radius: 8px;
    box-sizing: border-box;
    font: inherit;
    line-height: 1.45;
    min-block-size: 220px;
    padding: 12px 14px;
    resize: block;
    inline-size: 100%;
}

.tdevt-inline-editor-notice {
    align-items: center;
    color: #50575e;
    display: flex;
    font-size: 13px;
    gap: 8px;
    min-block-size: 24px;
    padding-top: 8px;
}

.tdevt-inline-editor-modal.is-loading .tdevt-inline-editor-notice::before {
    animation: tdevt-inline-editor-spin 0.8s linear infinite;
    border: 2px solid #dcdcde;
    border-top-color: #2271b1;
    border-radius: 50%;
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    block-size: 14px;
    inline-size: 14px;
}

@keyframes tdevt-inline-editor-spin {
    to {
        transform: rotate(360deg);
    }
}

.tdevt-inline-editor-textarea:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.16);
    outline: 0;
}

.tdevt-inline-editor-dialog-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 14px;
}

.tdevt-inline-editor-dialog-actions button {
    background: #2271b1;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    min-block-size: 34px;
    padding: 7px 13px;
    transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.tdevt-inline-editor-dialog-actions button:hover,
.tdevt-inline-editor-dialog-actions button:focus {
    background: #135e96;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.18);
    outline: 0;
}

.tdevt-inline-editor-dialog-actions button.is-secondary {
    background: #f6f7f7;
    border: 1px solid #c3c4c7;
    color: #1d2327;
}

.tdevt-inline-editor-dialog-actions button.is-secondary:hover,
.tdevt-inline-editor-dialog-actions button.is-secondary:focus {
    background: #fff;
    border-color: #8c8f94;
}

.tdevt-inline-editor-dialog-actions button.is-auto {
    background: #1e7e34;
}

.tdevt-inline-editor-dialog-actions button.is-auto:hover,
.tdevt-inline-editor-dialog-actions button.is-auto:focus {
    background: #166329;
}

.tdevt-inline-editor-dialog-actions button:disabled {
    cursor: wait;
    opacity: 0.65;
}

body.tdevt-editor-active .tdevt-editable {
    cursor: pointer;
    outline: 2px solid rgba(34, 113, 177, 0.7);
    outline-offset: 3px;
    transition: background-color 0.16s ease, outline-color 0.16s ease;
}

body.tdevt-editor-active .tdevt-editable:hover {
    background: rgba(34, 113, 177, 0.14);
}

@media (max-width: 640px) {
    .tdevt-inline-editor-toolbar {
        align-items: center;
        inset-block-end: 80px;
        flex-direction: row-reverse;
        inset-inline-start: auto;
        inset-inline-end: 10px;
        width: fit-content;
        display: flex;
    }

    .tdevt-inline-editor-dialog {
        max-block-size: calc(100vh - 32px);
        overflow: auto;
        padding: 18px;
    }

    .tdevt-inline-editor-dialog-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
