/* Deck View UI Styles */
.deck-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.deck-view-panel {
    width: 80%;
    max-width: 1000px;
    height: 80%;
    background-color: #222;
    border: 2px solid #555;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
}

.deck-view-panel h2 {
    text-align: center;
    margin: 0 0 15px 0;
    color: #ddd;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #555;
    border-radius: 50%;
    color: #ddd;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.close-button:hover {
    background-color: rgba(255, 0, 0, 0.3);
}

.deck-stats {
    margin-bottom: 15px;
    text-align: center;
}

.deck-count {
    font-size: 18px;
    font-weight: bold;
    color: #ddd;
}

.deck-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.deck-category-btn {
    padding: 8px 15px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 5px;
    color: #ccc;
    cursor: pointer;
}

.deck-category-btn.active {
    background-color: #006699;
    color: white;
}

.deck-cards-container {
    flex-grow: 1;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 15px;
}

.deck-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

/* Additional styles for the view deck button */
#view-deck-btn {
    background: linear-gradient(to bottom, #006699, #004466);
    border-color: #0088bb;
    margin-left: 10px;
}

#view-deck-btn:hover:not([disabled]) {
    background: linear-gradient(to bottom, #0088bb, #006699);
}