@charset "UTF-8";
/**
Theme Name: Astra Child
Author: Brainstorm Force
Template: astra
Version: 1.0.0
*/

.recipe-dashboard {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.filter-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 4px;
}

.filter-sidebar h3 {
    margin-top: 0;
}

.filter-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-group {
    flex: 1 1 auto;
}

.filter-toggle {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border-radius: 4px;
}

.filter-options {
    display: none;
    padding: 0.5rem 0;
}

.filter-options label {
    display: block;
    margin: 0.3rem 0;
}

.sort-wrapper {
    margin-top: 1.5rem;
}

.sort-wrapper label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.sort-wrapper select {
    width: 100%;
    padding: 0.4rem;
}

.form-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.search-bar {
    margin-bottom: 1.5rem;
}

.search-bar form {
    display: flex;
    gap: 0.5rem;
}

.search-button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.recipe-card {
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 6px;
    background-color: #fff;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.recipe-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.recipe-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.pagination {
    margin-top: 2rem;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background: #eee;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
}

.pagination .current {
    background: #333;
    color: #fff;
}

@media (max-width: 768px) {
    .recipe-dashboard {
        flex-direction: column;
    }

    .filter-sidebar {
        width: 100%;
        order: 2;
        margin-top: 1.5rem;
    }

    .main-content {
        order: 1;
    }
}