main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 5px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 5px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    padding: 5px;
    list-style-type: none;
}

.custom-link {
    color: #2c3e50;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 4px;

}

.custom-link:hover {
    background-color: #ecf0f1;
    color: #16a085;
}

.yii-grid-view td {
    display: flex;
    justify-content: center;  /* Horizontálne vycentrovanie */
    align-items: center;      /* Vertikálne vycentrovanie */
}

.custom-btn {
    background-color: #3498db;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    text-decoration: none;

}

.custom-btn:hover {
    background-color: #2980b9;
}

.list-view {
    padding: 5px; /* Menší padding */
}




.list-view .item {
 /* Menší font pre jednotlivé položky */
    padding: 0px; /* Menší padding pre jednotlivé položky */
}




.alert{
    display: flow-root;
}
.alert .custom-btn {
    float: right;
}

.summary {
    padding: 8px;
}

/* Prvý td v každom riadku bez ľavého okraja */
tr td:first-child {
    border-left: none !important;
}

/* Posledný td v každom riadku bez pravého okraja */
tr td:last-child {
    border-right: none !important;
}

/* Prvý td v každom riadku bez ľavého okraja */
tr th:first-child {
    border-left: none !important;
}

/* Posledný td v každom riadku bez pravého okraja */
tr th:last-child {
    border-right: none !important;
}

.nav-link, .breadcrumb a {
    color: #182c61;
}

.nav-link:hover, .breadcrumb a:hover {
    color: #30d5c8;
}

.breadcrumb {
    padding-top: 8px;
    padding-bottom: 1px;
}

h1 {
    font-size: 2.0rem;
}

/* Stránkovanie */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a.page-link {
    display: block;
    padding: 8px 16px;
    color: #007bff;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.pagination li a.page-link:hover {
    background-color: #f8f9fa;
    color: #0056b3;
    border-color: #dee2e6;
}

.pagination li.active a.page-link {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination li.disabled a.page-link {
    color: #6c757d;
    border-color: #ddd;
    pointer-events: none;
}

.pagination .disabled, .pagination .disabled{
    display: block;
    padding: 8px 16px;
}

.custom-menu {
    font-size: 80%;
}

.pagination li.active a {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination .active-page .page-link {
    background-color: #007bff;
    color: white;

}



.custom-menu-active {
    background-color: silver;  /* Tvoja vlastná farba */
}

#productList {
    max-height: 500px; /* Nastavte maximálnu výšku podľa potreby */
    overflow-y: auto; /* Povolenie vertikálneho posuvníka */
}

.list-group-item:hover {
    color: black;
    background-color: #c8fffb;
    cursor: pointer;
}

body, .container, #main {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto; /* Center the content horizontally */

}

.bg-p4u {
    background-color: #30d5c8;
}

.container-fluid {
    padding: 0px;
    margin: 0px;
}

@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
}

.name-with-flag {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag-circle {
    width: 20px;
    height: 20px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); /* jemný šedý tieň */
}

.status-label {
    display: inline-block;
    padding: 4px 8px;
    width: 100%;
    color: #000000;
    text-align: center;
    border-radius:  0.375rem;
}

.choices__inner {
    border-radius: 0.375rem; /* Bootstrap rounded-md */
    background-color: #FFF;
    min-height: 38px; /* výška ako .form-control */
    padding: 0px 7.5px 0px;
}

.choices__list--multiple .choices__item {
    background-color: #0d6efd; /* Bootstrap primary */
    color: white;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: normal;
    line-height: 1.25;
    margin-top: 5px;
}

.choices__list--multiple .choices__item.is-highlighted {
    background-color: #0b5ed7;
}

.choices__input {
    display: inline-block;
    vertical-align: baseline;
    background-color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
    border: 0;
    border-radius: 0;
    max-width: 100%;
    padding: 4px 0 4px 2px;
}

.flag {
    width: 20px;
    height: 20px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); /* jemný šedý tieň */
    margin-right: 10px;
    opacity: 0.1;
}
.flag:hover {
    opacity: 0.5;
}
.flag.active {
    width: 20px;
    height: 20px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 1;
    box-shadow: 0 0 2px rgba(0, 0, 0, 1); /* jemný šedý tieň */
}

.language-switch {
    display: flex;
    align-items: center;
}

.navbar-expand-md .navbar-collapse {
    justify-content: flex-end;
}


 .rotate-180 {
     transform: rotate(180deg);
 }

.transition {
    transition: transform 0.3s ease;
}

.submenu {
    transition: height 0.3s ease;
}

.tr-inactive {
    opacity: 0.5;
    color: #6c757d;
}

