/* Genre Filter Element Styles */


.genre-filter-submit {
    padding: 15px 30px;
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.genre-filter-submit:hover {
    background-color: #0055aa;
}

/* Results Column */
.genre-filter-results {
    flex: 1;
    min-width: 0;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Skeleton Loading Cards */
.skeleton-card {
    width: 315px;
    height: 330px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.skeleton-title {
    width: 80%;
    height: 28px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
}

.skeleton-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.skeleton-badge {
    width: 70px;
    height: 24px;
    background-color: #e0e0e0;
    border-radius: 12px;
}

.skeleton-text {
    width: 100%;
    height: 14px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.medium {
    width: 85%;
}

.skeleton-link {
    width: 120px;
    height: 14px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-top: 15px;
}

