/* Exercise Substitution Engine Pro Styles */

#egbongym-sub {
    max-width: 800px;
}

/* Filter Bar */
.sub-filter-bar {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.sub-filter-group {
    flex: 1;
    min-width: 200px;
}

.sub-filter-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.sub-filter-group select {
    width: 100%;
}

/* Result Cards */
#sub-result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.sub-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sub-card-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-card-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.sub-equip-badge {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.2);
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: capitalize;
}

.sub-card-body {
    padding: 15px;
}

.sub-muscle-group {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.sub-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.sub-pattern {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 600;
    text-transform: uppercase;
}

.sub-difficulty {
    font-size: 0.75rem;
    color: #f39c12;
    font-weight: bold;
}

.sub-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
}

/* Mobile */
@media (max-width: 600px) {
    #sub-result-cards {
        grid-template-columns: 1fr;
    }
    
    .sub-filter-bar {
        flex-direction: column;
    }
}

