/* Toolify Frontend Styles */
.toolify-latest-tools,
.toolify-all-tools-page {
    margin: 20px 0;
}

.tools-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.tool-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tool-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.tool-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.tool-card h3 a {
    text-decoration: none;
    color: #333;
}

.tool-card h3 a:hover {
    color: #0073aa;
}

.tool-thumbnail {
    margin-bottom: 15px;
    text-align: center;
}

.tool-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.tool-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tool-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* Chart Styles */
.chart-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.chart-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.chart-tab:hover {
    background: #f8f9fa;
}

.chart-tab.active {
    border-bottom-color: #0073aa;
    color: #0073aa;
    font-weight: 600;
}

.chart-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Filter Styles */
.tools-filters-sidebar {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.filter-list a:hover {
    background: #f8f9fa;
}

.filter-list a.active {
    background: #0073aa;
    color: white;
}

.filter-list .count {
    font-size: 12px;
    opacity: 0.7;
}

/* Search Form */
.tool-search-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
}

.tool-search-form button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.tool-search-form button:hover {
    background: #005a87;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools-container {
        flex-direction: column;
    }
    
    .tools-filters {
        flex: none;
        margin-bottom: 30px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-tabs {
        flex-wrap: wrap;
    }
    
    .chart-tab {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
}