.loading-disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.loading-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    color: #666;
    font-size: 16px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.template-card {
    transition: all 0.3s ease;
}

.template-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lazy-loading {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.lazy-loading.loaded {
    opacity: 1;
}

.template-image {
    background-color: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.filter-tag.active {
    background-color: #1677ff;
    color: white;
    border-color: #1677ff;
}

#loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
}

#loading-indicator.show {
    display: block;
}