/**
 * Simple Recipe Manager - Frontend Styles
 */

.srm-recipe-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background: #f9f9f9;
    margin: 20px 0;
    max-width: 800px;
}

.srm-recipe-image {
    margin-bottom: 20px;
}

.srm-recipe-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.srm-recipe-title {
    font-size: 1.8em;
    margin: 0 0 20px 0;
    color: #333;
}

.srm-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.srm-meta-item {
    display: flex;
    flex-direction: column;
    min-width: 100px;
}

.srm-meta-label {
    font-size: 0.85em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.srm-meta-value {
    font-size: 1em;
    color: #333;
    font-weight: 600;
}

.srm-ingredients {
    margin-bottom: 25px;
}

.srm-ingredients h3,
.srm-instructions h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e67e22;
}

.srm-ingredients ul {
    list-style-type: disc;
    padding-left: 25px;
    margin: 0;
}

.srm-ingredients ul li {
    padding: 6px 0;
    color: #444;
    line-height: 1.5;
}

.srm-instructions {
    margin-bottom: 20px;
}

.srm-instructions ol {
    padding-left: 25px;
    margin: 0;
    counter-reset: step-counter;
}

.srm-instructions ol li {
    padding: 10px 0;
    color: #444;
    line-height: 1.6;
    border-bottom: 1px solid #eee;
}

.srm-instructions ol li:last-child {
    border-bottom: none;
}

.recipe-list .recipe-item {
	float:left;
	margin:10px 10px 10px 0;
}
.recipe-list a {
	color:#fff !important;
}
.recipe-item h3 {
	font-size:18px !important;
}

.recipe-list ul.recipe-meta {
	padding: 0;
}
.recipe-list .recipe-meta li {
    list-style: none;
	font-size:12px;
	display:block;
	text-align:left;
}

@media (max-width: 600px) {
    .srm-recipe-card {
        padding: 15px;
    }

    .srm-meta-grid {
        flex-direction: column;
        gap: 10px;
    }

    .srm-meta-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .srm-meta-label {
        margin-bottom: 0;
    }
}
