/* EasyPlate Recipe Manager Styles */

.easyplate-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
}

.easyplate-notice a {
    color: #ff6b35;
    font-weight: 600;
    text-decoration: underline;
}

/* My Recipes */
.easyplate-my-recipes {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.easyplate-recipes-header {
    text-align: center;
    margin-bottom: 40px;
}

.easyplate-recipes-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 10px;
}

.easyplate-recipes-header p {
    font-size: 18px;
    color: #636e72;
}

/* Empty State */
.easyplate-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 16px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.easyplate-empty-state h3 {
    font-size: 28px;
    color: #2d3436;
    margin-bottom: 15px;
}

.easyplate-empty-state p {
    font-size: 16px;
    color: #636e72;
    margin-bottom: 30px;
}

.easyplate-btn-primary {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.easyplate-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

/* Recipes Grid */
.easyplate-recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.easyplate-recipe-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.easyplate-recipe-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.recipe-item-header {
    margin-bottom: 15px;
}

.recipe-item-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 8px 0;
}

.recipe-date {
    font-size: 13px;
    color: #636e72;
}

.recipe-description {
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.recipe-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.meta-item {
    font-size: 14px;
    color: #2d3436;
    font-weight: 500;
}

.recipe-actions {
    display: flex;
    gap: 10px;
}

.btn-view {
    flex: 1;
    padding: 10px 20px;
    background: #4ecdc4;
    color: white;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: #45b8b0;
    color: white;
}

.btn-delete {
    padding: 10px 20px;
    background: transparent;
    color: #d63031;
    border: 2px solid #d63031;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: #d63031;
    color: white;
}

/* Single Recipe */
.easyplate-single-recipe {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Recent Recipes */
.easyplate-recent-recipes {
    margin: 60px 0;
}

.easyplate-recent-recipes h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #2d3436;
}

.easyplate-recipe-card-mini {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.easyplate-recipe-card-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.easyplate-recipe-card-mini h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 12px 0;
}

.easyplate-recipe-card-mini p {
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-view-mini {
    color: #ff6b35;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-view-mini:hover {
    color: #e55a2b;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .easyplate-recipes-grid {
        grid-template-columns: 1fr;
    }

    .easyplate-recipes-header h2 {
        font-size: 28px;
    }

    .recipe-actions {
        flex-direction: column;
    }

    .btn-view,
    .btn-delete {
        width: 100%;
    }
}

/* Loading State */
.easyplate-loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #636e72;
}

.easyplate-loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}
