/* Collection Screen Styling - Theme Aware */

#collection-screen .container {
    margin-top: 20px;
}

#collection-screen h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 10px;
}

#collection-screen > .container > p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Search Input */
.collection-search-group {
    margin-top: 20px;
    margin-bottom: 20px;
}

.collection-search-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: var(--accent-color);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.collection-search-input:focus {
    outline: none;
    box-shadow: 0 0 15px var(--primary-color);
    background: var(--bg-light);
}

.collection-search-input::placeholder {
    color: var(--text-tertiary);
}

/* Collection Grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    min-height: 500px;
}

/* Pagination */
.collection-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    align-items: center;
}

.collection-pagination-btn {
    padding: 8px 15px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.collection-pagination-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.collection-pagination-btn:active {
    transform: scale(0.98);
}

.collection-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.collection-pagination-info {
    color: var(--text-secondary);
    min-width: 100px;
    text-align: center;
    font-weight: 500;
}

/* Back Button - Like secondary-btn */
.collection-back-button {
    width: 100%;
    margin-top: 40px;
    padding: 14px;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.collection-back-button:hover {
    background: var(--hover-bg);
    box-shadow: 0 4px 15px var(--box-shadow-color);
}

.collection-back-button:active {
    transform: scale(0.98);
}


/* Responsive */
@media (max-width: 480px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
}
