tr:hover {
    background-color: #f0f0f0;
    /* Change this color to your desired hover color */
}

.code-snippet {
    background-color: #f4f4f4;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
    padding: 8px 12px;
    font-family: Consolas, "Courier New", Courier, monospace;
    color: #2d2d2d;
    font-size: 0.95em;
    display: inline-block;
    max-width: 600px;
    overflow-x: auto;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Zobrazí "..." pro překročený text */
}

.bg-translated-success {
    background-color: #E6F6D0;
}

.bg-translated-warning {
    background-color: #FEEBC8;
}

.bg-translated-error {
    background-color: #FED7D7;
}

/* Společné styly pro ikonky */
.icon {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.3em;
    margin-right: 8px;
    color: #888;
}

/* Specifická ikonka pro první případ */
.icon-source::before {
    content: "\f084";
    /* Ikonka pro metodu */
}

/* Specifická ikonka pro druhý případ */
.icon-translated::before {
    content: "\f1ab";
    /* Ikonka pro proměnnou (např.) */
}

.icon-identifier::before {
    content: "\f577";
}


.dataTable-wrapper .dataTable-top .dataTable-search input {
    font-size: .875rem;
    color: #495057;
    border: 1px solid #e9ecef;
    border-radius: .5rem
}

.dataTable-wrapper .dataTable-top .dataTable-search input:focus-visible {
    outline: none
}

.dataTable-input {
    padding: 6px 12px
}

.dataTable-selector {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border-radius: .5rem !important;
    padding: .5rem .75rem !important;
    text-align: center;
}

.dataTable-wrapper .dataTable-top {
    padding: 1.5rem
}

.dataTable-wrapper .dataTable-top .dataTable-dropdown {
    float: left
}

.dataTable-wrapper .dataTable-top .dataTable-dropdown label {
    margin-bottom: 0;
    margin-left: 0;
    color: #8392ab;
    font-weight: 400
}

.dataTable-wrapper .dataTable-top .dataTable-dropdown label .dataTable-selector {
    border-color: #e9ecef;
    border-radius: .25rem
}

.dataTable-wrapper .dataTable-top .dataTable-search input {
    font-size: .875rem;
    color: #495057;
    border: 1px solid #e9ecef;
    border-radius: .5rem
}

.dataTable-wrapper .dataTable-top .dataTable-search input:focus-visible {
    outline: none
}

.dataTable-top>nav:last-child,
.dataTable-top>div:last-child,
.dataTable-bottom>nav:last-child,
.dataTable-bottom>div:last-child {
    float: right
}

.ml-1 {
    margin-left: .25rem !important
}

.ml-2 {
    margin-left: .5rem !important
}

.ml-3 {
    margin-left: 1rem !important
}

.ml-4 {
    margin-left: 1.5rem !important
}

.ml-5 {
    margin-left: 3rem !important
}

.mr-1 {
    margin-right: .25rem !important
}

.mr-2 {
    margin-right: .5rem !important
}

.mr-3 {
    margin-right: 1rem !important
}

.mr-4 {
    margin-right: 1.5rem !important
}

.mr-5 {
    margin-right: 3rem !important
}

.navbar-vertical .navbar-nav .nav-link[data-bs-toggle=collapse]:after {
    content: none;
}

.notification-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: red;
    /* Barva pozadí badge */
    color: white;
    /* Barva textu */
    border-radius: 50%;
    /* Udělá badge kulatým */
    width: 20px;
    /* Šířka badge */
    height: 20px;
    /* Výška badge */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    /* Velikost textu */
    font-weight: bold;
    /* Tučnost textu */
}

/* Pozice pro ikonu, aby byla relativně umístěná */
.nav-link {
    position: relative;
}

/* Pokud má být badge na menší velikosti */
.notification-badge {
    width: 15px;
    height: 15px;
    font-size: 10px;
}

.icon-projects {
    margin-top: 10px;
}

.icon-dashboard {
    margin-top: 15px;
}

.highlight {
    border: 2px solid #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.fixed-size-img {
    width: 220px;
    height: 150px;
    object-fit: cover;
}

.badge-popular {
    background-color: #f39c12;
    /* Barva pozadí */
    color: white;
    padding: 5px 8px;
    font-weight: bold;
    border-radius: 12px;
    font-size: 10px;
}

.pricing-item {
    position: relative;
    /* Nutné pro pozicování přelepu */
    background: white;
    padding: 20px;
    border-radius: 27px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pricing-item.active {
    box-shadow: inset 0px 0px 0px 3px #cb0c9f;
}

.pricing-item.pending {
    outline: 3px dashed #cb0c9f;
}

.pricing-item.disabled {
    pointer-events: none;
    /* Zamezí interakcím (kliknutí, hover apod.) */
    opacity: 0.5;
    /* Udělá kartu poloprůhlednou */
    cursor: not-allowed;
    /* Změní kurzor na "zakázaný" */
    background-color: #f4f4f4;
    /* Můžete přidat změnu barvy pozadí pro lepší vizualizaci */
}


.pricing-item h4 {
    font-size: 1rem;
    line-height: 1.625;
    margin-bottom: 10px;
}

.pricing-item .price h2 {
    font-size: 1.4rem;
    color: #cb0c9f;
    margin-bottom: 5px;
}

.pricing-item .price p {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.pricing-item .price-period {
    font-size: 0.9rem;
    font-weight: 300;
    color: #333;
}

.ribbon-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 90px;
    height: 90px;
}

.ribbon {
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-align: center;
    transform: rotate(45deg);
    /* Otočení opačným směrem */
    background: #f39c12;
    position: absolute;
    top: 15px;
    right: -40;
    /* Umístění směrem doprava */
    width: 120px;
    padding: 5px 0;
    /*box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);*/
}

.ribbon::before,
.ribbon::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-color: transparent transparent transparent #f39c12;
    /*top: 100%;*/
    right: 0;
    /* Přizpůsobení pravému rohu */
}

