/* Komunikat błędu dla wyszukiwarki */
.ep-error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 12px 20px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dodatkowe style dla formularza wyszukiwania */
.ep-search-box {
    position: relative;
}

/* Style dla loadera */
.ep-loader {
    text-align: center;
    padding: 20px;
}

.ep-loader > div {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
    margin: 0 3px;
    animation: loader-bounce 1.4s infinite ease-in-out both;
}

.ep-loader > div:nth-child(1) {
    animation-delay: -0.32s;
}

.ep-loader > div:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loader-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Style dla tabeli wyników */
#ajax_fitler_search_results_table {
    margin-top: 20px;
}

#ajax_fitler_search_results_table thead {
    background-color: #f8f9fa;
}

#ajax_fitler_search_results_table th,
#ajax_fitler_search_results_table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

#ajax_fitler_search_results_table .no-result {
    text-align: center;
    padding: 30px;
    color: #6c757d;
    font-style: italic;
}

/* Style dla tooltipa */
.ep-tooltip {
    position: relative;
}

.ep-tooltip .tooltiptext {
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    white-space: nowrap;
}

.ep-tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.ep-tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Style dla tytułu */
.ep-title {
    margin-bottom: 20px;
    color: #333;
}

/* Responsywność */
@media (max-width: 768px) {
    .ep-error-message {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    #ajax_fitler_search_results_table {
        font-size: 14px;
    }
    
    #ajax_fitler_search_results_table th,
    #ajax_fitler_search_results_table td {
        padding: 8px;
    }
}