.navbar-toggler-icon {
    background-color: black;
}

#image-preview {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.datepicker {
    border-radius: 0.25rem !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: none !important;
    padding: 0.375rem 0.75rem!important;
    font-size: 1rem !important;
    background-color: #fff !important;
    z-index: 10000 !important;
    line-height: 1.5;
}

.datepicker table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
}

.datepicker table tr td.day,
.datepicker table tr td.day:hover {
    padding: 0.5rem !important;
    text-align: center !important;
    cursor: pointer !important;
    border-radius: 0.25rem !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    color: #212529 !important; /* default text farba */
}

.datepicker table tr td.day:hover {
    background-color: #0d6efd !important;
    color: #fff !important;
}

.datepicker table tr td.day.active,
.datepicker table tr td.day.active:hover {
    background-color: #0056b3 !important;
    color: #fff !important;
    box-shadow: none !important;
}

#modal-img {
    transform-origin: center center ;
    transform: none ;
}

.form-group.has-error .help-block {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 0.25rem;
}

.form-group.has-error .form-control {
    border-color: #dc3545;
    border-width: 1px;
    box-shadow: none;
}

.form-group.has-error {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

#productsToAdd {
    width: 100%;
}

.form-group.required .help-block {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 0.25rem;
}


.tabs {
    width: 100%;
    background: white;
    border: 0px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    padding: 0px;

}

.tab-headers {
    display: flex;
    border-bottom: 0px solid #ccc;
    background-color: #f0f0f0;
    border-radius: 8px 8px 0 0;
}

.tab-header {
    flex: 1;
    padding: 10px 15px;
    cursor: pointer;

    text-align: center;
    font-weight: normal;
    transition: background 0.2s;
    border-radius: 8px 8px 0 0;

}

.tab-header.active {

    color: #ffffff;
    border-radius: 8px 8px 0 0;

}

.tab-header:not(.active) {
    color: #888888;
    background-color: #f0f0f0;
}

.tab1x {
    background-color: #0d6efd;
}

.tab2x {
    background-color: #30d5c8;
}

.tab-content {
    display: none;
    padding: 15px;
    font-size: 14px;
    color: #333;
}

.tab-content.active {
    display: block;
}

.label-break .control-label {
    display: block;
}

#productsToAdd thead {
    border-bottom: 1px solid #cccccc;
}

.row-unavailable {
    background-color: #f8d7da !important;
}

.row-unavailable td{
    background-color: #f8d7da !important;
}

.text-danger td{
    color: red!important;
}

 .tabulka1 td{
    background-color: transparent;
}

.form-control {
    appearance: auto;
}

.newsletter-scroll {
    height: 250px;  /* pevná výška na test */
    overflow-y: auto;
    padding-right: 8px;
}
.newsletter-scroll::-webkit-scrollbar {
    width: 10px;
}

.newsletter-scroll::-webkit-scrollbar-thumb {
    background-color: #052c65;
    border-radius: 10px;
    cursor: pointer;
}

.newsletter-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.status-tooltip {
    position: relative;
    cursor: help;
}

.tooltip-popup {
    position: absolute;
    top: 50%;
    left: 100%;              /* popup ide doprava */
    transform: translateY(-50%);
    margin-left: 10px;       /* odsadenie od textu */

    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 999999;
}

/* šípka z ľavej strany */
.tooltip-popup::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;             /* šípka ide zľava */
    transform: translateY(-50%);

    border-width: 6px;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

.status-tooltip:hover .tooltip-popup {
    opacity: 1;
}

.status-tooltip:hover .tooltip-popup {
    opacity: 1;
}


.error-info-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 8px;
    margin-left: 6px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

.ticket-thread {
    margin-top: 15px;
}

.ticket-message {
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
    background: #fff;
}

.ticket-message-client {
    background: #f7fbff;
    border-left: 5px solid #0d6efd;
}

.ticket-message-admin {
    background: #f8fff7;
    border-left: 5px solid #198754;
}

.ticket-message-internal {
    background: #fff8e5;
    border-left: 5px solid #ffc107;
}

.ticket-message-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.ticket-message-date {
    color: #777;
    font-size: 12px;
    white-space: nowrap;
}

.ticket-message-body {
    font-size: 14px;
    line-height: 1.5;
}

.ticket-message-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.ticket-message-badge.client {
    background: #e7f1ff;
    color: #0d6efd;
}

.ticket-message-badge.admin {
    background: #e8f8ec;
    color: #198754;
}

.ticket-message-badge.internal {
    background: #fff3cd;
    color: #8a6d00;
}

.ticket-attachments {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.ticket-attachment-item {
    margin-top: 5px;
    font-size: 13px;
}