#certificates-count {
    display: none;
    font-size: 14px;
    position: relative;
    top: 30px;
    font-family: 'Montserrat-Regular';
    font-size: 16px;
    font-weight: 600;
}

.filter-table .filter-field-wrapper:nth-child(3) {
    top: -17px;
}

.download-btn {
    width: 180px;
    height: 40px;
    font-size: 16px;
    background: #8184d0;
    color: white;
    border: none;
    margin-top: 26px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.download-btn.loading {
    width: 320px;
}

.download-btn:not(.loading) {
    width: 180px;
}

.loading-dots span {
    display: inline-block;
    animation: dots 1.5s infinite;
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.3s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dots {

    0%,
    20% {
        opacity: 1;
    }

    40%,
    100% {
        opacity: 0;
    }
}

.loading-dots span {
    display: inline-block;
    animation: dots 1.5s infinite;
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.3s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dots {

    0%,
    20% {
        opacity: 1;
    }

    40%,
    100% {
        opacity: 0;
    }
}

.del-td {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
}

.del-td p {
    margin-bottom: unset;
    margin-left: 15px;
}

.del-td input {
    width: 15px;
    height: 15px;
    margin-bottom: unset;

}

#certificates-count-all p {
    font-size: 14px !important;
    font-weight: 600;
}

.autocomplete-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.autocomplete-suggestion {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.selected {
    background-color: #f0f7ff;
}

.autocomplete-suggestion strong {
    color: #0066cc;
}

.autocomplete-no-results {
    padding: 10px;
    color: #666;
    text-align: center;
}

.autocomplete-loader {
    position: absolute;
    right: 30px;
    top: 10px;
    transform: translateY(-50%);
    z-index: 10000;
}

.spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #8184d0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.autocomplete-error {
    padding: 10px;
    color: #ff4444;
    text-align: center;
    font-size: 12px;
}

.filter-field-wrapper {
    position: relative;
    width: 100%;
}

.download-btn.loading {
    opacity: 0.8;
    cursor: wait;
    position: relative;
}

.download-btn.loading .loading-dots {
    display: inline-block;
}

.loading-dots span {
    animation: dots 1.4s infinite;
    opacity: 0;
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dots {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media(max-width: 992px) {
    .filter-table .filter-field-wrapper:nth-child(3) {
        top: unset;
    }
}

@media(max-width:767px) {
    #certificates-table {
        margin-top: unset !important;
    }
}

@media(max-width: 480px) {
    .download-container {
        margin-bottom: 30px;
    }

    .download-btn {
        width: 140px;
        font-size: 14px;
    }
}