.all-auctions-page {
    min-height: 100vh;
    background: #f8f9fa;
}

/* Page Header */
.page-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.header-content h1 {
    font-size: 2.5em;
    font-weight: 800;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header-content h1 i {
    font-size: 0.9em;
}

.header-subtitle {
    font-size: 1.1em;
    opacity: 0.9;
    margin: 0;
}

/* Controls Section */
.controls-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.controls-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.control-group label {
    font-size: 0.85em;
    font-weight: 600;
    color: #495057;
}

.control-group .form-control,
.control-group .form-select {
    min-width: 140px;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95em;
}

.search-group {
    flex-grow: 1;
    min-width: 250px;
}

.search-input-wrapper {
    display: flex;
    gap: 8px;
}

.search-input-wrapper .form-control {
    flex-grow: 1;
    max-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-outline-secondary {
    background: white;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.results-summary {
    margin-top: 15px;
    padding: 0 5px;
}

.summary-text {
    color: #6c757d;
    font-size: 0.95em;
}

/* Auctions Table */
.auctions-table-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.table-responsive {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.auctions-table {
    width: 100%;
    border-collapse: collapse;
}

.auctions-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.auctions-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 700;
    color: #495057;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auctions-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.auctions-table tbody tr:hover {
    background: #f8f9fa;
}

.auction-row.row-active {
    background: #f0fff4;
}

.auction-row.row-completed {
    background: white;
}

/* Column Styles */
.col-id {
    width: 80px;
}

.auction-id {
    font-weight: 700;
    color: #667eea;
    font-family: monospace;
    font-size: 0.95em;
}

.col-image {
    width: 70px;
}

.auction-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.col-title {
    min-width: 200px;
}

.item-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 2px;
    line-height: 1.3;
}

.item-subtitle {
    font-size: 0.85em;
    color: #6c757d;
}

.col-status {
    width: 100px;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-completed {
    background: #e9ecef;
    color: #495057;
}

.col-price {
    width: 100px;
}

.price {
    font-weight: 700;
    color: #28a745;
    font-size: 1.05em;
}

.col-end {
    width: 120px;
}

.end-time {
    font-weight: 600;
    color: #212529;
}

.end-date {
    font-size: 0.8em;
    color: #6c757d;
}

.col-winner {
    width: 140px;
}

.winner-name {
    color: #667eea;
    font-weight: 600;
}

.no-winner {
    color: #adb5bd;
}

.bin-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: 700;
    margin-left: 5px;
    vertical-align: middle;
}

.col-actions {
    width: 100px;
}

.action-buttons {
    display: flex;
    gap: 6px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view {
    background: #e8f4fd;
    color: #0d6efd;
}

.btn-view:hover {
    background: #0d6efd;
    color: white;
}

.btn-bids {
    background: #f0e8fd;
    color: #667eea;
}

.btn-bids:hover {
    background: #667eea;
    color: white;
}

/* No Results Panel */
.no-results-panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 60px 20px;
    text-align: center;
}

.no-results-panel i {
    font-size: 4em;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-results-panel h3 {
    color: #495057;
    margin: 0 0 10px;
}

.no-results-panel p {
    color: #6c757d;
    margin: 0;
}

/* Pagination */
.pagination-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #495057;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-btn:hover:not(.active):not([disabled]) {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
    text-decoration: none;
}

.page-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.page-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-ellipsis {
    padding: 0 8px;
    color: #6c757d;
}

.pagination-info {
    text-align: center;
    margin-top: 15px;
}

.page-info-text {
    color: #6c757d;
    font-size: 0.9em;
}

/* Transparency Notice */
.transparency-notice {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.transparency-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #28a745;
}

.transparency-notice i {
    font-size: 2em;
    color: #28a745;
    flex-shrink: 0;
}

.transparency-notice strong {
    color: #1b5e20;
    display: block;
    margin-bottom: 5px;
}

.transparency-notice p {
    color: #2e7d32;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .controls-row {
        flex-direction: column;
        align-items: stretch;
    }

    .control-group {
        width: 100%;
    }

    .search-input-wrapper {
        flex-wrap: wrap;
    }

    .search-input-wrapper .form-control {
        max-width: none;
        width: 100%;
    }

    .auctions-table {
        font-size: 0.9em;
    }

    .col-image,
    .col-winner {
        display: none;
    }

    .header-content h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 576px) {
    .page-header-section {
        padding: 30px 15px;
    }

    .header-content h1 {
        font-size: 1.5em;
        flex-direction: column;
        gap: 10px;
    }

    .controls-section,
    .auctions-table-container,
    .pagination-section {
        padding: 15px;
    }

    .controls-row {
        padding: 15px;
    }

    .auctions-table th,
    .auctions-table td {
        padding: 10px 8px;
    }

    .col-end {
        display: none;
    }

    .col-status .status-badge {
        font-size: 0.7em;
        padding: 3px 6px;
    }

    .pagination-controls {
        gap: 3px;
    }

    .page-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 0.9em;
    }
}

/* Utility class */
.d-none {
    display: none !important;
}
