.admin-actions a.btn, .admin-actions a.btn-outline {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
}

.dragging {
    outline: 2px dashed #6a0dad;
}

.meal-image-wrapper {
    position: relative;
}

.meal-container {
    max-width: 900px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', sans-serif;
}

.meal-header {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
}

.meal-meta {
    flex: 1;
}

.meal-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.meal-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #ccc;
}

.description {
    font-size: 1.1rem;
    color: #555;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.meal-details p {
    font-size: 1rem;
    color: #333;
    margin: 0.3rem 0;
}

.label {
    font-weight: bold;
    color: #6a0dad;
}

.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        font-weight: 600;
        margin-bottom: 0.3rem;
        display: block;
    }

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.buttons {
    margin-top: 1.5rem;
}

.btn,
.btn-outline {
    background-color: #6a0dad;
    color: white;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    margin: 0.4rem;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #6a0dad;
    color: #6a0dad;
}

.recipe-link {
    color: #6a0dad;
    text-decoration: underline;
    font-weight: 500;
}

.placeholder {
    color: #999;
    font-style: italic;
}

.ingredient-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.ingredient-qty {
    flex: 1 0 30%;
}

.ingredient-item {
    flex: 2 0 60%;
}

@media (max-width: 768px) {
    .meal-container {
        padding: 1rem;
    }

    .meal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .meal-meta {
        width: 100%;
    }

    .meal-title {
        font-size: 2rem;
    }

    .meal-image {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .form-control {
        font-size: 1rem;
    }

    .ingredient-row {
        flex-direction: column;
    }

    .ingredient-qty,
    .ingredient-item {
        flex: 1 0 auto;
        width: 100%;
    }

    .btn,
    .btn-outline {
        width: 100%;
        margin: 0.25rem 0;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}
.star-container {
    display: inline-flex;
    gap: 5px;
    cursor: pointer;
}

.fa-star {
    font-size: 1.5rem;
    color: #ccc;
    transition: color 0.2s ease;
}

    .fa-star.rated {
        color: #ffcc00;
    }

.slim {
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
}
