/* DFA Fish Data — WordPress Plugin Styles */

.dfa-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    font-size: 0.9rem;
}

.dfa-table th,
.dfa-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.dfa-table th {
    background: #f5f5f5;
    font-weight: 600;
    border-bottom: 2px solid #ccc;
}

.dfa-table .dfa-right {
    text-align: right;
}

.dfa-table .dfa-total-row td {
    font-weight: 700;
    border-top: 2px solid #333;
    background: #f9f9f9;
}

.dfa-auction-block {
    margin-bottom: 2em;
}

.dfa-auction-block h3 {
    margin-bottom: 0.5em;
}

.dfa-ship-list {
    font-size: 0.85rem;
    margin-bottom: 1em;
    color: #555;
}

.dfa-ship-detail {
    margin: 0.5em 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.dfa-ship-detail summary {
    padding: 8px 12px;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
}

.dfa-ship-detail[open] summary {
    border-bottom: 1px solid #e0e0e0;
}

.dfa-date-nav {
    margin-bottom: 1em;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dfa-date-btn {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

.dfa-date-btn.dfa-date-active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.dfa-no-data {
    padding: 1em;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

.dfa-prices-wrapper,
.dfa-supply-wrapper,
.dfa-expected-wrapper {
    overflow-x: auto;
}

/* Flexbox Table Layout (Card) */
.card {
    background: #fff;
    box-shadow: 0 0 0 1px #afafaf;
    overflow: hidden;
    width: 100%;
}

.card .tableHeader,.cardBorder {
    border-radius: 10px 10px 0 0;
}

.card .tableHeader {
    background: #1f3864;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 16px;
    text-align: center;
}

.card .col-header {
    background: #a6bbca;
    color: #1f3864;
    display: flex;
    font-weight: 700;
    padding: 10px 16px;
}

.card .tablerow {
    border-bottom: 1px solid #afafaf;
    color: #333;
    display: flex;
    padding: 10px 16px;
}

.card .tablerow:last-child {
    border-bottom: 0;
}

.card .tablerow:nth-child(odd) {
    background: #fff;
}

.card .tablerow:nth-child(2n) {
    background: #dbe6ee;
}

.card .tablerow:hover {
    box-shadow: inset 0 0 16px rgba(0,0,0,.3);
}

.card .tablerow.total {
    background: #a6bbca;
    font-weight: 700;
}

.card .col-art {
    flex: 2;
    text-align: left;
}

.card .col-sort {
    flex: 1;
    text-align: center;
}

.card .col-kg,.card .col-max,.card .col-pris {
    flex: 1;
    text-align: right;
}