.ribbon::after {
    right: auto;
    left: 0;
    border-color: transparent #f39c12 transparent transparent;
}


@media screen and (max-width: 768px) {
    .pricing-item {
        margin-bottom: 20px;
    }
}

.tariff-status {
    font-size: 0.8rem;
    font-weight: bold;
}

.multisteps-form__progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.multisteps-form__progress-btn {
    transition-property: all;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    transition-delay: 0s;
    position: relative;
    padding-top: 20px;
    color: #dee2e6;
    text-indent: -9999px;
    border: none;
    background-color: transparent;
    outline: none !important;
    cursor: pointer;
}

@media (min-width: 500px) {
    .multisteps-form__progress-btn {
        text-indent: 0;
    }
}

.multisteps-form__progress-btn:before {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 13px;
    height: 13px;
    content: "";
    transform: translateX(-50%);
    transition: all 0.15s linear 0s, transform 0.15s cubic-bezier(0.05, 1.09, 0.16, 1.4) 0s;
    border: 2px solid currentColor;
    border-radius: 50%;
    background-color: #fff;
    box-sizing: border-box;
    z-index: 3;
}

.multisteps-form__progress-btn:after {
    position: absolute;
    top: 5px;
    left: calc(-50% - 6.5px);
    transition-property: all;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    transition-delay: 0s;
    display: block;
    width: 100%;
    height: 2px;
    content: "";
    background-color: currentColor;
    z-index: 1;
}

.multisteps-form__progress-btn:first-child:after {
    display: none;
}

.multisteps-form__progress-btn.js-active {
    color: #344767;
}

.multisteps-form__progress-btn.js-active span {
    color: #8392ab;
}

.multisteps-form__progress-btn.js-active:before {
    transform: translateX(-50%) scale(1.2);
    background-color: currentColor;
}

.multisteps-form__form {
    position: relative;
}

.multisteps-form__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    opacity: 0;
    visibility: hidden;
}

.multisteps-form__panel.js-active {
    height: auto;
    opacity: 1;
    visibility: visible;
}

.multisteps-form__panel[data-animation=scaleIn] {
    transform: scale(0.9);
}

.multisteps-form__panel[data-animation=scaleIn].js-active {
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
    transition-delay: 0s;
    transform: scale(1);
}

.tariffs {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.tariffs:hover {
    transform: scale(1.02);
}

.tariffs-image {
    position: relative;
    overflow: hidden;
}

.tariffs-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 70%);
    transform: skewX(-25deg);
    transition: left 0.7s ease-in-out;
}

.tariffs-image:hover::before {
    left: 120%;
}

.readonly {
    background-color: #e9ecef;
}

@media (max-width: 767.98px) {
    .mobile-hide {
        display: none !important;
    }
}

/* Základní styling select2 pro Bootstrap look */
.select2-container--bootstrap-5 .select2-selection--single {
    height: calc(2.25rem + 2px) !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #495057 !important;
    background-color: #fff !important;
    border: 1px solid #d2d6da !important;
    border-radius: 0.375rem !important;
}

/* Dropdown container - mnohem větší rozměry */
.select2-dropdown {
    border: 1px solid #d2d6da !important;
    border-radius: 0.375rem !important;
    border-top: none !important;
    max-height: 50vh !important;
    /* 50% výšky stránky */
    min-width: 500px !important;
    /* Minimální šířka */
    width: auto !important;
}

/* Results container - více místa pro více položek */
.select2-results {
    max-height: 45vh !important;
    /* 45% výšky stránky pro výsledky */
    overflow-y: auto !important;
}

/* Jednotlivé položky - menší font a padding */
.select2-results__option {
    padding: 4px 8px !important;
    /* Menší padding */
    font-size: 0.75rem !important;
    /* Menší font size */
    line-height: 1.2 !important;
    /* Menší line height */
    min-height: auto !important;
}

/* Highlighted položka */
.select2-results__option--highlighted {
    background-color: #0d6efd !important;
    color: white !important;
}

.select2-results__group {
        font-size: 0.8rem !important;
        font-weight: bold !important;
        padding: 6px 8px !important;
        background-color: #6c757d !important; /* Neutrální šedá pro neznámé zdroje */
        color: white !important;
        border-bottom: 1px solid #dee2e6 !important;
    }
    
    /* Specifické třídy pro barvy - nastavené JavaScriptem */
    .select2-results__group.source-upgates {
        background-color: #ff8800 !important; /* Oranžová pro Upgates */
    }
    
    .select2-results__group.source-shopify {
        background-color: #95bf47 !important; /* Zelená pro Shopify */
    }
    
    .select2-results__group.source-shoper {
        background-color: #007aff !important; /* Modrá pro Shoper */  
    }
    
    .select2-results__group.source-launify {
        background-color: #cb0c9f !important; /* Fialová pro Launify */
    }

/* Disabled položky (projekty) */
.select2-results__option[aria-disabled=true] {
    color: #6c757d !important;
    font-style: italic !important;
    padding-left: 20px !important;
    /* Zachovat odsazení */
}

/* Search box styling */
.select2-search--dropdown .select2-search__field {
    padding: 4px 8px !important;
    font-size: 0.8rem !important;
}