/* Section titles */
.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--font-color-dark-gray);
    margin-top: 1.5rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

/* Theme Cards */
.theme-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.theme-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.theme-card.active {
    border: 2px solid var(--primary-color);
}

/* Theme Preview */
.theme-preview {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 180px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

/* Preview Components */
.preview-header {
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.preview-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-block {
    height: 25px;
    margin-bottom: 10px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Theme Types */
.default-theme {
    background-color: #f8f9fa;
    color: #212529;
}

.default-theme .preview-header {
    background-color: white;
}

.dark-theme {
    background-color: #212529;
    color: #f8f9fa;
}

.dark-theme .preview-header {
    background-color: #343a40;
}

/* Currency Badge */
.currency-badge {
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: inline-block;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.currency-badge i {
    font-size: 1.1rem;
    color: #FFD700;
}

/* Background Cards */
.bg-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.bg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.bg-card.active {
    border: 2px solid var(--primary-color);
}

/* Background Preview */
.bg-preview {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 180px;
    overflow: hidden;
}

.bg-preview img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 8px 8px 0 0;
    transition: transform 0.5s ease;
}

.bg-card:hover .bg-preview img {
    transform: scale(1.05);
}

/* Card Footer */
.card-footer {
    background-color: #f8f9fa;
    padding: 12px;
    font-size: 14px;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

.theme-name, .bg-name {
    font-weight: 500;
    color: var(--font-color-dark-gray);
}

/* Buttons */
.apply-theme-btn, .apply-bg-btn, .buy-theme-btn, .buy-bg-btn {
    transition: all 0.2s ease;
    padding: 6px 14px;
}

.buy-theme-btn:hover, .buy-bg-btn:hover {
    transform: scale(1.05);
}

/* Locked Items */
.locked {
    position: relative;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    z-index: 1;
}

.lock-overlay i.fa-lock {
    font-size: 2rem;
    margin-bottom: 10px;
}


/* Responsive adjustments */
@media (max-width: 576px) {
    .theme-preview, .bg-preview {
        min-height: 150px;
    }
    
    .theme-name, .bg-name {
        font-size: 0.9rem;
    }
    
    .apply-theme-btn, .apply-bg-btn, .buy-theme-btn, .buy-bg-btn {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .preview-header {
        padding: 8px;
        font-size: 14px;
    }
    
    .preview-content {
        padding: 8px;
    }
    
    .preview-block {
        height: 20px;
        margin-bottom: 8px;
    }
}
