.data-table--coa {
    font-size: 18px;
    table-layout: fixed;
}

.data-table--coa thead th {
    padding: 10px 15px;
}

.data-table--coa tbody td {
    vertical-align: middle;
}

.coa-search-section {
    display: flex;
    align-items: center;
    gap: var(--size-3);
    margin-bottom: var(--size-5);
}

.coa-search-label {
    color: black;
    white-space: nowrap;
}

.search-wrapper {
    width: 300px;
    font-family: var(--font-regular, 'PT Root UI', sans-serif);
    font-weight: 500;
    flex: 0 1 auto;
}

.search-wrapper form {
    position: relative;
    display: block;
}

.search-wrapper .search-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 26px;
    border-radius: var(--filter-dropdown-border-radius, 20px);
    border: 1px solid var(--color-primary);
    background: #fff;
    font-size: 15px;
    line-height: 35px;
    color: var(--color-primary);
    outline: none;
    transition: border-color 0.3s ease;
    padding: 10px;
}

.search-wrapper .search-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 18px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.search-wrapper .search-input::placeholder {
    color: var(--color-primary);
    opacity: 0.6;
}

.search-wrapper .search-input:focus::placeholder {
    color: transparent;
}

.col-lot {
    width: 15%;
}

.col-class {
    width: 20%;
}

.col-date {
    width: 15%;
}

.col-download {
    width: auto;
}

.col-zoom {
    width: 130px;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-primary);
    text-decoration: none;
}

.cert-name {
    font-weight: 500;
    text-decoration: underline;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cert-zoom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    text-decoration: underline dashed;
    font-size: 14px;
}

.cert-zoom:hover {
    text-decoration: none;
}

.coa-no-results {
    color: var(--color-primary);
    font-size: 18px;
}

@media (max-width: 1024px) {
    .data-table--coa {
        table-layout: auto;
        min-width: 900px;
    }

    .cert-name {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .coa-search-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .search-wrapper {
        width: 100%;
    }
}