/* General container for view controls */
.view-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Checkbox for small/large covers */
.view-controls label {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* View toggle button */
.view-toggle {
    background-color: #2196F3;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-toggle i {
    font-size: 18px;
}

.view-toggle:hover {
    background-color: #1976D2;
}

.view-toggle:focus {
    outline: none;
}

/* Album cover styling */
.table-cell.album-cover-cell img.album-cover,
.table-cell.album-cover-cell img.artist-image {
    display: block;
    width: calc(100% - 4px);
    height: auto;
    padding: 2px;
    border: 1px solid #ddd;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Recipient emblem styling */
.table-cell.recipient-cell .recipient-emblem {
    padding: 10px;
    text-align: center;
}

.table-cell.recipient-cell .recipient-emblem img {
    width: 30px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* General table styling */
.table-cell {
    vertical-align: middle;
    text-align: center;
    position: relative;
}

/* Grid for cover view */
#search-filter-results.cover-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Small and large cover toggles */
.nominee-cover-small img {
    width: 50px;
    height: auto;
}

.nominee-cover-large img {
    width: 100px;
    height: auto;
}

/* Table view styling */
#search-filter-results.table-view {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.nominee-details .table-cell {
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

/* Responsive styling */
@media (min-width: 1024px) {
    #search-filter-results.cover-view {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    #search-filter-results.cover-view {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    #search-filter-results.cover-view {
        grid-template-columns: 1fr;
    }
}
