/* Frontend Styles for WP Recepty */

/* Recipe Card */
.inbee-recipe-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: #fff;
    margin-bottom: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.inbee-recipe-header {
    background: #f8f8f8;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.inbee-recipe-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 2em;
}

.inbee-recipe-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.inbee-tag {
    background: #fff;
    color: #666;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85em;
    border: 1px solid #ddd;
}

.inbee-recipe-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .inbee-recipe-body {
        grid-template-columns: 1fr 2fr;
    }
}

.inbee-ingredients-section h3,
.inbee-procedure-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    border-bottom: 2px solid #55e;
    display: inline-block;
    padding-bottom: 5px;
    color: #444;
}

.inbee-ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inbee-ingredients-list li {
    padding: 8px 0;
    border-bottom: 1px dotted #ccc;
    display: flex;
    gap: 5px;
}

.inbee-ing-amount {
    font-weight: bold;
    color: #55e;
}

.inbee-steps-list {
    padding-left: 20px;
}

.inbee-steps-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Filter Form */
.inbee-filter-wrapper {
    background: #fdfdfd;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
}

.inbee-filter-group {
    margin-bottom: 20px;
}

.inbee-filter-group h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.inbee-filter-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.inbee-col {
    flex: 1;
    min-width: 200px;
}

.inbee-col h5 {
    margin: 0 0 5px 0;
    font-size: 0.9em;
    color: #666;
}

.inbee-col select {
    width: 100%;
    min-height: 100px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.inbee-search-btn {
    background: #55e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}

.inbee-search-btn:hover {
    background: #44d;
}

.inbee-reset-btn {
    margin-left: 10px;
    color: #888;
    text-decoration: none;
    font-size: 0.9em;
}

.inbee-reset-btn:hover {
    color: #555;
    text-decoration: underline;
}

/* Results Grid */
.inbee-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.inbee-result-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.inbee-result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.inbee-result-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.inbee-result-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.inbee-result-item h3 {
    padding: 10px;
    margin: 0;
    font-size: 1.1em;
    text-align: center;
    color: #333;
}