/* Home Page Styles */
/* Note: stat-card and info-card now in components.css */

/* Quick Actions */
.quick-actions {
    margin-bottom: 2rem;
}

.quick-actions h3 {
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Two Column Grid */
.two-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.two-column-grid h3 {
    margin-bottom: 1rem;
}

/* Trending Section */
.trending-section {
    margin-bottom: 2rem;
}

.trending-section h3 {
    margin-bottom: 1rem;
}

/* Content Boxes */
.content-box {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
}

.content-box h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Compact Item Styling */
.compact-item {
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.compact-item:last-child {
    border-bottom: none;
}

.compact-item:hover {
    background-color: #f8f9fa;
}

.compact-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.compact-item-title {
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    font-size: 1rem;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-item-title:hover {
    color: #667eea;
}

.compact-item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #7f8c8d;
    flex-wrap: wrap;
}

.compact-item-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.content-box p {
    margin: 0.25rem 0;
    color: #666;
}

.content-box a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.content-box a:hover {
    text-decoration: underline;
}

/* Recipe Item in Trending */
.recipe-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
}

.recipe-item:last-child {
    border-bottom: none;
}

.recipe-item h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recipe-item .ranking {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

/* Batch Item */
.batch-item,
.recipe-list-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
}

.batch-item:last-child,
.recipe-list-item:last-child {
    border-bottom: none;
}

/* Hero Section (non-logged in) */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Login Form in Hero */
.login-form {
    max-width: 400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.login-form .form-group {
    text-align: left;
    margin-bottom: 1rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

.login-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
}

.login-form .btn {
    width: 100%;
}

.login-form .register-link {
    margin-top: 1rem;
    color: white;
    font-size: 0.9rem;
}

.login-form .register-link a {
    color: white;
    text-decoration: underline;
}

.error-message {
    background: rgba(255, 0, 0, 0.2);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}