/* Custom styles for nutrition info */
.nutrition-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid #374151;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.calories-highlight {
    font-size: 2.5rem;
    font-weight: bold;
    color: #10B981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.nutrient-positive {
    color: #10B981;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.nutrient-negative {
    color: #EF4444;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.nutrient-neutral {
    color: #6B7280;
    background-color: rgba(107, 114, 128, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.nutrient-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Add consistent spacing between badges */
.nutrient-badge + .nutrient-badge {
    margin-top: 10px;
}

/* Add margin above the badge container for separation from heading */
.nutrient-badge-container {
    margin-top: 10px;
}

.loading-spinner {
    border: 3px solid #374151;
    border-top: 3px solid #3B82F6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.share-btn {
    background: #ccc;
    color: black;
    transition: all 0.2s;
}

.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(204, 204, 204, 0.3);
    background: #bbb;
}

.copy-btn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    transition: all 0.2s;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
} 